/**
 * Mobile Navigation Menu Styles - Reusable Component
 * Include this CSS in all pages that need mobile-responsive navigation
 */

/* Hamburger Menu Button - Mobile Only */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    z-index: 1001;
    position: relative;
    outline: none;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu:hover span {
    background-color: #9FF781;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(44, 62, 80, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding-top: 70px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
    color: #9FF781;
}

.mobile-nav-links .title_10101020 {
    display: none;
}

.mobile-user-info {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    background: rgba(102, 126, 234, 0.2);
}

.mobile-user-info.show {
    display: block;
}

.mobile-user-info .user-welcome {
    color: white;
    font-size: 14px;
    margin-bottom: 15px;
}

.mobile-user-info .user-welcome strong {
    color: #9FF781;
    font-size: 16px;
}

.mobile-user-info .btn-logout-header {
    width: 100%;
    margin-top: 10px;
}

.mobile-dashboard-link {
    display: none;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95) 0%, rgba(255, 165, 0, 0.95) 100%);
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
    margin: 10px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-dashboard-link.show {
    display: block;
}

.mobile-dashboard-link:hover {
    background: linear-gradient(135deg, rgba(255, 223, 0, 1) 0%, rgba(255, 140, 0, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6);
}

/* Desktop Navigation - Hide on Mobile */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .header-content nav {
        display: none !important;
    }
    
    .header-content > div:last-child {
        display: none !important;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .header-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .hamburger-menu {
        display: flex;
    }
    
    .header-content nav {
        display: none !important;
    }
    
    .header-content > div:last-child {
        display: none !important;
    }
    
    .mobile-nav {
        display: block;
    }
}

