/* ══════════════════════════════════════════════════════════════
   AUTH PAGES 
══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --navy: #0f1923;
    --navy-2: #1a2532;
    --navy-3: #233044;
    --border: #2a3c4e;
    --border-hi: rgba(240, 165, 0, .45);
    --orange: #f0a500;
    --orange-h: #e09500;
    --orange-dim: rgba(240, 165, 0, .12);
    --text: #d6e0ea;
    --text-dim: #8fa3b1;
    --error: #e05252;
    --success: #3fcf8e;
    --rad: 12px;
    --rad-sm: 8px;
    --tr: 0.22s ease;
    --shadow: 0 20px 60px rgba(0, 0, 0, .55);
}

/* ══════════════════════════════════════════════════════════════
   AUTH PAGE WRAPPER
══════════════════════════════════════════════════════════════ */
#auth-page {
    min-height: 100dvh;
    display: flex;
    align-items: stretch;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

/* Background noise texture */
#auth-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 100%, rgba(240, 165, 0, .06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 0%, rgba(42, 140, 200, .05) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* ══════════════════════════════════════════════════════════════
   BRAND PANEL  (left)
══════════════════════════════════════════════════════════════ */

.auth-brand {
    flex: 0 0 42%;
    max-width: 42%;
    background: linear-gradient(155deg, #08111a 0%, #0f1f30 45%, #152538 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 44px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* ── Diagonal slash accent ── */
.auth-brand::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(240, 165, 0, .5) 30%,
            rgba(240, 165, 0, .5) 70%,
            transparent 100%);
    z-index: 10;
}

.auth-brand::after {
    content: '';
    position: absolute;
    top: -10%;
    right: 18%;
    width: 1px;
    height: 120%;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(240, 165, 0, .12) 30%,
            rgba(240, 165, 0, .12) 70%,
            transparent 100%);
    transform: rotate(-12deg);
}

/* ── Dot grid background ── */
.auth-brand-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 100%);
}

/* ── Geometric circles ── */
.auth-brand-circles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-brand-circles span {
    position: absolute;
    border-radius: 50%;
}

.auth-brand-circles span:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -160px;
    border: 1px solid rgba(240, 165, 0, .07);
}

.auth-brand-circles span:nth-child(2) {
    width: 240px;
    height: 240px;
    top: -20px;
    right: -40px;
    border: 1px solid rgba(240, 165, 0, .13);
}

.auth-brand-circles span:nth-child(3) {
    width: 200px;
    height: 200px;
    bottom: 40px;
    left: -80px;
    border: 1px solid rgba(42, 140, 200, .1);
}

.auth-brand-circles span:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 100px;
    left: -10px;
    background: radial-gradient(circle, rgba(42, 140, 200, .06) 0%, transparent 70%);
}

/* ── Logo ── */
.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    z-index: 2;
    animation: fadeSlideIn .5s ease both;
}

.auth-brand-logo img {
    height: 36px;
    width: auto;
}

.auth-brand-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.auth-brand-logo-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--orange);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: block;
}

/* ══════════════════════════════════════════
   CENTER VISUAL BLOCK
══════════════════════════════════════════ */
.auth-brand-visual {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeSlideIn .6s .1s ease both;
}

/* ── Glowing Icon Ring ── */
.auth-brand-icon-ring {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(240, 165, 0, .2);
    animation: ringPulse 3s ease-in-out infinite;
}

.ring-1 {
    width: 130px;
    height: 130px;
    animation-delay: 0s;
    border-color: rgba(240, 165, 0, .15);
}

.ring-2 {
    width: 100px;
    height: 100px;
    animation-delay: .4s;
    border-color: rgba(240, 165, 0, .25);
}

.ring-3 {
    width: 74px;
    height: 74px;
    animation-delay: .8s;
    border-color: rgba(240, 165, 0, .4);
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: .7;
    }
}

.auth-brand-icon-core {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(240, 165, 0, .2) 0%, rgba(240, 165, 0, .08) 100%);
    border: 1px solid rgba(240, 165, 0, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--orange);
    box-shadow: 0 0 30px rgba(240, 165, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .07);
    position: relative;
    z-index: 2;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(240, 165, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .07);
    }

    50% {
        box-shadow: 0 0 40px rgba(240, 165, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .07);
    }
}

/* ── Floating Badges ── */
.auth-brand-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    color: #d0d8e0;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    animation: badgeFloat 4s ease-in-out infinite;
}

.auth-brand-badge i {
    font-size: 11px;
    color: var(--orange);
}

.auth-brand-badge--tl {
    top: -10px;
    left: -20px;
    animation-delay: 0s;
    animation-duration: 3.8s;
}

.auth-brand-badge--tr {
    top: -10px;
    right: -20px;
    animation-delay: .7s;
    animation-duration: 4.2s;
}

.auth-brand-badge--bl {
    bottom: -8px;
    left: -20px;
    animation-delay: 1.4s;
    animation-duration: 3.5s;
}

.auth-brand-badge--br {
    bottom: -8px;
    right: -20px;
    animation-delay: 2.1s;
    animation-duration: 4.5s;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Headline & desc */
.auth-brand-headline {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    line-height: 1.25;
    margin: 0 0 10px;
    letter-spacing: -0.4px;
}

.auth-brand-headline em {
    color: var(--orange);
    font-style: normal;
    position: relative;
}

/* underline decoration */
.auth-brand-headline em::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), transparent);
    border-radius: 1px;
}

.auth-brand-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
    text-align: center;
    max-width: 260px;
}

/* ══════════════════════════════════════════
   STATS ROW
══════════════════════════════════════════ */
.auth-brand-stats {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
    padding: 14px 20px;
    animation: fadeSlideIn .8s .2s ease both;
}

.auth-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.auth-stat-num {
    font-size: 19px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}

.auth-stat-lbl {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: .5px;
    text-align: center;
}

.auth-stat-sep {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, .1);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE — brand panel
══════════════════════════════════════════ */
@media (max-width: 900px) {
    .auth-brand {
        flex: 0 0 38%;
        max-width: 38%;
        padding: 32px 24px;
    }

    .auth-brand-headline {
        font-size: 20px;
    }

    .auth-brand-badge {
        display: none;
    }
}

@media (max-width: 720px) {
    .auth-brand {
        flex: none;
        max-width: 100%;
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px 20px;
        min-height: auto;
    }

    .auth-brand::before,
    .auth-brand::after {
        display: none;
    }

    .auth-brand-visual,
    .auth-brand-stats {
        display: none;
    }

    .auth-brand-logo {
        flex: 1;
    }

    .auth-brand-grid {
        opacity: .4;
    }
}

/* ══════════════════════════════════════════════════════════════
   FORM PANEL  (right)
══════════════════════════════════════════════════════════════ */
.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    position: relative;
    z-index: 1;
    overflow-y: auto;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: var(--navy-2);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 40px 36px;
    box-shadow: var(--shadow);
    animation: cardIn .55s ease both;
}

/* Card header */
.auth-card-head {
    margin-bottom: 30px;
}

.auth-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--orange);
    background: var(--orange-dim);
    border: 1px solid rgba(240, 165, 0, .2);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.auth-card-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.auth-card-sub {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.auth-card-sub a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--tr);
}

.auth-card-sub a:hover {
    color: var(--orange-h);
    text-decoration: underline;
}

/* Divider */
.auth-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 24px 0;
}

/* ── Form Row ── */
.auth-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.auth-row:has(.selected.open),
.auth-field:has(.selected.open) {
    position: relative;
    z-index: 999;
}

.auth-row.cols-2 {
    grid-template-columns: 1fr 1fr;
}

/* ── Field Group ── */
.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: fieldIn .4s ease both;
    position: relative;
    z-index: 1;
}

.auth-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: .4px;
    text-transform: uppercase;
}

/* Input wrapper with icon */
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    inset-inline-start: 14px;
    color: var(--text-dim);
    font-size: 14px;
    pointer-events: none;
    transition: color var(--tr);
    z-index: 2;
}

.auth-input-btn {
    position: absolute;
    inset-inline-end: 10px;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: color var(--tr), background var(--tr);
    z-index: 2;
    line-height: 1;
}

.auth-input-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.auth-input {
    width: 100%;
    height: 46px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: var(--rad-sm);
    padding: 0 14px 0 42px;

    font-size: 14px;
    color: #fff;
    outline: none;
    transition: border-color var(--tr), background var(--tr), box-shadow var(--tr);
    -webkit-appearance: none;
}

.auth-input::placeholder {
    color: #4a6070;
    font-size: 13px;
}

.auth-input:focus {
    border-color: var(--border-hi);
    background: rgba(240, 165, 0, .04);
    box-shadow: 0 0 0 3px rgba(240, 165, 0, .08), inset 0 0 0 1px rgba(240, 165, 0, .1);
}

.auth-input:focus+.auth-input-icon,
.auth-input-wrap:focus-within .auth-input-icon {
    color: var(--orange);
}

/* Error state */
.auth-input.is-invalid {
    border-color: var(--error);
    background: rgba(224, 82, 82, .05);
}

.auth-input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(224, 82, 82, .1);
}

.auth-error {
    font-size: 11px;
    color: var(--error);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.auth-error::before {
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
}

html[dir="rtl"] .auth-input {
    padding: 0 35px 0 14px;
}

html[dir="rtl"] .auth-select {
    padding: 0 35px 0 14px;
}


/* ── Select field ── */
.auth-select {
    width: 100%;
    height: 46px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: var(--rad-sm);
    padding: 0 14px;

    font-size: 14px;
    color: var(--text);
    outline: none;
    cursor: pointer;
    transition: border-color var(--tr);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238fa3b1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.auth-select:focus {
    border-color: var(--border-hi);
}

.auth-select option {
    background: var(--navy-2);
    color: var(--text);
}

/* ── Custom Country Select ── */
.auth-custom-select {
    position: relative;
    width: 100%;
    z-index: 999;
}

.auth-custom-select .selected {
    height: 46px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: var(--rad-sm);
    padding: 0 36px 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text);
    font-size: 13px;
    transition: border-color var(--tr);
    user-select: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238fa3b1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.auth-custom-select .selected:hover,
.auth-custom-select .selected.open {
    border-color: var(--border-hi);
}

.auth-custom-select .selected img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.auth-custom-select .options {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #1a2532;
    border: 1px solid var(--border);
    border-radius: var(--rad-sm);
    max-height: 200px;
    overflow-y: auto;
    z-index: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.auth-custom-select .options.open {
    display: block;
    position: absolute;
    z-index: 9999;
    background: #1a2532;
}

.auth-custom-select .option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text);
    transition: background var(--tr);
}

.auth-custom-select .option:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.auth-custom-select .option img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── Remember Me Checkbox ── */
.auth-check-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.auth-check-input {
    width: 0;
    height: 0;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-check-box {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1.5px solid var(--border);
    background: rgba(255, 255, 255, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--tr);
}

.auth-check-box i {
    font-size: 10px;
    color: var(--navy);
    opacity: 0;
    transition: opacity .15s;
}

.auth-check-input:checked~.auth-check-box {
    background: var(--orange);
    border-color: var(--orange);
}

.auth-check-input:checked~.auth-check-box i {
    opacity: 1;
}

.auth-check-lbl {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1;
}

/* ── Submit Button ── */
.auth-btn {
    width: 100%;
    height: 50px;
    background: var(--orange);
    color: var(--navy);
    border: none;
    border-radius: var(--rad-sm);

    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background var(--tr), transform .15s, box-shadow var(--tr);
    box-shadow: 0 4px 20px rgba(240, 165, 0, .25);
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.auth-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .18) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform .5s ease;
}

.auth-btn:hover {
    background: var(--orange-h);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(240, 165, 0, .35);
}

.auth-btn:hover::after {
    transform: translateX(100%);
}

.auth-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(240, 165, 0, .2);
}

/* ── Link Button ── */
.auth-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
    font-size: 13px;
    text-decoration: none;
    padding: 4px 0;
    transition: color var(--tr);
    background: transparent;
    border: none;
    cursor: pointer;

}

.auth-link-btn:hover {
    color: var(--orange);
}

.auth-link-btn i {
    font-size: 11px;
}

/* ── Footer row (submit + forgot) ── */
.auth-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

/* ── Section label inside form ── */
.auth-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #4a6070;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── Alert messages ── */
.auth-alert {
    padding: 12px 16px;
    border-radius: var(--rad-sm);
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.auth-alert--success {
    background: rgba(63, 207, 142, .08);
    border: 1px solid rgba(63, 207, 142, .2);
    color: var(--success);
}

.auth-alert--info {
    background: rgba(42, 140, 200, .08);
    border: 1px solid rgba(42, 140, 200, .2);
    color: #5baee8;
}

.auth-alert i {
    margin-top: 1px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   VERIFY EMAIL  —  special centered layout
══════════════════════════════════════════════════════════════ */
.auth-verify-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--orange-dim);
    border: 2px solid rgba(240, 165, 0, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--orange);
    margin: 0 auto 20px;
    animation: pulse 2.5s ease infinite;
}

.auth-verify-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.auth-verify-msg {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════════ */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fieldIn {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(240, 165, 0, .3);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(240, 165, 0, 0);
    }
}

/* stagger fields */
.auth-field:nth-child(1) {
    animation-delay: .05s;
}

.auth-field:nth-child(2) {
    animation-delay: .10s;
}

.auth-field:nth-child(3) {
    animation-delay: .15s;
}

.auth-field:nth-child(4) {
    animation-delay: .20s;
}

.auth-field:nth-child(5) {
    animation-delay: .25s;
}

.auth-field:nth-child(6) {
    animation-delay: .30s;
}

.auth-field:nth-child(7) {
    animation-delay: .35s;
}

.auth-field:nth-child(8) {
    animation-delay: .40s;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .auth-brand {
        flex: 0 0 38%;
        max-width: 38%;
        padding: 32px 28px;
    }

    .auth-brand-headline {
        font-size: 22px;
    }

    .auth-card {
        padding: 32px 26px;
    }
}

@media (max-width: 720px) {
    #auth-page {
        flex-direction: column;
    }

    .auth-brand {
        flex: none;
        max-width: 100%;
        width: 100%;
        padding: 24px 20px;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        min-height: auto;
    }

    .auth-brand::after {
        display: none;
    }

    .auth-brand-logo {
        flex: 1;
    }

    .auth-form-panel {
        padding: 24px 16px;
        align-items: flex-start;
    }

    .auth-card {
        padding: 26px 20px;
        border-radius: 14px;
        max-width: 100%;
    }

    .auth-card-title {
        font-size: 22px;
    }

    .auth-row.cols-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .auth-form-panel {
        padding: 16px 10px;
    }

    .auth-card {
        padding: 20px 16px;
    }

    .auth-footer-row {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-footer-row .auth-link-btn {
        justify-content: center;
    }
}