/* EventSpace Unified CSS - Login Page Foundation */
:root {
    --primary-color: #9932cc;
    --secondary-color: #00d4ff;
    --accent-color: #E2C044;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --background-light: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --border-radius: 12px;
    
    /* Enhanced gradient colors - Login page foundation */
    --gradient-primary: linear-gradient(135deg, #800080 0%, #9932cc 25%, #183753 75%, #1e425a 100%);
    --gradient-button: linear-gradient(135deg, #9932cc 0%, #00d4ff 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #E2C044 0%, #f39c12 100%);
    --gradient-success: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    --gradient-warning: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    
    /* Glassmorphism effects - Login page style */
    --glass-background: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glass-backdrop: blur(10px);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif !important;
    background: var(--gradient-primary) !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow-x: hidden !important;
}

body::before {
    content: '' !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat !important;
    z-index: 1 !important;
    animation: subtle-move 20s ease-in-out infinite !important;
    pointer-events: none !important; /* Allow interactions to pass through */
}

body::after {
    content: '' !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(circle at 20% 80%, rgba(226, 192, 68, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(128, 0, 128, 0.1) 0%, transparent 50%) !important;
    z-index: 1 !important;
    animation: gradient-shift 15s ease-in-out infinite !important;
    pointer-events: none !important; /* Allow interactions to pass through */
}

@keyframes subtle-move {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes gradient-shift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.1; }
}

.main-container {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 70px;
    padding: 0.5rem 0;
}

/* Ensure navbar buttons are clickable */
.navbar .btn {
    position: relative;
    z-index: 1001;
    pointer-events: auto;
}

.navbar .btn-outline-primary,
.navbar .btn-outline-secondary {
    min-width: 90px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
}

.navbar-text {
    font-weight: 500;
    color: var(--text-primary) !important;
}

/* Navbar container improvements */
.navbar .container {
    max-width: 100%;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Allow navbar collapse to expand */
.navbar-collapse {
    flex-grow: 1;
}

/* Navbar nav improvements */
.navbar-nav {
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    justify-content: flex-end;
}

/* Fix navbar toggler */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    background: var(--glass-background);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    animation: gradient-flow 3s ease-in-out infinite;
}

@keyframes gradient-flow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white;
}

.card-body {
    padding: 2rem;
}

.btn-primary {
    background: var(--gradient-button) !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    padding: 1rem 2rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(153, 50, 204, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    color: white !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

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

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(153, 50, 204, 0.6) !important;
    background: linear-gradient(135deg, #b347d9, #00bfff) !important;
    color: white !important;
    text-decoration: none !important;
}

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

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

.btn-outline-primary {
    border: 1px solid #6c757d;
    color: #495057;
    background: white;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
}

.btn-outline-primary:hover {
    background: #f8f9fa;
    border-color: #495057;
    color: #212529;
    text-decoration: none;
}

.btn-outline-secondary {
    border: 1px solid #dc3545;
    color: #dc3545;
    background: white;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
}

.btn-outline-secondary:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
    text-decoration: none;
}

.form-control {
    border-radius: 10px !important;
    border: 2px solid #e9ecef !important;
    padding: 0.9rem 1.2rem !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px) !important;
}

.form-control:focus {
    border-color: #9932cc !important;
    box-shadow: 0 0 0 0.2rem rgba(153, 50, 204, 0.15) !important;
    background: white !important;
    transform: translateY(-1px) !important;
}

.form-control:hover {
    border-color: #9932cc !important;
    background: white !important;
}

textarea.form-control {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Enhanced file inputs */
input[type="file"].form-control {
    padding: 0.7rem 1rem !important;
    background: rgba(248, 249, 250, 0.9) !important;
    border: 2px dashed #e9ecef !important;
    transition: all 0.3s ease !important;
}

input[type="file"].form-control:hover {
    border-color: #9932cc !important;
    background: rgba(153, 50, 204, 0.05) !important;
}

.form-label {
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin-bottom: 0.7rem !important;
    display: flex !important;
    align-items: center !important;
    font-size: 1rem !important;
}

.form-label i {
    color: #9932cc !important;
    margin-right: 0.5rem !important;
}

/* Enhanced form text and error styling */
.form-text {
    color: #6c757d !important;
    font-size: 0.9rem !important;
    margin-top: 0.5rem !important;
}

.text-danger {
    color: #dc3545 !important;
    font-size: 0.9rem !important;
    margin-top: 0.5rem !important;
    font-weight: 500 !important;
}

/* Enhanced spacing */
.mb-3 {
    margin-bottom: 2rem !important;
}

.mb-4 {
    margin-bottom: 2.5rem !important;
}

.alert {
    border-radius: 12px !important;
    border: none !important;
    font-weight: 500 !important;
    padding: 1.2rem 1.5rem !important;
    backdrop-filter: blur(5px) !important;
    position: relative !important;
    overflow: hidden !important;
}

.alert::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1) !important;
    color: #155724 !important;
    border: 1px solid rgba(40, 167, 69, 0.3) !important;
}

.alert-success::before {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #721c24 !important;
    border: 1px solid rgba(220, 53, 69, 0.3) !important;
}

.alert-danger::before {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

.alert-info {
    background: rgba(13, 202, 240, 0.1) !important;
    color: #0c5460 !important;
    border: 1px solid rgba(13, 202, 240, 0.3) !important;
}

.alert-info::before {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1) !important;
    color: #856404 !important;
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
}

.alert-warning::before {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%) !important;
}

.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.badge.bg-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--accent-color), #ffc107) !important;
    color: #212529 !important;
}

.text-muted {
    color: var(--text-secondary) !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-container {
        padding: 0.5rem 0;
    }

    .navbar .container {
        padding: 0 0.5rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .navbar-nav .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .navbar-text {
        margin-bottom: 1rem;
        text-align: center;
        padding: 0.5rem;
        background: rgba(153, 50, 204, 0.1);
        border-radius: 6px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 0;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .card-header {
        padding: 1rem 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        height: 24px;
        width: 24px;
    }
    
    .navbar-nav .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    /* Auth layout tablet adjustments */
    .auth-container {
        padding: 1.5rem 1rem !important;
        padding-top: 3rem !important;
    }
    
    .auth-card {
        max-width: 500px !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-logo {
        height: 20px;
        width: 20px;
    }
    
    .navbar-nav .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .alert {
        margin: 0.5rem;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Auth layout mobile adjustments */
    .auth-container {
        padding: 1rem 0.5rem !important;
        padding-top: 2rem !important;
        min-height: calc(100vh - 60px) !important;
    }
    
    .auth-card {
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }
}

/* Authentication Page Styles */
.auth-container {
    position: relative !important;
    z-index: 2 !important;
    min-height: calc(100vh - 80px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem 1rem !important;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    max-width: 480px !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

.auth-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 5px !important;
    background: linear-gradient(135deg, #9932cc 0%, #00d4ff 100%) !important;
}

.auth-header {
    text-align: center !important;
    padding: 2rem !important;
    background: linear-gradient(135deg, rgba(153, 50, 204, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%) !important;
}

.auth-logo {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 1rem !important;
    background: linear-gradient(135deg, #9932cc 0%, #00d4ff 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(153, 50, 204, 0.3) !important;
}

.auth-title {
    color: #2c3e50 !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    font-size: 1.8rem !important;
}

.auth-subtitle {
    color: #6c757d !important;
    font-size: 1rem !important;
    margin-bottom: 0 !important;
}

.auth-body {
    padding: 2rem !important;
    position: relative !important;
    z-index: 50 !important;
}

.auth-body a {
    position: relative !important;
    z-index: 51 !important;
    pointer-events: auto !important;
}

.auth-links {
    text-align: center !important;
    padding: 1.5rem 2rem !important;
    background: rgba(248, 249, 250, 0.5) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    position: relative !important;
    z-index: 100 !important;
}

.auth-links a {
    position: relative !important;
    z-index: 101 !important;
    pointer-events: auto !important;
}

/* ===================================================================
   Global Footer Styles
   ================================================================== */

.modern-footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 4rem 0 1rem;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Brand Section */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo img {
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-logo i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2e8f0;
    line-height: 1.4;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer Section Headings */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item h6 i {
    color: #667eea;
    width: 16px;
}

.contact-item p {
    color: #a0aec0;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-item a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #667eea;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #667eea;
    transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    margin: 0;
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

/* Mobile Footer Responsive */
@media (max-width: 768px) {
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-contact {
        gap: 1rem;
    }
    
    .contact-item h6 {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .modern-footer {
        padding: 3rem 0 1rem;
    }
}

/* ===================================================================
   Modern Header Navigation (for logged out users)
   ================================================================== */

.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.modern-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.modern-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    text-decoration: none;
}

.modern-logo img {
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.modern-logo i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.modern-nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Modern Button Styles */
.modern-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.modern-btn-primary {
    background: #495057;
    color: white;
    border-color: #495057;
}

.modern-btn-primary:hover {
    background: #343a40;
    border-color: #343a40;
    color: white;
    text-decoration: none;
}

.modern-btn-secondary {
    background: transparent;
    color: #6c757d;
    border-color: #6c757d;
}

.modern-btn-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
    text-decoration: none;
}
/* Mobile responsive for modern navigation */
@media (max-width: 768px) {
    .modern-nav {
        padding: 0 1rem;
    }
    
    .modern-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .modern-nav-actions {
        gap: 0.5rem;
    }
}

.auth-links a {
    color: #9932cc !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.auth-links a:hover {
    color: #00d4ff !important;
    text-decoration: underline !important;
}

/* Form control container for password toggle */
.form-control-container {
    position: relative !important;
}

.password-toggle {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: #6c757d !important;
    cursor: pointer !important;
    padding: 0.25rem !important;
    font-size: 1rem !important;
}

.password-toggle:hover {
    color: #9932cc !important;
}

/* Floating elements for auth pages */
.floating-elements {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.floating-element {
    position: absolute !important;
    width: 100px !important;
    height: 100px !important;
    background: rgba(153, 50, 204, 0.1) !important;
    border-radius: 50% !important;
    animation: float 6s ease-in-out infinite !important;
}

.floating-element:nth-child(1) {
    top: 20% !important;
    left: 10% !important;
    animation-delay: -2s !important;
}

.floating-element:nth-child(2) {
    top: 60% !important;
    right: 10% !important;
    animation-delay: -4s !important;
}

.floating-element:nth-child(3) {
    bottom: 20% !important;
    left: 50% !important;
    animation-delay: -6s !important;
}

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

/* Floating elements for site-wide login page aesthetic */
.floating-elements {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.floating-element {
    position: absolute !important;
    width: 100px !important;
    height: 100px !important;
    background: rgba(153, 50, 204, 0.1) !important;
    border-radius: 50% !important;
    animation: float 6s ease-in-out infinite !important;
}

.floating-element:nth-child(1) {
    top: 20% !important;
    left: 10% !important;
    animation-delay: -2s !important;
}

.floating-element:nth-child(2) {
    top: 60% !important;
    right: 10% !important;
    animation-delay: -4s !important;
}

.floating-element:nth-child(3) {
    bottom: 20% !important;
    left: 50% !important;
    animation-delay: -6s !important;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}