/* ── Modern Split-Card Auth CSS (Matching Luxury Editorial Spec) ── */
.auth-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: radial-gradient(ellipse at top center, rgba(139, 0, 0, 0.12) 0%, rgba(5, 3, 5, 0.95) 70%), #050305;
}

.auth-split-wrapper {
    display: flex;
    width: 100%;
    max-width: 1040px;
    min-height: 620px;
    background: #0f0a0c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 1px 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Subtle top glow line */
.auth-split-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #8b0000 0%, #c5a059 50%, #8b0000 100%);
    z-index: 10;
}

/* ── Left Image Banner ── */
.auth-visual-side {
    flex: 1.05;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    overflow: hidden;
}

.auth-visual-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 5, 8, 0.45) 0%, rgba(10, 5, 8, 0.85) 100%);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.auth-visual-top,
.auth-visual-bottom {
    position: relative;
    z-index: 2;
}

.back-to-web-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #f3efe6;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.back-to-web-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--n-gold, #c5a059);
    color: #fff;
    transform: translateX(-3px);
}

.auth-visual-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.auth-brand-emblem {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-emblem-icon {
    width: 38px;
    height: 38px;
    border: 1px solid var(--n-gold, #c5a059);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 160, 89, 0.1);
    color: var(--n-gold, #c5a059);
    font-family: var(--font-heading, 'Anton');
    font-size: 1.2rem;
}

.auth-brand-name {
    font-family: var(--font-heading, 'Anton');
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    color: #fff;
}

.auth-brand-name .dot {
    color: #8b0000;
}

.auth-visual-tagline {
    font-family: var(--font-heading, 'Anton');
    font-size: 1.5rem;
    line-height: 1.25;
    color: #f3efe6;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
}

.auth-visual-desc {
    color: #a8a098;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.auth-carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 0.5rem;
}

.auth-dot {
    height: 4px;
    width: 14px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.auth-dot.active {
    width: 28px;
    background: var(--n-gold, #c5a059);
}

/* ── Right Form Side ── */
.auth-form-side {
    flex: 1.15;
    background: #0d080a;
    padding: 3.2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.auth-form-header {
    margin-bottom: 2rem;
}

.auth-form-title {
    font-family: var(--font-heading, 'Anton');
    font-size: 2.2rem;
    color: #ffffff;
    letter-spacing: 0.04em;
    margin: 0 0 0.4rem 0;
    text-transform: uppercase;
}

.auth-form-subtitle {
    color: #968e85;
    font-size: 0.88rem;
    margin: 0;
}

.auth-switch-link {
    color: var(--n-gold, #c5a059);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.2s;
}

.auth-switch-link:hover {
    color: #f3e5ab;
}

/* ── Form Inputs ── */
.auth-input-group {
    margin-bottom: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.auth-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #c9c3ba;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input {
    width: 100%;
    background: #150f13;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-body, 'Inter');
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.auth-input::placeholder {
    color: #5c554e;
}

.auth-input:focus {
    border-color: var(--n-gold, #c5a059);
    background: #1c141a;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.auth-input.otp-input {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.4em;
    text-align: center;
    padding: 0.85rem;
}

/* Password Toggle Eye Button */
.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8c8278;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.auth-password-toggle:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Checkbox & Helpers */
.auth-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 1rem 0 1.25rem 0;
    font-size: 0.82rem;
    color: #968e85;
    width: 100%;
}

.auth-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.82rem;
}

.auth-checkbox-label input[type="checkbox"] {
    accent-color: var(--n-gold, #c5a059);
    width: 15px;
    height: 15px;
    cursor: pointer;
    border-radius: 4px;
    margin: 0;
}

.auth-forgot-link {
    color: #968e85;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.82rem;
}

.auth-forgot-link:hover {
    color: var(--n-gold, #c5a059);
}

/* ── Primary Auth Action Button (Sleek Minimal Proportions) ── */
.auth-primary-btn {
    width: 100%;
    height: 44px;
    padding: 0 1.25rem;
    background: linear-gradient(135deg, #c5a059 0%, #a07d3b 100%);
    color: #0b0709;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.2);
    box-sizing: border-box;
    text-decoration: none;
}

.auth-primary-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.auth-primary-btn:hover {
    background: linear-gradient(135deg, #dfbc77 0%, #b8934a 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.3);
}

.auth-primary-btn:hover svg {
    transform: translateX(2px);
}

.auth-primary-btn:active {
    transform: translateY(0);
}

.auth-primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Status Alerts & Notifications (Sleek Minimal Design) ── */
.auth-status-box {
    padding: 0.5rem 0;
    border-radius: 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    animation: fadeIn 0.25s ease;
}

.auth-status-box svg {
    flex-shrink: 0;
}

.auth-status-error {
    background: transparent;
    border: none;
    color: #f87171;
}

.auth-status-success {
    background: transparent;
    border: none;
    color: #dfb76c;
}

.auth-status-info {
    background: transparent;
    border: none;
    color: #dfb76c;
}

/* ── OTP Step Transitions ── */
.step-container {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.step-container.hidden {
    display: none !important;
}

.resend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.82rem;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--n-gold, #c5a059);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.resend-btn:disabled {
    color: #666;
    cursor: not-allowed;
    text-decoration: none;
}

/* ── Responsive Mobile Optimization ── */
@media screen and (max-width: 900px) {
    .auth-page {
        padding: 1.5rem 1rem;
    }

    .auth-split-wrapper {
        flex-direction: column;
        border-radius: 14px;
        min-height: auto;
    }

    .auth-visual-side {
        padding: 1.8rem 1.5rem;
        min-height: 200px;
    }

    .auth-visual-tagline {
        font-size: 1.2rem;
    }

    .auth-visual-desc {
        display: none;
    }

    .auth-form-side {
        padding: 2.2rem 1.5rem;
    }

    .auth-form-title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .auth-page {
        padding: 1rem 0.75rem;
    }

    .auth-form-side {
        padding: 1.75rem 1.25rem;
    }

    .auth-form-title {
        font-size: 1.6rem;
    }

    .auth-row-between {
        gap: 0.5rem;
        font-size: 0.78rem;
    }

    .auth-checkbox-label {
        font-size: 0.78rem;
    }

    .auth-forgot-link {
        font-size: 0.78rem;
    }
}


