/* Customer login + loyalty sign-in card. Loaded with gp-home.css. */

.gp-auth-main {
    padding: 3.2rem 0 4.6rem;
    background: var(--gp-mist);
}

.gp-auth-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 1.4rem;
    align-items: stretch;
    max-width: 980px;
    margin: 0 auto;
}

.gp-auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1.8rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(247, 110, 40, 0.28), transparent 42%),
        linear-gradient(160deg, var(--gp-navy), var(--gp-navy-deep));
    color: #fff;
}

.gp-auth-aside h2 {
    margin: 0 0 0.7rem;
    color: #fff;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
}

.gp-auth-aside p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.7;
}

.gp-auth-aside__copy {
    flex: 1;
    margin: 1.15rem 0 1.35rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.98rem;
    line-height: 1.8;
}

.gp-auth-aside ul {
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.gp-auth-aside li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    font-weight: 600;
}

.gp-auth-aside li i {
    margin-top: 0.15rem;
    color: var(--gp-orange-bright);
}

.gp-auth-card {
    padding: 1.85rem 1.7rem 1.6rem;
    border: 1px solid var(--gp-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(4, 37, 80, 0.08);
}

.gp-auth-card__head {
    margin-bottom: 1.25rem;
}

.gp-auth-card__head h2,
.gp-auth-card__head h3 {
    margin: 0 0 0.35rem;
    color: var(--gp-navy-deep);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
}

.gp-auth-card__head p {
    margin: 0;
    color: var(--gp-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.gp-auth-alert {
    margin-bottom: 1rem;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    font-size: 0.88rem;
}

.gp-auth-alert--ok {
    background: #e8f7ee;
    color: #146c2e;
}

.gp-auth-alert--err {
    background: #fdecea;
    color: #8a1f11;
}

.gp-auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.95rem;
}

.gp-auth-field label {
    color: var(--gp-navy-deep);
    font-size: 0.82rem;
    font-weight: 750;
}

.gp-auth-field input[type="email"],
.gp-auth-field input[type="password"],
.gp-auth-field input[type="text"],
.gp-auth-field input[type="tel"] {
    width: 100%;
    min-height: 2.95rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--gp-line);
    border-radius: 12px;
    background: var(--gp-mist);
    color: #24344a;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gp-auth-field input.is-invalid {
    border-color: #d64545;
    background: #fff7f7;
}

.gp-auth-error {
    color: #8a1f11;
    font-size: 0.8rem;
    font-weight: 600;
}

.gp-auth-section {
    margin: 0.35rem 0 0.85rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--gp-line);
    color: var(--gp-navy-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gp-auth-card__head + form .gp-auth-section:first-of-type,
.gp-auth-alert + form .gp-auth-section:first-of-type,
form > .gp-auth-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.gp-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 0.85rem;
}

.gp-auth-optional {
    color: var(--gp-muted);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.gp-auth-password {
    position: relative;
}

.gp-auth-password input {
    padding-right: 2.75rem;
}

.gp-auth-password__toggle {
    position: absolute;
    top: 50%;
    right: 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gp-muted);
    cursor: pointer;
}

.gp-auth-password__toggle:hover,
.gp-auth-password__toggle:focus-visible {
    color: var(--gp-navy);
    background: rgba(18, 62, 116, 0.08);
}

.gp-auth-hint {
    font-size: 0.8rem;
    font-weight: 650;
}

.gp-auth-hint--ok {
    color: #146c2e;
}

.gp-auth-hint--err {
    color: #8a1f11;
}

.gp-auth-check--terms {
    align-items: flex-start;
    margin: 0.35rem 0 1.15rem;
    line-height: 1.45;
}

.gp-auth-check--terms input {
    margin-top: 0.2rem;
    flex: 0 0 auto;
}

.gp-auth-wrap--register {
    max-width: 1040px;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
}

.gp-auth-wrap--compact {
    max-width: 920px;
}

.gp-auth-alert__list {
    margin: 0.45rem 0 0;
    padding-left: 1.15rem;
}

.gp-auth-alert__list li {
    margin-bottom: 0.2rem;
}

@media (max-width: 991.98px) {
    .gp-auth-wrap,
    .gp-auth-wrap--register,
    .gp-auth-wrap--compact {
        grid-template-columns: 1fr;
    }

    .gp-auth-wrap .gp-auth-card,
    .gp-auth-wrap--register .gp-auth-card,
    .gp-auth-wrap--compact .gp-auth-card {
        order: -1;
    }
}

@media (max-width: 575.98px) {
    .gp-auth-grid {
        grid-template-columns: 1fr;
    }
}

.gp-auth-field input:focus {
    outline: none;
    border-color: var(--gp-orange);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(247, 110, 40, 0.16);
}

.gp-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin: 0.2rem 0 1.15rem;
    flex-wrap: wrap;
}

.gp-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--gp-navy);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.gp-auth-check input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--gp-orange);
}

.gp-auth-card a {
    color: var(--gp-orange-hot);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.gp-auth-card a:hover {
    text-decoration: underline;
}

.gp-auth-card .gp-btn,
.gp-auth-card .gp-btn--solid {
    width: 100%;
    border: 1px solid #f76e28;
    background: linear-gradient(180deg, #ff8533, #f76e28);
    color: #fff;
    box-shadow: 0 8px 18px rgba(247, 110, 40, 0.32);
}

.gp-auth-card .gp-btn:hover,
.gp-auth-card .gp-btn:focus-visible,
.gp-auth-card .gp-btn--solid:hover {
    border-color: #ff6b00;
    background: #ff6b00;
    color: #fff;
}

.gp-auth-foot {
    margin-top: 1rem;
    text-align: center;
    color: #123e74;
    font-size: 0.9rem;
    font-weight: 600;
}

.gp-loyalty-hero .gp-auth-card p,
.gp-loyalty-hero .gp-auth-foot {
    color: #123e74;
}

.gp-loyalty-hero {
    padding: 6.4rem 0 4.4rem;
    background:
        radial-gradient(circle at top right, rgba(247, 110, 40, 0.22), transparent 36%),
        linear-gradient(160deg, var(--gp-navy-deep), var(--gp-navy));
    text-align: center;
}

.gp-loyalty-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.6rem;
    align-items: center;
}

.gp-loyalty-hero .gp-kicker {
    background: rgba(247, 110, 40, 0.18);
    color: #ffd7bf;
}

.gp-loyalty-hero h1 {
    margin: 0 0 0.8rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.12;
}

.gp-loyalty-hero__copy p {
    margin: 0 auto;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    line-height: 1.75;
}

@media (max-width: 991.98px) {
    .gp-auth-wrap,
    .gp-loyalty-hero__grid {
        grid-template-columns: 1fr;
    }

    .gp-loyalty-hero {
        padding: 5.4rem 0 3.2rem;
        text-align: center;
    }

    .gp-loyalty-hero__copy p {
        margin-left: auto;
        margin-right: auto;
    }
}
