﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0d2137;
    --navy2: #152e4d;
    --navy3: #1e4068;
    --gold: #f0c419;
    --gold2: #e8a020;
    --gold3: #fad55c;
    --gold-glow: rgba(240,196,25,.25);
    --white: #ffffff;
    --off: #f7f5ef;
    --muted: rgba(255,255,255,.48);
    --border: rgba(255,255,255,.10);
    --ease: .28s cubic-bezier(.4,0,.2,1);
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════
   LAYOUT SHELL
   ════════════════════════════ */
.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    height: 100dvh;
    background: var(--navy);
    overflow: hidden;
}

/* ════════════════════════════
   LEFT PANEL
   ════════════════════════════ */
.auth-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Explicit, equal top+bottom padding so stats never overflow */
    padding: clamp(1.8rem, 4vh, 3rem) clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(145deg, var(--navy2) 0%, var(--navy) 60%, #080f1a 100%);
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

    /* Decorative orbs */
    .auth-left::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(240,196,25,.12) 0%, transparent 65%);
        top: -120px;
        right: -120px;
        pointer-events: none;
    }

    .auth-left::after {
        content: '';
        position: absolute;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(30,64,104,.9) 0%, transparent 68%);
        bottom: -80px;
        left: -80px;
        pointer-events: none;
    }

/* Dot grid */
.dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* Logo */
.auth-logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.auth-logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px var(--gold-glow);
}

    .auth-logo-mark i {
        color: var(--navy);
        font-size: 1rem;
    }

.auth-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.auth-logo-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    color: var(--white);
    letter-spacing: .01em;
}

.auth-logo-sub {
    font-size: .52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: rgba(255,255,255,.3);
    margin-top: 2px;
}

/* Hero (middle, flex-grow) */
.auth-hero {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(.8rem, 2vh, 1.6rem) 0;
    min-height: 0;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(240,196,25,.1);
    border: 1px solid rgba(240,196,25,.25);
    color: var(--gold3);
    padding: .28rem .8rem;
    border-radius: 100px;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: clamp(.8rem, 2vh, 1.4rem);
    width: fit-content;
    animation: fadeUp .6s ease both;
}

.auth-headline {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: clamp(.5rem, 1.5vh, 1rem);
    animation: fadeUp .6s .08s ease both;
}

    .auth-headline em {
        color: var(--gold3);
        font-style: italic;
    }

.auth-sub {
    font-size: clamp(.78rem, 1.1vw, .9rem);
    color: var(--muted);
    line-height: 1.7;
    max-width: 380px;
    margin-bottom: clamp(.8rem, 2vh, 1.8rem);
    animation: fadeUp .6s .16s ease both;
}

.auth-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: clamp(.45rem, 1.2vh, .7rem);
    animation: fadeUp .6s .24s ease both;
}

.auth-feat {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .8rem;
    color: rgba(255,255,255,.65);
    font-weight: 500;
}

.auth-feat-dot {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(240,196,25,.12);
    border: 1px solid rgba(240,196,25,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .auth-feat-dot i {
        color: var(--gold);
        font-size: .62rem;
    }

/* Stats (bottom) */
.auth-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1.4rem;
    flex-shrink: 0;
    animation: fadeUp .6s .32s ease both;
}

.auth-stat {
    display: flex;
    flex-direction: column;
}

.auth-stat-val {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: var(--gold);
    line-height: 1;
}

.auth-stat-lbl {
    font-size: .58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.3);
    margin-top: 3px;
}

.auth-stat-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}

/* ════════════════════════════
   RIGHT PANEL — SIGN IN (base)
   ════════════════════════════ */
.auth-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off);
    padding: clamp(1.5rem, 4vw, 3rem);
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

    .auth-right::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 50%, var(--navy) 100%);
    }

    .auth-right::after {
        content: '';
        position: absolute;
        bottom: -60px;
        right: -60px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(13,33,55,.06) 0%, transparent 68%);
        pointer-events: none;
    }

.auth-form-wrap {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    animation: fadeRight .6s .1s ease both;
}

/* Form header */
.auth-form-header {
    margin-bottom: clamp(1rem, 2.5vh, 1.8rem);
}

.auth-form-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--navy3);
    background: rgba(13,33,55,.07);
    border: 1px solid rgba(13,33,55,.12);
    padding: .28rem .75rem;
    border-radius: 100px;
    margin-bottom: .8rem;
}

.auth-form-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: .35rem;
}

    .auth-form-title em {
        color: var(--gold2);
        font-style: italic;
    }

.auth-form-desc {
    font-size: .8rem;
    color: #6b7b8d;
    font-weight: 400;
}

/* Divider */
.auth-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13,33,55,.12), transparent);
    margin-bottom: clamp(.9rem, 2.2vh, 1.5rem);
}

/* Alerts */
.auth-alerts {
    margin-bottom: .8rem;
}

/* Field */
.auth-field {
    margin-bottom: clamp(.7rem, 1.8vh, 1.1rem);
}

.auth-label {
    display: block;
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #4a5a6a;
    margin-bottom: .42rem;
}

/* Input group */
.auth-input-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #dde3ef;
    border-radius: 10px;
    background: var(--white);
    transition: border-color var(--ease), box-shadow var(--ease);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(13,33,55,.04);
}

    .auth-input-group:focus-within {
        border-color: var(--navy2);
        box-shadow: 0 0 0 3px rgba(13,33,55,.08), 0 1px 3px rgba(13,33,55,.06);
    }

.auth-input-icon {
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-right: 1.5px solid #eef1f6;
    flex-shrink: 0;
}

    .auth-input-icon i {
        font-size: .78rem;
        color: #8a9baf;
        transition: color var(--ease);
    }

.auth-input-group:focus-within .auth-input-icon i {
    color: var(--navy2);
}

.auth-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 .85rem;
    font-family: 'Outfit', sans-serif;
    font-size: .85rem;
    font-weight: 500;
    color: var(--navy);
    background: transparent;
    height: 44px;
}

    .auth-input::placeholder {
        color: #b0bccc;
        font-weight: 400;
    }

.auth-pwd-toggle {
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    border-left: 1.5px solid #eef1f6;
    color: #8a9baf;
    transition: color var(--ease), background var(--ease);
    flex-shrink: 0;
}

    .auth-pwd-toggle:hover {
        color: var(--navy2);
        background: #f8fafc;
    }

    .auth-pwd-toggle i {
        font-size: .78rem;
    }

.auth-validation {
    display: block;
    font-size: .7rem;
    color: #e53e3e;
    margin-top: .3rem;
    font-weight: 500;
}

/* Remember/forgot row */
.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(.8rem, 2vh, 1.3rem);
}

.auth-check-wrap {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

.auth-check {
    width: 16px;
    height: 16px;
    border: 1.5px solid #c8d2dd;
    border-radius: 4px;
    accent-color: var(--navy2);
    cursor: pointer;
}

.auth-check-label {
    font-size: .75rem;
    color: #6b7b8d;
    font-weight: 500;
    user-select: none;
}

.auth-forgot {
    font-size: .75rem;
    font-weight: 700;
    color: var(--navy2);
    text-decoration: none;
    transition: color var(--ease);
}

    .auth-forgot:hover {
        color: var(--gold2);
    }

/* Submit button */
.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    height: 48px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
    box-shadow: 0 4px 18px rgba(13,33,55,.22);
    margin-bottom: clamp(.6rem, 1.5vh, 1rem);
    position: relative;
    overflow: hidden;
}

    .auth-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, transparent 50%, rgba(240,196,25,.15) 100%);
        opacity: 0;
        transition: opacity var(--ease);
    }

    .auth-btn:hover {
        background: var(--navy2);
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(13,33,55,.32);
    }

        .auth-btn:hover::before {
            opacity: 1;
        }

    .auth-btn:active {
        transform: translateY(0);
    }

    .auth-btn:disabled {
        opacity: .65;
        cursor: not-allowed;
        transform: none;
    }

/* Return link */
.auth-return {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-size: .75rem;
    color: #8a9baf;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--ease);
    padding: .4rem;
}

    .auth-return:hover {
        color: var(--navy);
    }

    .auth-return i {
        font-size: .65rem;
    }

/* Spin animation */
.fa-spin-custom {
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(22px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ════════════════════════════
   MOBILE — stack, form only
   ════════════════════════════ */
@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        height: 100vh;
        height: 100dvh;
        padding: 1.5rem 1.25rem;
        background: linear-gradient(160deg, var(--navy2) 0%, var(--navy) 40%, #070f1c 100%);
        align-items: center;
        overflow-y: auto;
    }

        .auth-right::before {
            height: 2px;
        }

    .auth-form-wrap {
        max-width: 420px;
    }

    .auth-form-tag {
        background: rgba(240,196,25,.1);
        border-color: rgba(240,196,25,.2);
        color: var(--gold3);
    }

    .auth-form-title {
        color: var(--white);
    }

        .auth-form-title em {
            color: var(--gold3);
        }

    .auth-form-desc {
        color: rgba(255,255,255,.5);
    }

    .auth-divider {
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    }

    .auth-label {
        color: rgba(255,255,255,.5);
    }

    .auth-input-group {
        border-color: rgba(255,255,255,.14);
        background: rgba(255,255,255,.07);
    }

        .auth-input-group:focus-within {
            border-color: rgba(240,196,25,.5);
            box-shadow: 0 0 0 3px rgba(240,196,25,.08);
        }

    .auth-input-icon {
        background: rgba(255,255,255,.04);
        border-right-color: rgba(255,255,255,.1);
    }

        .auth-input-icon i {
            color: rgba(255,255,255,.35);
        }

    .auth-input-group:focus-within .auth-input-icon i {
        color: var(--gold3);
    }

    .auth-input {
        color: var(--white);
        background: transparent;
    }

        .auth-input::placeholder {
            color: rgba(255,255,255,.25);
        }

    .auth-pwd-toggle {
        border-left-color: rgba(255,255,255,.1);
        color: rgba(255,255,255,.35);
    }

        .auth-pwd-toggle:hover {
            color: var(--gold3);
            background: rgba(255,255,255,.04);
        }

    .auth-check-label {
        color: rgba(255,255,255,.5);
    }

    .auth-check {
        border-color: rgba(255,255,255,.25);
        background: rgba(255,255,255,.06);
    }

    .auth-forgot {
        color: var(--gold3);
    }

        .auth-forgot:hover {
            color: var(--gold);
        }

    .auth-btn {
        background: var(--gold);
        color: var(--navy);
        box-shadow: 0 4px 18px rgba(240,196,25,.3);
    }

        .auth-btn:hover {
            background: var(--gold3);
            box-shadow: 0 8px 28px rgba(240,196,25,.45);
        }

    .auth-return {
        color: rgba(255,255,255,.35);
    }

        .auth-return:hover {
            color: rgba(255,255,255,.7);
        }

    .auth-mobile-logo {
        display: flex;
        align-items: center;
        gap: .65rem;
        margin-bottom: clamp(1rem, 3vh, 1.8rem);
    }

    .auth-mobile-logo-mark {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .auth-mobile-logo-mark i {
            color: var(--navy);
            font-size: .9rem;
        }

    .auth-mobile-logo-name {
        font-family: 'DM Serif Display', serif;
        font-size: .95rem;
        color: var(--white);
    }

    .auth-mobile-logo-sub {
        font-size: .48rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .16em;
        color: rgba(255,255,255,.28);
        display: block;
    }
}

.auth-mobile-logo {
    display: none;
}

@media (max-width: 900px) {
    .auth-mobile-logo {
        display: flex;
    }
}

@media (max-width: 380px) {
    .auth-right {
        padding: 1.25rem 1rem;
    }

    .auth-headline {
        font-size: 1.5rem;
    }

    .auth-form-title {
        font-size: 1.4rem;
    }

    .auth-input {
        font-size: .8rem;
        height: 40px;
    }

    .auth-btn {
        height: 44px;
        font-size: .78rem;
    }

    .auth-field {
        margin-bottom: .65rem;
    }
}


/* ══════════════════════════════════════════════════════
   REGISTER PAGE — Beautiful 2-col, fixed, no scroll
   ══════════════════════════════════════════════════════ */

.auth-right-register {
    overflow: hidden;
    padding: clamp(1.2rem, 3vw, 2.5rem);
}

    /* Wider wrap for 2-col layout */
    .auth-right-register .auth-form-wrap {
        max-width: 520px;
        width: 100%;
    }

    /* Tighter header */
    .auth-right-register .auth-form-header {
        margin-bottom: .55rem;
    }

    .auth-right-register .auth-form-tag {
        padding: .2rem .6rem;
        margin-bottom: .4rem;
        font-size: .57rem;
    }

    .auth-right-register .auth-form-title {
        font-size: clamp(1.3rem, 2.5vw, 1.75rem);
        margin-bottom: .15rem;
    }

    .auth-right-register .auth-form-desc {
        font-size: .74rem;
    }

    .auth-right-register .auth-divider {
        margin-bottom: .6rem;
    }

/* ── Account Type Cards ── */
.auth-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .55rem;
    margin-bottom: .65rem;
}

.auth-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .18rem;
    padding: .7rem .5rem .6rem;
    border: 1.5px solid #e2e8f2;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease), box-shadow var(--ease), transform var(--ease);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}
    /* Gold top bar on active */
    .auth-type-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--gold2), var(--gold));
        border-radius: 12px 12px 0 0;
        transform: scaleX(0);
        transition: transform var(--ease);
    }

    .auth-type-card.active::before {
        transform: scaleX(1);
    }

    /* Shimmer fill on active */
    .auth-type-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(150deg, rgba(240,196,25,.05) 0%, rgba(21,46,77,.03) 100%);
        opacity: 0;
        transition: opacity var(--ease);
        pointer-events: none;
    }

    .auth-type-card.active::after {
        opacity: 1;
    }

    .auth-type-card i {
        font-size: .95rem;
        color: #a0aec0;
        transition: color var(--ease), transform var(--ease);
        position: relative;
        z-index: 1;
    }

    .auth-type-card span {
        font-size: .72rem;
        font-weight: 700;
        color: var(--navy);
        letter-spacing: .01em;
        transition: color var(--ease);
        position: relative;
        z-index: 1;
    }

    .auth-type-card small {
        font-size: .57rem;
        color: #a0aec0;
        font-weight: 500;
        transition: color var(--ease);
        position: relative;
        z-index: 1;
    }

    .auth-type-card:hover {
        border-color: rgba(21,46,77,.3);
        background: #fafbfc;
        transform: translateY(-2px);
        box-shadow: 0 5px 16px rgba(13,33,55,.09);
    }

    .auth-type-card.active {
        border-color: var(--navy2);
        background: rgba(13,33,55,.02);
        box-shadow: 0 0 0 3px rgba(21,46,77,.09), 0 4px 14px rgba(13,33,55,.1);
        transform: translateY(-1px);
    }

        .auth-type-card.active i {
            color: var(--navy2);
            transform: scale(1.12);
        }

        .auth-type-card.active span {
            color: var(--navy2);
        }

        .auth-type-card.active small {
            color: var(--navy3);
        }

/* ── 2-Column form grid ── */
.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .48rem .6rem;
    margin-bottom: .55rem;
}

    .auth-form-grid .auth-field-full {
        grid-column: 1 / -1;
    }

/* Compact field spacing inside grid */
.auth-right-register .auth-field {
    margin-bottom: 0;
}

.auth-right-register .auth-label {
    font-size: .57rem;
    margin-bottom: .26rem;
    letter-spacing: .1em;
    color: #5a6a7a;
}

.auth-right-register .auth-validation {
    font-size: .6rem;
    margin-top: .16rem;
}

/* Smaller, polished inputs */
.auth-right-register .auth-input-group {
    border-radius: 9px;
    border: 1.5px solid #e4eaf3;
    box-shadow: 0 1px 3px rgba(13,33,55,.05), inset 0 1px 0 rgba(255,255,255,.8);
    background: #fff;
}

    .auth-right-register .auth-input-group:focus-within {
        border-color: var(--navy2);
        box-shadow: 0 0 0 3px rgba(21,46,77,.09), 0 1px 3px rgba(13,33,55,.06);
    }

.auth-right-register .auth-input-icon {
    width: 34px;
    background: linear-gradient(180deg, #fafbfc 0%, #f3f6fa 100%);
    border-right: 1.5px solid #e8edf4;
    border-radius: 7px 0 0 7px;
}

.auth-right-register .auth-input-group:focus-within .auth-input-icon {
    background: rgba(21,46,77,.03);
    border-right-color: rgba(21,46,77,.1);
}

    .auth-right-register .auth-input-group:focus-within .auth-input-icon i {
        color: var(--navy2);
    }

.auth-right-register .auth-input {
    height: 37px;
    font-size: .8rem;
    padding: 0 .65rem;
}

.auth-right-register .auth-pwd-toggle {
    width: 34px;
    border-left: 1.5px solid #e8edf4;
    border-radius: 0 7px 7px 0;
}

/* ── Phone (intl-tel-input) ── */
.iti {
    width: 100%;
    display: block;
}

.iti__flag-container {
    border-right: 1.5px solid #e8edf4;
}

.iti--separate-dial-code .iti__selected-flag {
    background: linear-gradient(180deg, #fafbfc 0%, #f3f6fa 100%);
    border-radius: 7px 0 0 7px;
    padding: 0 .5rem;
}

.iti__selected-dial-code {
    font-family: 'Outfit', sans-serif;
    font-size: .79rem;
    color: var(--navy);
    font-weight: 500;
}

.auth-input.iti__tel-input {
    border-radius: 0 7px 7px 0;
    padding-left: .65rem;
}

.auth-input-group.phone-group {
    padding: 0;
    overflow: visible;
    border: none;
    background: transparent;
    box-shadow: none;
}

    .auth-input-group.phone-group .iti {
        border: 1.5px solid #e4eaf3;
        border-radius: 9px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(13,33,55,.05), inset 0 1px 0 rgba(255,255,255,.8);
        transition: border-color var(--ease), box-shadow var(--ease);
        height: 37px;
        display: flex;
        align-items: stretch;
    }

        .auth-input-group.phone-group:focus-within .iti,
        .auth-input-group.phone-group .iti:focus-within {
            border-color: var(--navy2);
            box-shadow: 0 0 0 3px rgba(21,46,77,.09);
        }

    .auth-input-group.phone-group .auth-input {
        height: 35px;
    }

/* ── Submit button ── */
.auth-right-register .auth-btn {
    height: 42px;
    font-size: .79rem;
    margin-bottom: 0;
    margin-top: .3rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 100%);
    box-shadow: 0 4px 18px rgba(13,33,55,.28);
    letter-spacing: .1em;
}

    .auth-right-register .auth-btn:hover {
        background: linear-gradient(135deg, var(--navy3) 0%, var(--navy2) 100%);
        box-shadow: 0 8px 26px rgba(13,33,55,.38);
        transform: translateY(-2px);
    }

/* ── Terms + sign-in footer ── */
.auth-terms {
    font-size: .62rem;
    color: #8a9baf;
    text-align: center;
    line-height: 1.55;
    margin-top: .42rem;
}

    .auth-terms a {
        color: var(--navy2);
        font-weight: 600;
        text-decoration: none;
    }

        .auth-terms a:hover {
            text-decoration: underline;
        }

.auth-signin-link {
    text-align: center;
    margin-top: .36rem;
    font-size: .72rem;
    color: #8a9baf;
    font-weight: 500;
}

    .auth-signin-link a {
        color: var(--navy2);
        font-weight: 700;
        text-decoration: none;
        margin-left: .2rem;
    }

        .auth-signin-link a:hover {
            text-decoration: underline;
        }

/* ── Responsive: collapse to 1 col on small ── */
@media (max-width: 520px) {
    .auth-form-grid {
        grid-template-columns: 1fr;
    }

    .auth-right-register .auth-form-wrap {
        max-width: 100%;
    }
}
