.auth-page {
    width: min(100% - 32px, 1180px);
    margin: 48px auto 80px;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    min-height: 620px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(201, 169, 110, 0.18), transparent 34%),
        var(--bg2);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.auth-panel {
    padding: clamp(28px, 5vw, 56px);
}

.auth-panel-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    border-right: 1px solid var(--border);
}

.auth-panel-info::before {
    content: '';
    position: absolute;
    inset: 28px;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius-lg) - 4px);
    pointer-events: none;
    opacity: 0.7;
}

.auth-kicker {
    position: relative;
    z-index: 1;
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.auth-panel-info h1 {
    position: relative;
    z-index: 1;
    max-width: 520px;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.auth-panel-info p {
    position: relative;
    z-index: 1;
    max-width: 460px;
    color: var(--muted);
    margin-top: 16px;
    font-size: 15px;
}

.auth-benefits {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin-top: 34px;
    max-width: 420px;
}

.auth-benefits div {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
    font-size: 13px;
}

.auth-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.025);
}

.auth-card-head {
    margin-bottom: 26px;
}

.auth-card-head h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.auth-card-head p {
    color: var(--muted);
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.auth-field label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg3);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-input::placeholder {
    color: var(--muted2);
}

.auth-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.10);
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.auth-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

.auth-submit {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: var(--bg);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-submit:hover {
    background: var(--accent2);
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(201, 169, 110, 0.22);
}

.auth-switch {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    margin-top: 4px;
}

.auth-switch a {
    color: var(--accent);
    font-weight: 600;
}

.auth-error {
    color: var(--red);
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 920px) {
    .auth-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .auth-panel-info {
        border-right: none;
        border-bottom: 1px solid var(--border);
        justify-content: flex-start;
    }

    .auth-panel-info::before {
        display: none;
    }

    .auth-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .auth-page {
        width: min(100% - 24px, 1180px);
        margin: 28px auto 56px;
    }

    .auth-panel {
        padding: 24px;
    }

    .auth-card-head h2 {
        font-size: 1.8rem;
    }

    .auth-panel-info h1 {
        font-size: 2.2rem;
    }
}
/* Phone verification and profile controls */
.auth-otp {letter-spacing: .34em; font-size: 1.25rem; font-variant-numeric: tabular-nums;}
.auth-resend {margin-top: 18px; text-align: center;}
.auth-resend button {border: 0; padding: 10px; color: var(--accent); cursor: pointer; background: transparent; font: inherit;}
.auth-resend button:hover {text-decoration: underline;}
.auth-note {font-size: 13px; color: var(--muted);}
.auth-panel-info a {color: var(--accent);}
