/* Partner auth pages (/affiliate/signup, /login, /login/2fa, /verify-email, /forgot-password, /reset-password,
   /pending, /close-account): the site's login split layout (login.css, copied — never linked, SKILL rule 1) with the
   program's value props in the left panel, plus the employer registration field rules (registration-employer.css)
   and the 6-digit code boxes. Linked by affiliate/auth/partials/open.phtml. */

/* ===== Copied from public/new-design/css/login.css ===== */
/* ============================================================
   LOGIN V8 — Two-Tone Card: Tinted Header Zone + White Form Zone
   Left testimonial slider (V9 crossfade) + right form card.
   Header/nav and footer are provided by the new-design layout.
   ============================================================ */

/* ---------- PAGE LAYOUT ---------- */
.v8-page {
    display: flex;
    min-height: calc(100vh - 56px);
}

/* ==========================================================
   LEFT PANEL — Testimonial content (shared by slider)
   ========================================================== */
.v5-left {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    overflow: hidden;
    background: #265CFF;
}

.v5-left__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 44px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
}

.v5-left__name {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
    line-height: 1.2;
}

.v5-left__role {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px;
}

.v5-left__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.v5-left__rating-score {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.v5-left__stars {
    display: flex;
    gap: 2px;
}

.v5-left__star {
    width: 18px;
    height: 18px;
    color: #facc15;
}

.v5-left__quote {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    margin: 0;
    max-width: 480px;
}

/* ==========================================================
   V9 SLIDER — Crossfade testimonial slider
   ========================================================== */
.v9-slider {
    position: relative;
    overflow: hidden;
}

.v9-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.v9-slider__track.is-dragging {
    cursor: grabbing;
}

.v9-slider__slide {
    position: absolute;
    inset: 0;
    /* JW-3636: 0.001, not 0. The inactive slides sit fully behind the active one (z-index), so this
       looks identical, but the browser now counts their photos as painted at load. With opacity 0
       each photo was first "painted" when the slider rotated to it 5s later, and on phones that
       rotation was recorded as the page's Largest Contentful Paint (9.6s). */
    opacity: 0.001;
    transition: opacity 0.7s ease;
    pointer-events: none;
    z-index: 1;
}

.v9-slider__slide--active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.v9-slider__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center 30%;
}

.v9-slider__nav {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 10;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    gap: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.v9-slider__dots {
    display: flex;
    align-items: center;
    gap: 2px;
}

.v9-slider__dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    position: relative;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.v9-slider__dot::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.25s ease;
}

.v9-slider__dot:hover::before {
    background: rgba(255, 255, 255, 0.7);
}

.v9-slider__dot--active::before {
    background: #ffffff;
    width: 7px;
    height: 7px;
}

/* ---- Testimonial overlay spacing (desktop) ---- */
.v9-slider__slide .v5-left__overlay {
    z-index: 3;
    padding: 48px 44px 92px;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.82) 25%,
        rgba(0, 0, 0, 0.55) 55%,
        rgba(0, 0, 0, 0.15) 85%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* ==========================================================
   RIGHT PANEL
   ========================================================== */
.v8-right {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 32px;
    background: var(--primary0);
    position: relative;
    overflow: hidden;
}

/* Large soft glow — top-right */
.v8-right::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    top: -140px;
    right: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* Warm glow — bottom-left */
.v8-right::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* Decorative rings */
.v8-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.v8-deco::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: 40px;
    right: -60px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.v8-deco::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: 50px;
    left: -40px;
    border: 1.5px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
}

/* Dot grid pattern */
.v8-deco2 {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.v8-deco2::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    top: 30px;
    left: 30px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.7;
}

.v8-deco2::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    bottom: 40px;
    right: 40px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.7;
}

/* ---------- CARD (outer shell) ---------- */
.v8-right__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.03),
        0 10px 36px rgba(0, 0, 0, 0.07);
}

/* ---------- TOP ZONE — Tinted header ---------- */
.v8-right__top {
    background: linear-gradient(175deg, #eef2ff 0%, #f0f4ff 100%);
    padding: 32px 52px 22px;
    border-bottom: 1px solid rgba(38, 92, 255, 0.08);
}

.v8-right__header {
    margin-bottom: 22px;
    text-align: center;
}

.v8-right__title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.v8-right__subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ---------- GOOGLE / SOCIAL ZONE ---------- */
.v8-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.v8-social .social-sign-container {
    display: inline-block;
    /* JW-3636: the Google sign-in button (data-size="large", renders 44px tall) is injected after load;
       holding its height stops the form below from jumping down. */
    min-height: 44px;
}

.v8-google-note {
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
    margin: 0;
    font-weight: 400;
}

/* ---------- DIVIDER (between zones) ---------- */
.v8-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 52px;
    margin: 0;
    background: #ffffff;
    padding-top: 28px;
    padding-bottom: 6px;
}

.v8-divider__line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.v8-divider__text {
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
    white-space: nowrap;
}

/* ---------- BOTTOM ZONE — White form area ---------- */
.v8-right__bottom {
    background: #ffffff;
    padding: 16px 52px 28px;
}

/* ---------- FORM ---------- */
.v8-form .form-group {
    margin-bottom: 14px;
    position: relative;
}

.v8-form label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.v8-form .form-control {
    height: 46px;
    line-height: 46px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    transition: all 0.15s ease;
    width: 100%;
    box-sizing: border-box;
    color: #111827;
}

.v8-form .form-control:hover {
    border-color: #9ca3af;
}

.v8-form .form-control:focus {
    background: #ffffff;
    border-color: var(--primary0);
    box-shadow: 0 0 0 3px rgba(38, 92, 255, 0.08);
    outline: none;
}

.v8-form .form-control::placeholder {
    color: #9ca3af;
}

/* Password label + forgot row */
.v8-password-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v8-forgot {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary0);
    text-decoration: none;
}

.v8-forgot:hover {
    text-decoration: underline;
    color: var(--primary0);
}

/* Password wrapper + toggle */
.v8-form .password-container {
    position: relative;
}

.v8-form .password-container .form-control {
    padding-right: 44px;
}

/* Wrap holds only the input + eye toggle, so the toggle anchors to the input
   height — the validation error is appended outside this wrap. */
.v8-form .v8-password-wrap {
    position: relative;
}

.v8-form .v8-password-wrap .form-control {
    padding-right: 44px;
}

.v8-form .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.35;
    transition: opacity 0.2s;
}

.v8-form .password-toggle:hover {
    opacity: 0.7;
}

.v8-form .password-toggle svg {
    width: 18px;
    height: 18px;
    stroke: #6b7280;
}

/* reCAPTCHA */
.v8-form .v8-captcha {
    margin: 4px 0 16px;
    display: flex;
    justify-content: center;
}

/* ---------- LOGIN BUTTON ---------- */
.v8-login-btn {
    width: 100%;
    display: block;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    background: var(--primary0);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.v8-login-btn:hover {
    background: #1c4fd4;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(38, 92, 255, 0.25);
}

/* ---------- REGISTER TEXT ---------- */
.v8-register-text {
    text-align: center;
    margin: 16px 0 0;
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
}

.v8-register-text a {
    color: var(--primary0);
    font-weight: 600;
    text-decoration: none;
}

.v8-register-text a:hover {
    text-decoration: underline;
}

/* Validation error styling within v8 form */
.v8-form span.error {
    display: block;
    color: #cf5859;
    font-size: 12px;
    margin-top: 4px;
}

.v8-form .form-control.error {
    border-color: #cf5859;
}

/* ==========================================================
   PASSWORD CHANGED SUCCESS MODAL (set-new-password)
   ========================================================== */
.reset-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.reset-modal-overlay.is-open {
    display: flex;
}

.reset-modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 56px 64px;
    max-width: 560px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.reset-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary0);
    cursor: pointer;
    padding: 6px 10px;
    line-height: 1;
    font-weight: 600;
}

.reset-modal__close:hover {
    opacity: 0.7;
}

.reset-modal__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-header);
    margin: 0 0 16px;
    line-height: 1.3;
}

.reset-modal__text {
    font-size: 16px;
    color: #666;
    margin: 0 0 36px;
    line-height: 1.6;
}

.reset-modal__btn {
    display: inline-block;
    padding: 18px 64px;
    background: var(--primary-1);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    font-family: "gordita", sans-serif;
    transition: box-shadow 0.2s;
}

.reset-modal__btn:hover {
    box-shadow: 0 6px 20px rgba(38, 92, 255, 0.35);
}

@media (max-width: 600px) {
    .reset-modal {
        padding: 40px 28px;
        max-width: 480px;
    }

    .reset-modal__title {
        font-size: 24px;
    }

    .reset-modal__text {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .reset-modal__btn {
        padding: 16px 48px;
        font-size: 16px;
    }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (min-width: 1400px) {
    .v8-right__card {
        max-width: 580px;
    }

    .v8-right__top {
        padding: 52px 56px 30px;
    }

    .v8-right__bottom {
        padding: 26px 56px 52px;
    }

    .v8-divider {
        padding-left: 56px;
        padding-right: 56px;
    }

    .v8-right__title {
        font-size: 30px;
    }
}

@media (min-width: 1700px) {
    .v8-right__card {
        max-width: 620px;
    }

    .v8-right__top {
        padding: 56px 64px 32px;
    }

    .v8-right__bottom {
        padding: 28px 64px 56px;
    }

    .v8-divider {
        padding-left: 64px;
        padding-right: 64px;
    }

    .v8-right__title {
        font-size: 32px;
    }

    .v8-right__subtitle {
        font-size: 15px;
    }

    .v8-form .form-control {
        height: 48px;
        line-height: 48px;
        font-size: 15px;
    }

    .v8-login-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    .v8-right {
        padding: 24px;
    }

    .v8-right__card {
        max-width: 520px;
    }

    .v8-right__top {
        padding: 40px 44px 24px;
    }

    .v8-right__bottom {
        padding: 20px 44px 40px;
    }

    .v8-divider {
        padding-left: 44px;
        padding-right: 44px;
    }

    .v8-right__title {
        font-size: 22px;
    }

    .v9-slider__slide .v5-left__overlay {
        padding: 36px 32px 80px;
    }

    .v9-slider__nav {
        bottom: 22px;
    }
}

/* Tablet and below — stack vertically, FORM ON TOP */
@media (max-width: 991px) {
    .v8-page {
        flex-direction: column;
        background: #ffffff;
    }

    .v8-right {
        order: 1;
        flex: none;
        max-width: 100%;
        padding: 24px 16px 32px;
    }

    .v5-left {
        order: 2;
        flex: none;
        max-width: 100%;
        height: 560px;
        margin: 0;
        border-radius: 0;
        width: 100%;
    }

    .v9-slider__slide .v5-left__overlay {
        padding: 18px 20px 56px;
        background: linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.65) 40%,
            rgba(0, 0, 0, 0.2) 75%,
            rgba(0, 0, 0, 0) 100%
        );
    }

    .v9-slider__bg {
        object-position: center 25%;
    }

    .v9-slider__nav {
        bottom: 14px;
    }

    .v5-left__name {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .v5-left__role {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .v5-left__rating {
        margin-bottom: 10px;
    }

    .v5-left__rating-score {
        font-size: 15px;
    }

    .v5-left__star {
        width: 14px;
        height: 14px;
    }

    .v5-left__quote {
        font-size: 13px;
        line-height: 1.5;
    }

    .v8-right__card {
        max-width: 100%;
        border-radius: 12px;
    }

    .v8-right__top {
        padding: 28px 24px 20px;
    }

    .v8-right__bottom {
        padding: 16px 24px 28px;
    }

    .v8-divider {
        padding-left: 24px;
        padding-right: 24px;
    }

    .v8-right__title {
        font-size: 20px;
    }
}


/* ===== Copied from public/new-design/css/registration-employer.css (field rules) ===== */
.reg3-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.reg3-field label,
.reg3-field__label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.reg3-field__label--req::after {
    content: "*";
    color: #ef4444;
    margin-left: 1px;
}
.reg3-field__input,
.reg3-field .form-control {
    width: 100%;
    height: 44px;
    line-height: 44px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #0f172a;
    background: #fff;
    border: 1.5px solid #d6dbe4;
    border-radius: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}
.reg3-field__input::placeholder,
.reg3-field .form-control::placeholder { color: #9aa3b3; }
.reg3-field__input:hover,
.reg3-field .form-control:hover { border-color: #b6bdcc; }
.reg3-field__input:focus,
.reg3-field .form-control:focus {
    outline: none;
    border-color: var(--primary0, #265CFF);
    box-shadow: 0 0 0 4px rgba(38, 92, 255, 0.10);
}
.reg3-field .form-control.error,
.reg3-field__input.error {
    border-color: #ef4444;
}
.reg3-field span.error,
.reg3-pwd span.error {
    display: block;
    font-size: 11.5px;
    line-height: 1.35;
    color: #ef4444;
    margin-top: 4px;
}
.reg3-pwd { position: relative; }
.reg3-pwd .form-control { padding-right: 42px; }
.reg3-pwd .password-toggle {
    position: absolute;
    right: 12px;
    /* Centre on the 44px input (label sits outside .reg3-pwd). */
    top: 22px;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.35;
    transition: opacity 0.2s;
}
.reg3-pwd .password-toggle:hover { opacity: 0.7; }
.reg3-pwd .password-toggle svg {
    width: 18px;
    height: 18px;
    stroke: #6b7280;
}
.reg3-terms { margin: 18px 0 6px; }
.reg3-terms .form-check-label,
.reg3-terms__label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.55;
    color: #475569;
    cursor: pointer;
    margin: 0;
}
.reg3-terms a {
    color: var(--primary0);
    font-weight: 500;
    text-decoration: underline;
}
.reg3-terms span.error {
    display: block;
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
}
.reg3-terms input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--primary0);
    cursor: pointer;
}
.reg3-field select.error + .select2-container .select2-selection--single {
    border-color: #ef4444 !important;
}
.reg3-field:first-child { grid-column: 1 / -1; }
.reg3-field:first-child { grid-column: auto; }

/* ===== Affiliate additions ===== */
.af-auth .v8-right__card { max-width: 560px; }
.af-auth__left { display: flex; align-items: center; justify-content: center; padding: 48px 44px; background:
    radial-gradient(circle, rgba(255,255,255,.09) 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(60% 90% at 100% 0%, #5b85ff 0%, rgba(91,133,255,0) 60%),
    linear-gradient(135deg, #1a3bcc 0%, #265CFF 100%); color: #fff; }
.af-auth__props { max-width: 440px; }
.af-auth__eyebrow { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: #fff; }
.af-auth__headline { margin: 0 0 28px; font-size: 34px; line-height: 1.15; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.af-auth__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.af-auth__list li { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.af-auth__list strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; color: #fff; }
.af-auth__list span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.85); }
.af-auth__back { display: inline-block; margin-top: 24px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.af-auth__back:hover { color: #fff; }
.af-auth__form .form-group { margin-bottom: 18px; }
.af-auth__form .form-group.has-error .form-control { border-color: #d64550; }
.af-auth__error { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: #d64550; }
.af-auth__hint { display: block; margin-top: 6px; font-size: 12.5px; color: #6b7280; }
.af-auth__optional { font-weight: 400; color: #6b7280; }
.af-auth__alert { margin: 16px 24px 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.af-auth__alert--error { background: #fdecea; color: #b71c1c; }
.af-auth__alert--info { background: #eef4ff; color: #1e3a8a; }
.af-auth__terms .af-auth__check { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-weight: 400; font-size: 14px; line-height: 1.45; cursor: pointer; }
.af-auth__terms input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: #265CFF; }
.af-auth__terms a { color: #265CFF; font-weight: 600; }
.af-code { display: flex; gap: 8px; }
.af-code__box { width: 48px; height: 56px; padding: 0; border: 1.5px solid #e2e6ee; border-radius: 12px; text-align: center; font-size: 24px; font-weight: 700; color: #0B1437; background: #fff; font-variant-numeric: tabular-nums; }
.af-code__box:focus { outline: none; border-color: #265CFF; box-shadow: 0 0 0 3px rgba(38,92,255,.15); }
.has-error .af-code__box { border-color: #d64550; }
.af-auth__resend { margin-top: 8px; }
.af-auth__linkbtn { border: 0; padding: 0; background: none; color: #265CFF; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.af-auth__linkbtn[disabled] { color: #9aa3b3; text-decoration: none; cursor: default; }
.af-auth__cooldown { margin-left: 6px; color: #6b7280; font-size: 13px; }
.af-auth__text { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: #3b4352; }
.af-auth__text a { color: #265CFF; font-weight: 600; }
.af-auth__status h3 { margin: 18px 0 8px; font-size: 16px; font-weight: 700; color: #0B1437; }
.af-auth__pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #fff6e6; color: #d97706; font-size: 12.5px; font-weight: 600; }
.af-auth__steps { margin: 0 0 16px; padding-left: 20px; font-size: 14.5px; line-height: 1.6; color: #3b4352; }
.af-auth__steps li { margin-bottom: 6px; }
.af-auth__logout { margin-top: 8px; }
.v8-login-btn--ghost { background: #fff; color: #0B1437; border: 1px solid #e2e6ee; }
.v8-login-btn--ghost:hover { background: #eef3ff; }
.af-auth__details { margin: -6px 0 16px; font-size: 14px; }
.af-auth__details summary { cursor: pointer; color: #265CFF; font-weight: 600; margin-bottom: 10px; }
@media (max-width: 991px) {
    .af-auth__left { padding: 32px 24px; }
    .af-auth__headline { font-size: 26px; }
}
@media (max-width: 640px) {
    .af-code { gap: 6px; }
    .af-code__box { width: 42px; height: 50px; font-size: 20px; }
}
