/* ============================================
   SADEE JODI — World-Class Auth Pages
   Split-Screen Layout | Glassmorphism
   Floating Labels | Micro-interactions
   ============================================ */

/* ---- Auth Page Layout (accounts for standard navbar) ---- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
    padding-top: 70px; /* space for standard navbar */
}

/* ---- LEFT SIDE: Emotional/Brand Zone ---- */
.auth-brand-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-3xl);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    /* Dynamic Gradient Mesh Background */
    background:
        radial-gradient(ellipse at 20% 50%, rgba(233, 30, 99, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(74, 144, 226, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(233, 30, 99, 0.05) 0%, transparent 50%),
        linear-gradient(160deg, #0A0A14 0%, #1A0A20 30%, #0A0A14 60%, #0A1A2A 100%);
    animation: meshShift 15s ease-in-out infinite alternate;
}

@keyframes meshShift {
    0% {
        background:
            radial-gradient(ellipse at 20% 50%, rgba(233, 30, 99, 0.08) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 20%, rgba(74, 144, 226, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse at 50% 80%, rgba(233, 30, 99, 0.05) 0%, transparent 50%),
            linear-gradient(160deg, #0A0A14 0%, #1A0A20 30%, #0A0A14 60%, #0A1A2A 100%);
    }
    33% {
        background:
            radial-gradient(ellipse at 40% 30%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
            radial-gradient(ellipse at 60% 70%, rgba(233, 30, 99, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse at 20% 80%, rgba(74, 144, 226, 0.05) 0%, transparent 50%),
            linear-gradient(160deg, #0A0A14 0%, #0A1A2A 30%, #1A0A20 60%, #0A0A14 100%);
    }
    66% {
        background:
            radial-gradient(ellipse at 70% 60%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
            radial-gradient(ellipse at 30% 40%, rgba(74, 144, 226, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 20%, rgba(233, 30, 99, 0.04) 0%, transparent 50%),
            linear-gradient(160deg, #0A1A2A 0%, #0A0A14 30%, #1A0A20 60%, #0A0A14 100%);
    }
    100% {
        background:
            radial-gradient(ellipse at 50% 40%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
            radial-gradient(ellipse at 20% 70%, rgba(233, 30, 99, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse at 70% 30%, rgba(74, 144, 226, 0.06) 0%, transparent 50%),
            linear-gradient(160deg, #1A0A20 0%, #0A0A14 30%, #0A1A2A 60%, #0A0A14 100%);
    }
}

/* Floating decorative rings */
.auth-brand-panel::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(233, 30, 99, 0.08);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.auth-brand-panel::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(74, 144, 226, 0.1);
    animation: float 10s ease-in-out infinite reverse;
    pointer-events: none;
}

/* Brand content in the emotional zone */
.brand-zone-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 440px;
}

.brand-zone-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    text-decoration: none;
}

.brand-zone-logo .logo-icon-lg {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: var(--shadow-glow-primary);
}

.brand-zone-logo .logo-text-lg {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
}

.brand-zone-logo .logo-text-lg span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-zone-tagline {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.brand-zone-tagline .text-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-zone-desc {
    font-size: var(--fs-md);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

/* Lottie animation container */
.lottie-container {
    width: 280px;
    height: 280px;
    margin: 0 auto var(--space-2xl);
    position: relative;
}

.lottie-container dotlottie-player,
.lottie-container lottie-player {
    width: 100%;
    height: 100%;
}

/* Fallback animated illustration when Lottie not available */
.auth-illustration {
    width: 260px;
    height: 260px;
    margin: 0 auto var(--space-2xl);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-illustration .ring-main {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid rgba(233, 30, 99, 0.3);
    position: relative;
    animation: ringPulse 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-illustration .ring-main::before {
    content: '💍';
    font-size: 48px;
    animation: float 3s ease-in-out infinite;
}

.auth-illustration .ring-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(74, 144, 226, 0.25);
    animation: spin 20s linear infinite;
}

.auth-illustration .ring-orbit-1 {
    width: 200px;
    height: 200px;
}

.auth-illustration .ring-orbit-2 {
    width: 260px;
    height: 260px;
    animation-duration: 30s;
    animation-direction: reverse;
}

.auth-illustration .heart-particle {
    position: absolute;
    font-size: 16px;
    animation: heartFloat 4s ease-in-out infinite;
}

.auth-illustration .heart-particle:nth-child(2) {
    top: 10%;
    right: 15%;
    animation-delay: 0.5s;
}

.auth-illustration .heart-particle:nth-child(3) {
    bottom: 15%;
    left: 10%;
    animation-delay: 1s;
}

.auth-illustration .heart-particle:nth-child(4) {
    top: 50%;
    left: 5%;
    animation-delay: 1.5s;
}

@keyframes ringPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.2); }
    50% { box-shadow: 0 0 0 20px rgba(233, 30, 99, 0); }
}

@keyframes heartFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-15px) scale(1.2); opacity: 1; }
}

/* Success Story Slider */
.story-slider {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.story-slide {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg);
    text-align: center;
    animation: slideStory 12s ease-in-out infinite;
}

.story-slide .story-quote {
    font-style: italic;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.story-slide .story-couple-name {
    font-family: var(--font-display);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: var(--primary);
}

.story-slide .story-date-small {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.story-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: var(--space-lg);
}

.story-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.story-dots .dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

@keyframes slideStory {
    0%, 30% { opacity: 1; transform: translateX(0); }
    33%, 63% { opacity: 1; transform: translateX(0); }
    66%, 96% { opacity: 1; transform: translateX(0); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Trust badges */
.trust-badges {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    margin-top: var(--space-2xl);
}

.trust-badge-item {
    text-align: center;
}

.trust-badge-item .badge-number {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-badge-item .badge-label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: 2px;
}


/* ---- RIGHT SIDE: Interaction/Form Zone ---- */
.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    position: relative;
    min-height: 100vh;
    overflow-y: auto;
    background: var(--bg-body);
}

.auth-form-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(233, 30, 99, 0.15), rgba(74, 144, 226, 0.15), transparent);
}

.auth-container {
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.6s ease;
}

.auth-container.wide {
    max-width: 580px;
}

/* ---- Glassmorphic Auth Card ---- */
.auth-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(233, 30, 99, 0.08);
    border-radius: var(--border-radius-xl);
    padding: var(--space-2xl);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: gradientSlide 4s ease infinite;
}

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---- Auth Header ---- */
.auth-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.auth-header .auth-logo {
    display: none; /* Hidden on split-screen, brand is on left panel */
}

.auth-header h2 {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-xs);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* ---- Auth Tabs (Enhanced) ---- */
.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(233, 30, 99, 0.08);
    border-radius: var(--border-radius-md);
    padding: 4px;
    margin-bottom: var(--space-xl);
}

.auth-tab {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-muted);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    position: relative;
}

.auth-tab.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.25);
}

.auth-tab:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

/* ---- Auth Tab Content ---- */
.auth-tab-content {
    display: none;
}

.auth-tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

/* ---- Form Row (two-column responsive grid) ---- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

/* ---- Floating Labels ---- */
.form-group-float {
    position: relative;
    margin-bottom: var(--space-lg);
}

.form-group-float .form-input-float {
    width: 100%;
    padding: 20px 16px 8px;
    background: var(--bg-input, rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-size: var(--fs-base);
    font-family: var(--font-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
    box-shadow: none;
}

.form-group-float .form-input-float:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
    background: var(--bg-surface, rgba(255, 255, 255, 0.06));
    outline: none !important;
}

.form-group-float .form-input-float:hover:not(:focus) {
    border-color: var(--border-color-light, rgba(255, 255, 255, 0.15));
}

.form-group-float .float-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fs-base);
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 0 2px;
}

.form-group-float .float-label i {
    font-size: var(--fs-sm);
    transition: color 0.3s ease;
}

/* Float up when focused or has value */
.form-group-float .form-input-float:focus ~ .float-label,
.form-group-float .form-input-float:not(:placeholder-shown) ~ .float-label {
    top: 8px;
    transform: translateY(0);
    font-size: 11px;
    color: var(--primary);
}

/* Handle browser autofill — labels must float up */
.form-group-float .form-input-float:-webkit-autofill ~ .float-label,
.form-group-float .form-input-float:-webkit-autofill:hover ~ .float-label,
.form-group-float .form-input-float:-webkit-autofill:focus ~ .float-label {
    top: 8px;
    transform: translateY(0);
    font-size: 11px;
    color: var(--primary);
}

.form-group-float .form-input-float:focus ~ .float-label i {
    color: var(--primary);
}

/* ---- Autofill: Cream theme ---- */
.form-group-float .form-input-float:-webkit-autofill,
.form-group-float .form-input-float:-webkit-autofill:hover,
.form-group-float .form-input-float:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary) !important;
    -webkit-box-shadow: 0 0 0 30px var(--bg-dark, #0A1A2A) inset !important;
    box-shadow: 0 0 0 30px var(--bg-dark, #0A1A2A) inset !important;
    border-color: var(--primary) !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: var(--text-primary);
}

/* Input with toggle (password) */
.form-group-float .input-toggle-float {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fs-md);
    color: var(--text-muted);
    cursor: pointer;
    z-index: 1;
    background: none;
    border: none;
    padding: 4px;
    transition: color 0.2s ease;
}

.form-group-float .input-toggle-float:hover {
    color: var(--primary);
}

/* ---- Micro-interaction: Validation Tick ---- */
.form-group-float .validation-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    font-size: var(--fs-md);
    color: var(--success);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.form-group-float .validation-icon.show {
    transform: translateY(-50%) scale(1);
}

.form-group-float.has-toggle .validation-icon {
    right: 42px;
}

/* ---- Form Enhancements for Auth ---- */
.auth-card .form-group {
    margin-bottom: var(--space-lg);
}

.auth-card .form-label {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-card .form-label .label-icon {
    font-size: var(--fs-base);
}

.auth-card .form-input {
    padding: 14px 16px;
    font-size: var(--fs-base);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(233, 30, 99, 0.08);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.auth-card .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    background: #ffffff;
}

.auth-card .form-input.with-icon {
    padding-left: 44px;
}

/* Input with icon wrapper */
.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fs-md);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
    transition: color 0.3s ease;
}

.input-icon-wrapper:focus-within .input-icon {
    color: var(--primary);
}

.input-icon-wrapper .input-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fs-md);
    color: var(--text-muted);
    cursor: pointer;
    z-index: 1;
    background: none;
    border: none;
    padding: 4px;
}

.input-icon-wrapper .input-toggle:hover {
    color: var(--primary);
}

/* ---- Phone Input with Country Code ---- */
.phone-input-group {
    display: flex;
    gap: var(--space-sm);
}

.phone-input-group .country-code {
    width: 80px;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(233, 30, 99, 0.08);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-size: var(--fs-base);
    text-align: center;
    flex-shrink: 0;
}

.phone-input-group .form-input {
    flex: 1;
}



/* ---- Divider with text ---- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.1), transparent);
}

.auth-divider span {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    white-space: nowrap;
}

/* ---- Social Login Buttons (Glass) ---- */
.social-login-btns {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(233, 30, 99, 0.08);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(233, 30, 99, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.08);
}

.btn-social .social-icon {
    font-size: var(--fs-lg);
}

/* ---- Auth Footer Links ---- */
.auth-footer {
    text-align: center;
    margin-top: var(--space-xl);
}

.auth-footer p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: var(--fw-semibold);
    transition: all 0.3s ease;
    position: relative;
}

.auth-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.auth-footer a:hover::after {
    width: 100%;
}

.auth-footer a:hover {
    color: var(--primary-light);
}

/* ---- Remember Me & Forgot ---- */
.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.auth-options .form-check-label {
    font-size: var(--fs-sm);
}

.auth-options .forgot-link {
    font-size: var(--fs-sm);
    color: var(--primary);
    font-weight: var(--fw-medium);
    transition: all 0.3s ease;
}

.auth-options .forgot-link:hover {
    color: var(--primary-light);
}

/* ---- Password Strength Meter (Enhanced) ---- */
.password-strength {
    margin-top: var(--space-sm);
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-bar .strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s ease;
    width: 0%;
}

.strength-fill.weak { width: 25%; background: linear-gradient(90deg, #FF5252, #FF5252); }
.strength-fill.fair { width: 50%; background: linear-gradient(90deg, #FFD740, #FFC400); }
.strength-fill.good { width: 75%; background: linear-gradient(90deg, #40C4FF, #00B0FF); }
.strength-fill.strong { width: 100%; background: linear-gradient(90deg, #00E676, #00C853); }

.strength-text {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ---- Multi-Step Signup Progress ---- */
.signup-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2xl);
    gap: 0;
}

.signup-progress .progress-step {
    display: flex;
    align-items: center;
    gap: 0;
}

.signup-progress .step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    flex-shrink: 0;
    font-family: var(--font-primary);
}

.signup-progress .step-circle.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.4);
    transform: scale(1.1);
}

.signup-progress .step-circle.completed {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.3);
}

.signup-progress .step-line {
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.signup-progress .step-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--success);
    transition: width 0.6s ease;
}

.signup-progress .step-line.completed {
    background: var(--success);
}

.signup-progress .step-line.completed::after {
    width: 100%;
}

/* Signup Step Content */
.signup-step {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.signup-step.active {
    display: block;
}

.signup-step .step-title {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-xs);
    text-align: center;
}

.signup-step .step-subtitle {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* Form row (two fields side by side) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* Step navigation buttons */
.step-navigation {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.step-navigation .btn {
    flex: 1;
}



/* ---- Photo Upload Preview ---- */
.photo-upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

.photo-upload-area:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.05);
}

.photo-upload-area .upload-icon {
    font-size: 48px;
    display: block;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.photo-upload-area .upload-text {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.photo-upload-area .upload-text strong {
    color: var(--primary);
}

.photo-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.photo-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview-item .remove-photo {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    background: rgba(255, 82, 82, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease;
}

.photo-preview-item .remove-photo:hover {
    transform: scale(1.1);
}

/* Select styles for auth */
.auth-card .form-select {
    background: var(--bg-input, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23B0B0C0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.auth-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none !important;
}

/* Remove Firefox dotted outline on select */
.auth-card .form-select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 var(--text-primary);
    outline: none !important;
}

/* Gray out placeholder option */
.auth-card .form-select option[value=""] {
    color: var(--text-muted);
}

.auth-card .form-select option {
    background: var(--bg-dark, #0A1A2A);
    color: var(--text-primary);
    padding: 8px;
}

/* Enhanced button for auth */
.auth-card .btn-primary {
    padding: 16px 24px;
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.auth-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.auth-card .btn-primary:hover::before {
    left: 100%;
}

/* ---- Skeleton Loaders for Auth ---- */
.auth-skeleton {
    display: none;
}

.auth-skeleton.loading {
    display: block;
}

.auth-skeleton .skeleton-input {
    height: 52px;
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-lg);
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.auth-skeleton .skeleton-btn {
    height: 52px;
    border-radius: var(--border-radius-pill);
    background: linear-gradient(90deg, rgba(233,30,99,0.1) 25%, rgba(233,30,99,0.2) 50%, rgba(233,30,99,0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ---- Auth Page Responsive ---- */
@media screen and (max-width: 1024px) {
    .auth-brand-panel {
        display: none; /* Hide brand panel on tablets */
    }

    .auth-form-panel {
        flex: 1;
    }

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

    .auth-header .auth-logo {
        display: inline-flex; /* Show logo in card on mobile */
        align-items: center;
        gap: var(--space-sm);
        margin-bottom: var(--space-lg);
        text-decoration: none;
    }

    .auth-header .auth-logo .logo-icon {
        width: 48px;
        height: 48px;
        background: var(--gradient-primary);
        border-radius: var(--border-radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: var(--fs-xl);
    }

    .auth-header .auth-logo .logo-text {
        font-size: var(--fs-xl);
        font-weight: var(--fw-bold);
        color: var(--text-primary);
    }

    .auth-header .auth-logo .logo-text span {
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

@media screen and (max-width: 768px) {
    .auth-form-panel {
        padding: 80px var(--space-md) var(--space-xl);
    }

    .auth-card {
        padding: var(--space-xl);
    }


    .form-row {
        grid-template-columns: 1fr;
    }

    .signup-progress .step-line {
        width: 20px;
    }

    .signup-progress .step-circle {
        width: 32px;
        height: 32px;
        font-size: var(--fs-xs);
    }
}

@media screen and (max-width: 480px) {
    .auth-card {
        padding: var(--space-lg);
        border-radius: var(--border-radius-lg);
    }


    .photo-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .auth-header h2 {
        font-size: var(--fs-xl);
    }
}

/* ---- Extra Animations ---- */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

