﻿/* =================================================================== */
/* ADDITIONAL AUTH STYLES - Add to site.css */
/* =================================================================== */

/* Enhanced Input Group States */
.input-group.focused {
    transform: translateY(-2px);
}

    .input-group.focused .form-input {
        border-color: var(--border-hover);
        background: var(--accent-blue-soft);
        box-shadow: 0 0 0 3px var(--accent-blue-soft);
    }

    .input-group.focused .input-icon {
        color: var(--accent-blue);
        transform: scale(1.1);
    }

.input-group.success {
    animation: successPulse 0.6s ease-out;
}

    .input-group.success .form-input {
        border-color: var(--accent-green);
        background: var(--accent-green-soft);
    }

    .input-group.success .input-icon {
        color: var(--accent-green);
    }

.input-group.error .form-input {
    border-color: var(--accent-red);
    background: var(--accent-red-soft);
    animation: shake 0.4s ease-in-out;
}

.input-group.error .input-icon {
    color: var(--accent-red);
}

/* Form Options Layout */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Enhanced Input Group Positioning */
.input-group {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .input-group .form-input {
        padding-left: 2.75rem;
        padding-right: 2.75rem;
    }

    .input-group.has-toggle .form-input {
        padding-right: 2.75rem;
    }

    .input-group .input-icon {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        font-size: 1rem;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .input-group .password-toggle {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: var(--text-muted);
        cursor: pointer;
        font-size: 1rem;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        z-index: 2;
    }

        .input-group .password-toggle:hover {
            color: var(--accent-blue);
            background: rgba(79, 70, 229, 0.1);
            transform: translateY(-50%) scale(1.1);
        }

/* Enhanced Form Check (Checkbox) */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.form-check-input {
    width: 1.125rem;
    height: 1.125rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

    .form-check-input:checked {
        background: var(--accent-blue);
        border-color: var(--accent-blue);
    }

        .form-check-input:checked::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: var(--text-primary);
            font-size: 0.75rem;
            font-weight: bold;
        }

.form-check-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 500;
}

/* Enhanced Button States */
.auth-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(79, 70, 229, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.auth-btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.auth-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Loading State Enhancement */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
    opacity: 0.8;
}

    .btn-loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 18px;
        margin: -9px 0 0 -9px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top: 2px solid white;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

/* Success Animation */
@keyframes successPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Shake Animation */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

/* Enhanced Auth Card Hover Effects */
.auth-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.2), 0 32px 64px rgba(0, 0, 0, 0.4);
}

/* Field Error Styling */
.field-error {
    color: var(--accent-red);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    animation: slideInError 0.3s ease-out;
}

@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Auth Alert */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.auth-alert-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.auth-alert-content p {
    margin: 0;
    line-height: 1.4;
}

/* Mobile Responsive Enhancements */
@media (max-width: 640px) {
    .form-options {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .form-check {
        justify-content: center;
        gap: 1rem;
    }

    .auth-link {
        text-align: center;
        padding: 0.5rem 1rem;
        background: var(--accent-blue-soft);
        border-radius: 12px;
        display: block;
    }

    .input-group .form-input {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* Focus Accessibility */
.form-input:focus,
.auth-btn-primary:focus,
.auth-btn-secondary:focus,
.password-toggle:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.form-check:focus-within {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .auth-card {
        border-width: 2px;
        border-color: var(--text-primary);
    }

    .input-group .form-input {
        border-width: 2px;
    }

    .form-check-input {
        border-width: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .input-group,
    .auth-btn-primary,
    .auth-btn-secondary,
    .auth-card,
    .form-check-input,
    .password-toggle,
    .input-icon {
        transition: none !important;
        animation: none !important;
    }

        .input-group.focused {
            transform: none;
        }

        .auth-btn-primary:hover,
        .auth-btn-secondary:hover,
        .auth-card:hover {
            transform: none;
        }
}
/* =================================================================== */
/* REVOLUTIONARY LOGIN EXPERIENCE - Add to site.css */
/* =================================================================== */

/* Revolutionary Container */
.revolutionary-login-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

/* Left Panel: Engineering Showcase */
.login-showcase-panel {
    position: relative;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(147, 51, 234, 0.05) 25%, rgba(236, 72, 153, 0.05) 50%, rgba(245, 158, 11, 0.1) 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}

.showcase-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Floating Engineering Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-blue);
    animation: floatAdvanced 8s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

    .floating-element.blueprint {
        top: 15%;
        left: 10%;
        color: #2B00E8;
        animation-duration: 12s;
    }

    .floating-element.gear {
        top: 60%;
        left: 20%;
        color: #8b5cf6;
        animation-duration: 10s;
        animation-direction: reverse;
    }

    .floating-element.building {
        top: 30%;
        right: 15%;
        color: #06b6d4;
        animation-duration: 14s;
    }

    .floating-element.chart {
        bottom: 20%;
        right: 25%;
        color: #10b981;
        animation-duration: 11s;
    }

    .floating-element.tools {
        bottom: 40%;
        left: 5%;
        color: #f59e0b;
        animation-duration: 13s;
        animation-direction: reverse;
    }

/* Dynamic Grid Background */
.showcase-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, rgba(79, 70, 229, 0.3) 50%, transparent 100%);
    animation: gridPulse 4s ease-in-out infinite;
    animation-delay: calc(var(--index) * 0.5s);
}

    .grid-line.horizontal {
        width: 100%;
        height: 1px;
        top: calc(20% * var(--index));
    }

    .grid-line.vertical {
        height: 100%;
        width: 1px;
        left: calc(25% * var(--index));
        background: linear-gradient(180deg, transparent 0%, rgba(79, 70, 229, 0.3) 50%, transparent 100%);
    }

/* Showcase Content */
.showcase-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Advanced Brand Logo */
.brand-logo-advanced {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    animation: logoBreath 4s ease-in-out infinite;
}

.logo-ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

    .logo-ring.outer {
        inset: 0;
        border-color: rgba(79, 70, 229, 0.3);
        animation-duration: 20s;
    }

    .logo-ring.middle {
        inset: 15px;
        border-color: rgba(147, 51, 234, 0.5);
        animation-duration: 15s;
        animation-direction: reverse;
    }

    .logo-ring.inner {
        inset: 30px;
        border-color: rgba(236, 72, 153, 0.7);
        animation-duration: 10s;
    }

.logo-core {
    position: absolute;
    inset: 40px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
    animation: coreGlow 3s ease-in-out infinite alternate;
}

/* Brand Typography */
.brand-title-advanced {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #a1a1a1, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    animation: titleShimmer 3s ease-in-out infinite;
}

.brand-tagline {
    position: relative;
    margin-bottom: 3rem;
}

.tagline-text {
    color: #a1a1a1;
    font-size: 1.125rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.tagline-underline {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    animation: underlineExpand 2s ease-out 1s forwards;
}

/* Showcase Stats */
.showcase-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    opacity: 0;
    animation: statFadeIn 0.8s ease-out forwards;
    animation-delay: var(--delay);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Right Panel: Form */
.login-form-panel {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

    .login-form-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
        z-index: 1;
    }

.form-container {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 10;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-animation {
    font-size: 2rem;
    color: #4f46e5;
    animation: iconPulse 3s ease-in-out infinite;
}

.welcome-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed, #ec4899, #4f46e5);
    border-radius: 22px;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
}

.welcome-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(15, 15, 15, 0.95);
    border-radius: 18px;
    z-index: -1;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.welcome-subtitle {
    color: #a1a1a1;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Advanced Alert */
.advanced-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
    animation: alertSlideIn 0.4s ease-out;
}

.alert-icon {
    color: #fca5a5;
    font-size: 1.125rem;
    margin-top: 0.125rem;
}

.alert-content h4 {
    color: #fca5a5;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.alert-content p {
    color: #fdb5b5;
    font-size: 0.8125rem;
    margin: 0;
}

.alert-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: #fca5a5;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

    .alert-close:hover {
        background: rgba(239, 68, 68, 0.2);
    }

/* Advanced Form */
.advanced-form {
    margin-bottom: 2rem;
}

/* Advanced Field Group */
.advanced-field-group {
    margin-bottom: 2rem;
    position: relative;
}

.field-label-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.advanced-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.01em;
}

.label-indicator {
    width: 6px;
    height: 6px;
    background: #4f46e5;
    border-radius: 50%;
    animation: indicatorPulse 2s ease-in-out infinite;
}

/* Advanced Input Wrapper */
.advanced-input-wrapper {
    position: relative;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-background {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.input-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.advanced-input {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 3.5rem 0 3.5rem;
    font-size: 1rem;
    color: white;
    z-index: 5;
}

    .advanced-input::placeholder {
        color: rgba(255, 255, 255, 0.4);
        transition: all 0.3s ease;
    }

.input-icon-container {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
}

.input-icon {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.password-reveal-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 6;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
    transform: scale(0);
    border-radius: 8px;
}

.password-reveal-btn:hover {
    background: rgba(79, 70, 229, 0.2);
    color: #4f46e5;
}

.input-focus-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

/* Input States */
.advanced-input-wrapper.focused .input-background {
    background: rgba(79, 70, 229, 0.1);
}

.advanced-input-wrapper.focused .input-border {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.advanced-input-wrapper.focused .input-icon {
    color: #4f46e5;
    transform: scale(1.1);
}

.advanced-input-wrapper.focused .input-focus-effect {
    opacity: 1;
}

.advanced-input-wrapper.has-value .advanced-input::placeholder {
    opacity: 0;
}

.advanced-input-wrapper.success .input-border {
    border-color: #10b981;
}

.advanced-input-wrapper.success .input-icon {
    color: #10b981;
}

.advanced-input-wrapper.error .input-border {
    border-color: #ef4444;
    animation: errorShake 0.4s ease-in-out;
}

.advanced-input-wrapper.error .input-icon {
    color: #ef4444;
}

/* Password Strength Indicator */
.password-strength-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    background: #ef4444;
}

    .strength-bar.weak {
        background: #ef4444;
    }

    .strength-bar.fair {
        background: #f59e0b;
    }

    .strength-bar.good {
        background: #2B00E8;
    }

    .strength-bar.strong {
        background: #10b981;
    }

/* Advanced Options */
.advanced-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 1rem;
}

/* Custom Checkbox */
.custom-checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.custom-checkbox {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: #a1a1a1;
    font-size: 0.875rem;
    font-weight: 500;
}

.checkbox-visual {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    overflow: hidden;
}

.checkbox-background {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-checkmark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.custom-checkbox:checked + .checkbox-label .checkbox-background {
    background: #4f46e5;
    border-color: #4f46e5;
}

.custom-checkbox:checked + .checkbox-label .checkbox-checkmark {
    opacity: 1;
    transform: scale(1);
}

/* Forgot Password Link */
.forgot-password-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4f46e5;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

    .forgot-password-link:hover {
        background: rgba(79, 70, 229, 0.1);
        transform: translateX(-2px);
    }

/* Advanced Submit Button */
.submit-section {
    margin-bottom: 2rem;
}

.advanced-submit-btn {
    position: relative;
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.btn-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transition: all 0.3s ease;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 100%;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-icon {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.btn-loading-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transition: all 0.3s ease;
}

.spinner-ring {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-success-check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.advanced-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.4);
}

    .advanced-submit-btn:hover .btn-icon {
        transform: translateX(-4px);
    }

    .advanced-submit-btn:hover .btn-background {
        background: linear-gradient(135deg, #5b52f0, #8b5cf6);
    }

.advanced-submit-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Button States */
.advanced-submit-btn.loading .btn-content {
    opacity: 0;
}

.advanced-submit-btn.loading .btn-loading-spinner {
    opacity: 1;
}

.advanced-submit-btn.success .btn-content,
.advanced-submit-btn.success .btn-loading-spinner {
    opacity: 0;
}

.advanced-submit-btn.success .btn-success-check {
    opacity: 1;
}

.advanced-submit-btn.success .btn-background {
    background: linear-gradient(135deg, #10b981, #059669);
}

.advanced-submit-btn.error {
    animation: errorShake 0.4s ease-in-out;
}

    .advanced-submit-btn.error .btn-background {
        background: linear-gradient(135deg, #ef4444, #dc2626);
    }

/* Signup Section */
.signup-section {
    margin-bottom: 2rem;
}

.divider-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.divider-text {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.signup-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 56px;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.signup-background {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.signup-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.signup-hover-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.signup-link:hover .signup-background {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(79, 70, 229, 0.3);
}

.signup-link:hover .signup-hover-effect {
    opacity: 1;
}

.signup-link:hover {
    transform: translateY(-2px);
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.security-icon {
    color: #10b981;
    font-size: 1.25rem;
}

.security-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .security-text strong {
        color: #10b981;
        font-size: 0.875rem;
        font-weight: 600;
    }

    .security-text span {
        color: #86efac;
        font-size: 0.8125rem;
    }

/* Field Error */
.field-error.advanced-error {
    color: #fca5a5;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: errorSlideIn 0.3s ease-out;
}

/* Advanced Toast */
.advanced-toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    max-width: 300px;
    opacity: 0;
    transform: translateX(100%) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .advanced-toast.show {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.advanced-toast.success {
    border-color: rgba(16, 185, 129, 0.3);
}

    .advanced-toast.success .toast-content i {
        color: #10b981;
    }

.advanced-toast.error {
    border-color: rgba(239, 68, 68, 0.3);
}

    .advanced-toast.error .toast-content i {
        color: #ef4444;
    }

.advanced-toast.info {
    border-color: rgba(79, 70, 229, 0.3);
}

    .advanced-toast.info .toast-content i {
        color: #4f46e5;
    }

/* Animations */
@keyframes floatAdvanced {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-5deg);
    }

    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes logoBreath {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes coreGlow {
    from {
        box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
    }

    to {
        box-shadow: 0 0 50px rgba(79, 70, 229, 0.8), 0 0 100px rgba(79, 70, 229, 0.3);
    }
}

@keyframes titleShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes underlineExpand {
    from {
        width: 0;
    }

    to {
        width: 60%;
    }
}

@keyframes statFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes borderRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes indicatorPulse {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

@keyframes focusRipple {
    from {
        transform: scale(0);
        opacity: 1;
    }

    to {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes ripple {
    from {
        transform: scale(0);
        opacity: 1;
    }

    to {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes errorSlideIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .revolutionary-login-container {
        grid-template-columns: 1fr;
        grid-template-rows: 40vh 1fr;
    }

    .login-showcase-panel {
        padding: 2rem 1rem;
    }

    .showcase-stats {
        gap: 2rem;
    }

    .brand-title-advanced {
        font-size: 2rem;
    }

    .floating-element {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .revolutionary-login-container {
        grid-template-rows: 35vh 1fr;
    }

    .login-form-panel {
        padding: 1.5rem 1rem;
    }

    .showcase-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .advanced-options {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .forgot-password-link {
        justify-content: center;
        background: rgba(79, 70, 229, 0.1);
        padding: 0.75rem;
    }

    .brand-logo-advanced {
        width: 80px;
        height: 80px;
    }

    .logo-core {
        inset: 25px;
        font-size: 1.5rem;
    }

    .floating-element {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        max-width: none;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .brand-title-advanced {
        font-size: 1.5rem;
    }

    .advanced-input {
        font-size: 0.9rem;
    }

    .advanced-toast {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .input-border,
    .checkbox-background,
    .signup-background {
        border-width: 2px;
    }
}

/* Performance Optimizations */
.floating-element,
.logo-ring,
.grid-line {
    will-change: transform;
}

.advanced-input-wrapper,
.advanced-submit-btn,
.signup-link {
    will-change: transform, box-shadow;
}


/* =================================================================== */
/* REGISTER PAGE STYLES - Add to site.css */
/* =================================================================== */

/* Register Container */
.revolutionary-register-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

/* Register Showcase Panel */
.register-showcase-panel {
    position: relative;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(147, 51, 234, 0.06) 25%, rgba(236, 72, 153, 0.04) 50%, rgba(245, 158, 11, 0.08) 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}

/* Journey Path */
.journey-path {
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 4rem;
    z-index: 3;
}

.path-step {
    display: flex;
    align-items: center;
    animation: pathStepReveal 1s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

.step-node {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-blue);
    position: relative;
    z-index: 2;
}

.step-line {
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.5) 0%, rgba(147, 51, 234, 0.3) 100%);
    margin: 1rem 0;
    border-radius: 2px;
    transform: scaleY(0);
    animation: lineGrow 0.8s ease-out forwards;
    animation-delay: calc(var(--delay) + 0.5s);
}

/* Floating Particles for Register */
.floating-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

/* Journey Indicator */
.journey-indicator {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 3rem;
}

.current-step-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: rgba(79, 70, 229, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-blue);
    animation: iconPulse 3s ease-in-out infinite;
}

.current-step-display h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.current-step-display p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin: 0;
}

/* Journey Benefits */
.journey-benefits {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: benefitFadeIn 0.8s ease-out forwards;
    animation-delay: var(--delay);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.25rem;
}

.benefit-item span {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Register Form Panel */
.register-form-panel {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow-y: auto;
}

    .register-form-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.03) 0%, transparent 70%);
        z-index: 1;
    }

/* Progress Header */
.progress-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.step-progress {
    position: relative;
    margin-bottom: 1rem;
}

.progress-track {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue));
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-indicators {
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.step-indicator {
    position: relative;
    width: 20px;
    height: 20px;
}

.indicator-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.indicator-dot {
    position: absolute;
    inset: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.step-indicator.active .indicator-ring {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.step-indicator.active .indicator-dot {
    background: var(--accent-blue);
}

.step-indicator.completed .indicator-ring {
    border-color: var(--accent-green);
    background: var(--accent-green);
}

.step-indicator.completed .indicator-dot {
    background: white;
}

.step-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.step-count {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.step-title {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Form Steps */
.register-form {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 10;
}

.form-step {
    display: none;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
}

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

.step-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.step-title-main {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.step-fields {
    margin-bottom: 2.5rem;
}

/* Field Layouts */
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.optional-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 0.5rem;
}

/* Selection Fields */
.selection-field-group {
    margin-bottom: 2rem;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.75rem;
}

.role-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.selection-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    overflow: hidden;
}

    .selection-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .selection-card:hover::before {
        opacity: 1;
    }

    .selection-card:hover {
        transform: translateY(-4px);
        border-color: rgba(79, 70, 229, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .selection-card.selected {
        border-color: var(--accent-blue);
        background: rgba(79, 70, 229, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
    }

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin: 0 auto 0.75rem;
    transition: all 0.3s ease;
}

.selection-card:hover .card-icon {
    background: rgba(79, 70, 229, 0.2);
    transform: scale(1.1);
}

.selection-card span {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.role-card .card-description {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Advanced Textarea */
.textarea-wrapper {
    height: auto;
}

.advanced-textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Info Cards */
.info-card {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--accent-blue);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
}

/* Tips Card */
.tips-card {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

    .tips-header i {
        color: var(--accent-green);
        font-size: 1.125rem;
    }

    .tips-header h4 {
        color: var(--accent-green);
        font-size: 0.875rem;
        font-weight: 600;
        margin: 0;
    }

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .tips-list li {
        color: var(--text-secondary);
        font-size: 0.8125rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
        padding-left: 0.25rem;
    }

        .tips-list li:before {
            content: '•';
            color: var(--accent-green);
            font-weight: bold;
            margin-right: 0.5rem;
        }

/* Terms Agreement */
.terms-agreement {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

    .terms-agreement:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(79, 70, 229, 0.3);
    }

    .terms-agreement.checked {
        border-color: var(--accent-blue);
        background: rgba(79, 70, 229, 0.1);
    }

.terms-text p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.terms-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .terms-link:hover {
        color: var(--accent-blue);
        text-decoration: underline;
    }

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.prev-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .prev-btn:hover {
        background: rgba(255, 255, 255, 0.08);
        color: var(--text-primary);
        transform: translateY(-2px);
    }

.next-btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue));
    color: white;
    margin-left: auto;
}

    .next-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(79, 70, 229, 0.4);
    }

.submit-btn {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green));
    color: white;
    flex: 1;
    position: relative;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
    }

    .submit-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
    }

/* Auth Footer Section */
.auth-footer-section {
    margin-top: 2rem;
    text-align: center;
}

.login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 48px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.link-background {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.link-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.link-hover-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-link:hover .link-background {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(79, 70, 229, 0.3);
}

.login-link:hover .link-hover-effect {
    opacity: 1;
}

.login-link:hover .link-content {
    color: var(--text-primary);
}

/* =================================================================== */
/* FORGOT PASSWORD PAGE STYLES */
/* =================================================================== */

/* Recovery Container */
.revolutionary-recovery-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Recovery Card */
.recovery-card {
    width: 100%;
    max-width: 480px;
    position: relative;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.card-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Recovery Particles */
.recovery-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.recovery-particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    animation: recoveryParticleFloat 8s ease-in-out infinite;
    animation-delay: var(--delay);
}

.recovery-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.03) 0%, transparent 70%);
    animation: recoveryGlow 6s ease-in-out infinite;
}

.recovery-content {
    position: relative;
    z-index: 10;
    padding: 3rem 2.5rem;
}

/* Recovery Header */
.recovery-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.recovery-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.icon-rings {
    position: absolute;
    inset: 0;
}

.icon-ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: iconRingRotate 8s linear infinite;
}

    .icon-ring.outer {
        inset: 0;
        border-color: rgba(79, 70, 229, 0.2);
        animation-duration: 12s;
    }

    .icon-ring.middle {
        inset: 15px;
        border-color: rgba(79, 70, 229, 0.4);
        animation-duration: 8s;
        animation-direction: reverse;
    }

    .icon-ring.inner {
        inset: 30px;
        border-color: rgba(79, 70, 229, 0.6);
        animation-duration: 6s;
    }

.recovery-icon {
    position: absolute;
    inset: 35px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
    animation: recoveryIconGlow 3s ease-in-out infinite alternate;
}

.recovery-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.recovery-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* Recovery Success Message */
.recovery-success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: successSlideIn 0.5s ease-out;
}

.success-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.success-content h4 {
    color: var(--accent-green);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.success-content p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
}

/* Recovery Form */
.recovery-form {
    margin-bottom: 2rem;
}

.recovery-input {
    margin-bottom: 0.5rem;
}

.field-help-text {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
    margin-top: 0.75rem;
}

/* Recovery Submit Button */
.recovery-submit-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    position: relative;
    margin-bottom: 2rem;
}

    .recovery-submit-btn .btn-background {
        background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue));
    }

    .recovery-submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 40px rgba(79, 70, 229, 0.4);
    }

/* Recovery Tips */
.recovery-tips {
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

    .recovery-tips .tips-header {
        color: var(--accent-blue);
    }

    .recovery-tips .tips-list li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

        .recovery-tips .tips-list li:before {
            display: none;
        }

        .recovery-tips .tips-list li i {
            color: var(--accent-blue);
            font-size: 0.875rem;
            width: 16px;
            flex-shrink: 0;
        }

/* Recovery Footer */
.recovery-footer {
    margin-bottom: 2rem;
}

/* Support Section */
.support-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.support-icon {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.support-text p {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin: 0;
}

.support-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .support-link:hover {
        color: var(--accent-blue);
        text-decoration: underline;
    }

/* =================================================================== */
/* ANIMATIONS */
/* =================================================================== */

@keyframes pathStepReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineGrow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    33% {
        transform: translateY(-15px) scale(1.2);
    }

    66% {
        transform: translateY(10px) scale(0.8);
    }
}

@keyframes benefitFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes recoveryParticleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(10px, -10px) scale(1.2);
    }

    50% {
        transform: translate(-5px, 5px) scale(0.8);
    }

    75% {
        transform: translate(5px, -5px) scale(1.1);
    }
}

@keyframes recoveryGlow {
    0%, 100% {
        opacity: 0.5;
        transform: rotate(0deg) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: rotate(180deg) scale(1.1);
    }
}

@keyframes iconRingRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes recoveryIconGlow {
    from {
        box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
    }

    to {
        box-shadow: 0 0 40px rgba(79, 70, 229, 0.8), 0 0 80px rgba(79, 70, 229, 0.3);
    }
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================================================== */
/* RESPONSIVE DESIGN */
/* =================================================================== */

@media (max-width: 1024px) {
    .revolutionary-register-container {
        grid-template-columns: 1fr;
        grid-template-rows: 40vh 1fr;
    }

    .register-showcase-panel {
        padding: 2rem 1rem;
    }

    .journey-benefits {
        gap: 1rem;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .selection-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .revolutionary-register-container {
        grid-template-rows: 35vh 1fr;
    }

    .register-form-panel {
        padding: 1.5rem 1rem;
    }

    .journey-benefits {
        flex-direction: column;
        gap: 1rem;
    }

    .step-navigation {
        flex-direction: column;
    }

    .revolutionary-recovery-container {
        padding: 1rem;
    }

    .recovery-content {
        padding: 2rem 1.5rem;
    }

    .recovery-title {
        font-size: 1.5rem;
    }

    .recovery-icon-container {
        width: 80px;
        height: 80px;
    }

    .recovery-icon {
        inset: 25px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        max-width: none;
    }

    .step-title-main {
        font-size: 1.5rem;
    }

    .recovery-subtitle {
        font-size: 0.9rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .path-step,
    .particle,
    .recovery-particle,
    .icon-ring,
    .recovery-icon {
        animation: none !important;
    }
}

@media (prefers-contrast: high) {
    .selection-card,
    .terms-agreement,
    .info-card,
    .tips-card {
        border-width: 2px;
    }
}

/* Performance Optimizations */
.path-step,
.particle,
.recovery-particle,
.icon-ring {
    will-change: transform, opacity;
}
/* =================================================================== */
/* MOBILE-FIRST REGISTER PAGE STYLES - Add to site.css */
/* =================================================================== */

/* Mobile Register Container */
.mobile-register-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Register Header */
.register-header {
    position: relative;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem 1rem;
    flex-shrink: 0;
}

.header-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.progress-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.progress-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    animation: progressParticleFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

    .progress-particle:nth-child(1) {
        top: 20%;
        left: 20%;
    }

    .progress-particle:nth-child(2) {
        top: 60%;
        left: 80%;
    }

    .progress-particle:nth-child(3) {
        top: 40%;
        left: 50%;
    }

.header-content {
    position: relative;
    z-index: 10;
    max-width: 480px;
    margin: 0 auto;
}

.welcome-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.brand-mini-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

.register-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.register-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Progress */
.mobile-progress {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue));
    border-radius: 2px;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

#currentStepText {
    color: var(--text-muted);
    font-weight: 500;
}

#stepTitleText {
    color: var(--text-primary);
    font-weight: 600;
}

/* Form Container */
.register-form-container {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-register-form {
    flex: 1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

/* Mobile Steps */
.mobile-step {
    display: none; /* Hide all steps by default */
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .mobile-step.active {
        display: block; /* Show only the active step */
        opacity: 1;
        transform: translateX(0);
    }

.step-content {
    flex: 1;
    padding-bottom: 1rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Mobile Field Groups */
.mobile-field-group {
    margin-bottom: 1.5rem;
    position: relative;
}

    .mobile-field-group.optional {
        opacity: 0.8;
    }

.mobile-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

    .mobile-label i {
        color: var(--accent-blue);
        font-size: 0.95rem;
        width: 16px;
        text-align: center;
    }

/* Mobile Input Wrapper */
.mobile-input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .mobile-input-wrapper:hover {
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-input-wrapper.focused {
        border-color: var(--accent-blue);
        background: rgba(79, 70, 229, 0.05);
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        transform: translateY(-2px);
    }

    .mobile-input-wrapper.success {
        border-color: var(--accent-green);
        background: rgba(16, 185, 129, 0.05);
    }

    .mobile-input-wrapper.error {
        border-color: var(--accent-red);
        background: rgba(239, 68, 68, 0.05);
        animation: errorShake 0.4s ease-in-out;
    }

.mobile-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

    .mobile-input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

.mobile-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.input-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue));
    transition: width 0.3s ease;
}

.mobile-input-wrapper.focused .input-accent {
    width: 100%;
}

/* Role Selection Grid */
.role-selection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.role-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .role-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .role-card:hover::before {
        opacity: 1;
    }

    .role-card:hover {
        transform: translateY(-4px);
        border-color: rgba(79, 70, 229, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .role-card.selected {
        border-color: var(--accent-blue);
        background: rgba(79, 70, 229, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
    }

.role-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-blue);
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.role-card:hover .role-icon {
    background: rgba(79, 70, 229, 0.2);
    transform: scale(1.1);
}

.role-card h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.role-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

/* Mobile Terms */
.mobile-terms {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

    .mobile-terms:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(79, 70, 229, 0.3);
    }

    .mobile-terms.checked {
        border-color: var(--accent-blue);
        background: rgba(79, 70, 229, 0.1);
    }

.terms-checkbox {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-mark {
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-terms.checked .terms-checkbox {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.mobile-terms.checked .checkbox-mark {
    opacity: 1;
    transform: scale(1);
}

.terms-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.terms-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .terms-link:hover {
        color: var(--accent-blue);
        text-decoration: underline;
    }

/* Submit Info */
.submit-info {
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .info-text strong {
        color: var(--accent-blue);
        font-size: 0.875rem;
        font-weight: 600;
    }

    .info-text span {
        color: var(--text-secondary);
        font-size: 0.8125rem;
        line-height: 1.4;
    }

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-height: 56px;
}

    .mobile-btn.secondary {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-secondary);
        border: 1px solid rgba(255, 255, 255, 0.1);
        flex: 0 0 auto;
    }

        .mobile-btn.secondary:hover {
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-primary);
            transform: translateY(-2px);
        }

    .mobile-btn.primary {
        background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue));
        color: white;
        flex: 1;
    }

        .mobile-btn.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(79, 70, 229, 0.4);
        }

    .mobile-btn.submit {
        background: linear-gradient(135deg, var(--accent-green), var(--accent-green));
        color: white;
        flex: 1;
        position: relative;
    }

        .mobile-btn.submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
        }

        .mobile-btn.submit:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .mobile-btn.submit.loading .btn-text {
            opacity: 0;
        }

        .mobile-btn.submit.loading .btn-loading {
            opacity: 1;
        }

.btn-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Field Error */
.field-error {
    color: var(--accent-red);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: errorSlideIn 0.3s ease-out;
}

/* Mobile Alert */
.mobile-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.75rem;
    animation: alertSlideIn 0.4s ease-out;
}

    .mobile-alert .alert-icon {
        color: var(--accent-red);
        font-size: 1.125rem;
        margin-top: 0.125rem;
    }

    .mobile-alert .alert-content h4 {
        color: var(--accent-red);
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .mobile-alert .alert-content p {
        color: var(--text-secondary);
        font-size: 0.8125rem;
        margin: 0;
    }

/* Auth Link Section */
.auth-link-section {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

    .auth-link-section p {
        color: var(--text-muted);
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

.auth-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .auth-link:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-primary);
        transform: translateY(-1px);
    }

/* Mobile Toast */
.mobile-toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    left: 1rem;
    z-index: 10000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .mobile-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.mobile-toast.success {
    border-color: rgba(16, 185, 129, 0.3);
}

    .mobile-toast.success .toast-content i {
        color: var(--accent-green);
    }

.mobile-toast.error {
    border-color: rgba(239, 68, 68, 0.3);
}

    .mobile-toast.error .toast-content i {
        color: var(--accent-red);
    }

.mobile-toast.info {
    border-color: rgba(79, 70, 229, 0.3);
}

    .mobile-toast.info .toast-content i {
        color: var(--accent-blue);
    }

/* =================================================================== */
/* ANIMATIONS */
/* =================================================================== */

@keyframes progressParticleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(5px, -5px) scale(1.2);
    }

    66% {
        transform: translate(-3px, 3px) scale(0.8);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

@keyframes errorSlideIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =================================================================== */
/* RESPONSIVE DESIGN */
/* =================================================================== */

@media (min-width: 640px) {
    .register-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .register-form-container {
        padding: 1.5rem;
    }

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

    .step-actions {
        flex-direction: row;
    }

    .mobile-btn.secondary {
        flex: 0 0 120px;
    }

    .mobile-toast {
        right: 1.5rem;
        left: auto;
        max-width: 320px;
    }
}

@media (min-width: 768px) {
    .brand-mini-logo {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .register-title {
        font-size: 2rem;
    }

    .step-title {
        font-size: 1.75rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .progress-particle,
    .brand-mini-logo,
    .mobile-input-wrapper,
    .role-card {
        animation: none !important;
    }

    .mobile-step {
        transition: none !important;
    }
}

@media (prefers-contrast: high) {
    .mobile-input-wrapper,
    .role-card,
    .mobile-terms,
    .mobile-btn {
        border-width: 2px;
    }
}

/* Performance Optimizations */
.progress-particle,
.brand-mini-logo,
.mobile-input-wrapper,
.role-card {
    will-change: transform;
}

/* iPhone Safe Area */
@supports (padding: max(0px)) {
    .register-header {
        padding-top: max(1.5rem, env(safe-area-inset-top));
    }

    .register-form-container {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .mobile-register-container {
        background: linear-gradient(135deg, #000000 0%, #111111 100%);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .progress-particle {
        width: 4px;
        height: 4px;
    }
}
/* ===============================================
   ENHANCED FINANCIAL VIEWS - MOBILE-FIRST 2025
   =============================================== */

/* ===== MODERN CARD SYSTEM ===== */
.smart-card {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .smart-card:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }

    .smart-card:active {
        transform: translateY(0) scale(0.98);
    }

/* ===== PROGRESSIVE DISCLOSURE ===== */
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

    .collapsible-content.expanded {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
    }

.collapse-trigger {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

    .collapse-trigger:hover {
        color: rgba(59, 130, 246, 0.8);
    }

    .collapse-trigger i {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .collapse-trigger.expanded i {
        transform: rotate(180deg);
    }

/* ===== ENHANCED PROGRESS INDICATORS ===== */
.progress-ring {
    position: relative;
    display: inline-block;
}

    .progress-ring svg {
        transform: rotate(-90deg);
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
    }

    .progress-ring .progress-circle {
        transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
        stroke-linecap: round;
    }

    .progress-ring .progress-glow {
        filter: blur(3px);
        opacity: 0.6;
    }

.progress-bar-modern {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill-modern {
    height: 100%;
    border-radius: 4px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, var(--progress-start, #3b82f6), var(--progress-end, #1d4ed8));
}

    .progress-fill-modern::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        animation: progress-shine 2s infinite;
    }

@keyframes progress-shine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* ===== SMART BUTTONS ===== */
.btn-smart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 44px;
    min-width: 44px;
}

    .btn-smart::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .btn-smart:hover::before {
        opacity: 1;
    }

    .btn-smart:active {
        transform: scale(0.96);
    }

    .btn-smart:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none !important;
    }

/* Button Variants */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

    .btn-primary:hover {
        box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
        transform: translateY(-2px);
    }

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

    .btn-success:hover {
        box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
        transform: translateY(-2px);
    }

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

    .btn-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.3);
    }

/* ===== FLOATING ACTION BUTTON ===== */
.fab {
    position: fixed;
    bottom: 5rem;
    left: 1rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

    .fab:hover {
        transform: scale(1.1);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    }

    .fab:active {
        transform: scale(0.95);
    }

.fab-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.fab-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* FAB Menu */
.fab-menu {
    position: fixed;
    bottom: 5rem;
    left: 1rem;
    z-index: 999;
}

.fab-menu-items {
    position: absolute;
    bottom: 4rem;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.fab-menu.open .fab-menu-items {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.fab-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .fab-menu-item:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }

/* ===== METRIC CARDS ===== */
.metric-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .metric-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--metric-color, #3b82f6);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .metric-card:hover::before {
        opacity: 1;
    }

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.metric-trend {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.375rem;
    font-weight: 600;
    margin-top: 0.25rem;
    display: inline-block;
}

    .metric-trend.positive {
        background: rgba(16, 185, 129, 0.2);
        color: #10b981;
    }

    .metric-trend.negative {
        background: rgba(239, 68, 68, 0.2);
        color: #ef4444;
    }

/* ===== TIMELINE ENHANCEMENTS ===== */
.timeline-modern {
    position: relative;
    padding: 0;
}

    .timeline-modern::before {
        content: '';
        position: absolute;
        left: 1rem;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(180deg, #3b82f6, #8b5cf6, #ec4899);
        border-radius: 1px;
    }

.timeline-item-modern {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 2rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

    .timeline-item-modern.animate-in {
        opacity: 1;
        transform: translateX(0);
    }

.timeline-marker-modern {
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.timeline-content-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

    .timeline-content-modern:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.15);
    }

/* ===== STATUS INDICATORS ===== */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid;
}

    .status-indicator.success {
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
        border-color: rgba(16, 185, 129, 0.3);
    }

    .status-indicator.warning {
        background: rgba(245, 158, 11, 0.1);
        color: #f59e0b;
        border-color: rgba(245, 158, 11, 0.3);
    }

    .status-indicator.info {
        background: rgba(59, 130, 246, 0.1);
        color: #3b82f6;
        border-color: rgba(59, 130, 246, 0.3);
    }

    .status-indicator.error {
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
        border-color: rgba(239, 68, 68, 0.3);
    }

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===== ENHANCED ANIMATIONS ===== */
.animate-slide-up {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== LOADING STATES ===== */
.loading {
    position: relative;
    pointer-events: none;
}

    .loading::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(26, 26, 26, 0.8);
        border-radius: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .loading::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid transparent;
        border-top: 2px solid #3b82f6;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        z-index: 1;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== TOUCH INTERACTIONS ===== */
.touch-feedback {
    position: relative;
    overflow: hidden;
}

    .touch-feedback::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
        opacity: 0;
        transform: scale(0);
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .touch-feedback:active::after {
        opacity: 1;
        transform: scale(1);
        transition: all 0.1s ease;
    }

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 640px) {
    .fab {
        bottom: 4rem;
        width: 48px;
        height: 48px;
    }

    .fab-menu {
        bottom: 4rem;
    }

    .fab-menu-items {
        bottom: 3.5rem;
    }

    .smart-card {
        padding: 0.75rem;
    }

    .metric-card {
        padding: 0.75rem;
    }

    .timeline-item-modern {
        padding-left: 2.5rem;
        padding-bottom: 1.5rem;
    }

    .timeline-marker-modern {
        width: 1.5rem;
        height: 1.5rem;
        left: -0.375rem;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.focus-visible:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .smart-card {
        border-color: rgba(255, 255, 255, 0.3);
    }

    .btn-outline {
        border-color: rgba(255, 255, 255, 0.5);
    }

    .status-indicator {
        border-width: 2px;
    }
}

/* ===== DARK MODE ENHANCEMENTS ===== */
@media (prefers-color-scheme: dark) {
    .smart-card {
        background: rgba(0, 0, 0, 0.7);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .metric-card {
        background: rgba(0, 0, 0, 0.5);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .fab,
    .fab-menu,
    .btn-smart,
    .floating-shapes {
        display: none !important;
    }

    .smart-card {
        background: white;
        color: black;
        border: 1px solid #ccc;
    }

    .timeline-modern::before {
        background: #ccc;
    }
}