/* Modern Header Styles - Simplified */
.header-modern {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 3rem;
    transition: all 0.2s ease;
}

.header-modern .navbar {
    padding: 0.5rem 0;
}

.header-modern .navbar-brand img {
    max-height: 40px;
    transition: all 0.2s ease;
}

.header-modern .navbar-brand:hover img {
    transform: none;
}

/* Navigation Links - Simple Text Links */
.header-modern .nav-link {
    padding: 0.5rem 1rem !important;
    border-radius: 0;
    font-weight: 500;
    color: #6c757d !important;
    transition: all 0.2s ease;
    position: relative;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .nav-link:hover {
    background: transparent !important;
    color: #495057 !important;
    text-decoration: none;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .nav-link:focus {
    background: transparent !important;
    color: #495057 !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.header-modern .nav-link:active {
    background: transparent !important;
    color: #495057 !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.header-modern .nav-link.active {
    background: transparent !important;
    color: #007bff !important;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .nav-link.dropdown-toggle::after {
    display: none;
}

/* Category Icon - Simplified */
.header-modern .category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #e3f2fd;
    border-radius: 3px;
    margin-right: 0.5rem;
    transition: all 0.2s ease;
}

.header-modern .nav-link:hover .category-icon {
    background: #bbdefb;
}

/* Dropdown Menus - Simplified */
.header-modern .dropdown-menu {
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 0.25rem 0;
    margin-top: 0.25rem;
    background: #ffffff;
}

.header-modern .dropdown-header {
    font-weight: 600;
    color: #495057;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: 1px solid #f1f3f4;
}

.header-modern .dropdown-item {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.2s ease;
    border-radius: 0;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .dropdown-item:hover {
    background: #f8f9fa;
    color: #495057;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .dropdown-item:focus {
    background: #f8f9fa;
    color: #495057;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .dropdown-item:active {
    background: #f8f9fa;
    color: #495057;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .dropdown-item i {
    transition: all 0.2s ease;
    color: #adb5bd;
}

.header-modern .dropdown-item:hover i {
    color: #6c757d;
}

/* Language Selector - Simplified */
.header-modern .language-selector {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    transition: all 0.2s ease;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .language-selector:hover {
    background: #e9ecef;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .language-selector:focus {
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .language-selector:active {
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .language-selector img {
    border-radius: 2px;
    width: 16px;
    height: 12px;
    object-fit: cover;
}

/* Notification Bell - Simplified */
.header-modern .notification-bell {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0.375rem;
    transition: all 0.2s ease;
    position: relative;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .notification-bell:hover {
    background: #e9ecef;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .notification-bell:focus {
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .notification-bell:active {
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
}

/* User Profile - Simplified */
.header-modern .user-profile {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0.375rem;
    transition: all 0.2s ease;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .user-profile:hover {
    background: #e9ecef;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .user-profile:focus {
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .user-profile:active {
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .profile-image {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.header-modern .profile-image:hover {
    transform: none;
}

.header-modern .online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: #28a745;
    border: 1px solid #fff;
    border-radius: 50%;
}

/* Action Buttons - Simplified */
.header-modern .btn {
    border-radius: 4px;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .btn:hover {
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .btn:active {
    outline: none !important;
    box-shadow: none !important;
}

.header-modern .btn-outline-primary {
    background: #ffffff;
    color: #007bff;
    border: 1px solid #007bff;
}

.header-modern .btn-outline-primary:hover {
    background: #007bff;
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

.header-modern .btn-primary {
    background: #007bff;
    box-shadow: none;
}

.header-modern .btn-primary:hover {
    background: #0056b3;
    transform: none;
    box-shadow: none;
}

/* Mobile Responsive - Simplified */
@media (max-width: 991.98px) {
    .header-modern .navbar-collapse {
        background: #ffffff;
        border-radius: 6px;
        margin-top: 0.5rem;
        padding: 0.75rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border: 1px solid #e9ecef;
    }
    
    .header-modern .nav-link {
        padding: 0.5rem 0.75rem !important;
        margin: 0.125rem 0;
        border-radius: 0;
        border: none !important;
        background: transparent !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .header-modern .nav-link:hover {
        background: #f8f9fa !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .header-modern .nav-link:focus {
        background: #f8f9fa !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .header-modern .nav-link:active {
        background: #f8f9fa !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .header-modern .nav-link.active {
        background: #e3f2fd !important;
        border-bottom: none !important;
        border-radius: 4px;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .header-modern .dropdown-menu {
        border: none;
        box-shadow: none;
        background: transparent;
        margin-top: 0;
        padding-left: 0.75rem;
    }
    
    .header-modern .dropdown-item {
        padding: 0.375rem 0.75rem;
        border-radius: 3px;
    }
    
    .header-modern .language-selector {
        margin: 0.25rem 0;
        width: 100%;
        justify-content: center;
    }
    
    .header-modern .notification-bell,
    .header-modern .user-profile {
        margin: 0.25rem 0;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .header-modern {
        margin-bottom: 2rem;
    }
    
    .header-modern .navbar-brand img {
        max-height: 32px;
    }
    
    .header-modern .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .header-modern .profile-image {
        width: 28px;
        height: 28px;
    }
    
    .header-modern .language-selector img {
        width: 14px;
        height: 10px;
    }
    
    .header-modern .navbar-nav {
        gap: 0.25rem;
    }
}

/* Animation Classes - Simplified */
.hover-bg-light {
    transition: all 0.2s ease;
}

.hover-bg-light:hover {
    background: #f8f9fa !important;
    transform: none;
}

/* Custom Scrollbar - Simplified */
.notification-dropdown::-webkit-scrollbar {
    width: 3px;
}

.notification-dropdown::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 2px;
}

.notification-dropdown::-webkit-scrollbar-thumb {
    background: #dadce0;
    border-radius: 2px;
}

.notification-dropdown::-webkit-scrollbar-thumb:hover {
    background: #bdc1c6;
}

/* Loading States */
.header-modern .loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Dark Mode Support - Simplified */
@media (prefers-color-scheme: dark) {
    .header-modern {
        background: #1a1a1a;
        border-bottom-color: #333333;
    }
    
    .header-modern .nav-link {
        color: #e9ecef !important;
    }
    
    .header-modern .nav-link:hover {
        background: transparent !important;
    }
    
    .header-modern .nav-link.active {
        color: #4fc3f7 !important;
        border-bottom-color: #4fc3f7;
    }
    
    .header-modern .dropdown-menu {
        background: #1a1a1a;
        border: 1px solid #333333;
    }
    
    .header-modern .dropdown-item {
        color: #e9ecef;
    }
    
    .header-modern .dropdown-item:hover {
        background: #2d2d2d;
    }
}
