/* Mobile Navigation Styles */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2a9d8f;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px 0;
}

.mobile-nav-menu.active {
    right: 0;
}

/* Mobile Nav Header */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mobile-nav-logo i {
    color: #2a9d8f;
    font-size: 24px;
}

.mobile-nav-logo h2 {
    color: #2a9d8f;
    font-size: 20px;
    margin: 0;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Nav User Info */
.mobile-user-info {
    padding: 0 20px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    display: none;
}

.mobile-user-info.active {
    display: block;
}

.mobile-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f7f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #2a9d8f;
    font-size: 20px;
}

.mobile-user-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.mobile-user-email {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Mobile Nav Links */
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 0;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: all 0.3s;
}

.mobile-nav-links a:hover {
    background-color: #f9f9f9;
    color: #2a9d8f;
}

.mobile-nav-links a.active {
    background-color: #f0f7f6;
    color: #2a9d8f;
    border-left-color: #2a9d8f;
}

.mobile-nav-links a i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.mobile-nav-links a .badge {
    margin-left: auto;
    background-color: #2a9d8f;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* Mobile Nav Divider */
.mobile-nav-divider {
    height: 1px;
    background-color: #eee;
    margin: 15px 20px;
}

/* Mobile Nav Actions */
.mobile-nav-actions {
    padding: 20px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.mobile-nav-btn {
    width: 100%;
    margin-bottom: 10px;
}

/* Mobile Search */
.mobile-search {
    padding: 0 20px 20px;
    display: none;
}

.mobile-search.active {
    display: block;
}

.mobile-search input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

/* Mobile Nav Footer */
.mobile-nav-footer {
    padding: 20px;
    color: #666;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

/* Responsive Styles for Desktop */
@media (min-width: 769px) {
    .mobile-nav-menu,
    .mobile-nav-overlay {
        display: none !important;
    }
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .header-container {
        justify-content: space-between !important;
        padding: 10px 0 !important;
    }
    
    .logo h1 {
        font-size: 20px !important;
    }
    
    .btn:not(.mobile-nav-btn) {
        display: none;
    }
}

/* Animation for Mobile Menu Items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-links li {
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
}

.mobile-nav-links li:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-links li:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-links li:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-links li:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-links li:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav-links li:nth-child(6) { animation-delay: 0.35s; }