/**
 * Mobile Navigation Styles for Auth Pages
 */

/* Mobile menu base styles */
#mobile-menu {
    background: rgba(26, 15, 46, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    z-index: 45;
    position: relative;
}

/* Mobile menu items */
#mobile-menu a {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobile-menu a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
}

/* Mobile menu button - hidden by default, only show on mobile */
#mobile-menu-button {
    transition: all 0.3s ease;
    display: none;
}

#mobile-menu-button:hover {
    color: #FFD700;
}

/* Mobile overlay */
#mobile-overlay {
    transition: opacity 0.3s ease;
}

/* Animation for menu items */
#mobile-menu a {
    opacity: 0;
    transform: translateY(-10px);
}

#mobile-menu.block a {
    animation: slideInDown 0.3s ease forwards;
}

#mobile-menu.block a:nth-child(1) { animation-delay: 0.1s; }
#mobile-menu.block a:nth-child(2) { animation-delay: 0.2s; }
#mobile-menu.block a:nth-child(3) { animation-delay: 0.3s; }
#mobile-menu.block a:nth-child(4) { animation-delay: 0.4s; }
#mobile-menu.block a:nth-child(5) { animation-delay: 0.5s; }
#mobile-menu.block a:nth-child(6) { animation-delay: 0.6s; }

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

/* Responsive adjustments */
@media (max-width: 767px) {
    #mobile-menu-button {
        display: block !important;
    }
    
    #mobile-menu {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    #mobile-menu a {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Hide mobile elements on tablet and desktop */
@media (min-width: 768px) {
    #mobile-menu-button {
        display: none !important;
    }
    
    #mobile-menu {
        display: none !important;
    }
}

/* Dark theme adjustments */
@media (prefers-color-scheme: dark) {
    #mobile-menu {
        background: rgba(10, 10, 10, 0.95);
    }
}
