/* Admin Layout Styles */

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar.collapsed .sidebar-header > div > div {
    display: none;
}

.sidebar.collapsed .sidebar-item span,
.sidebar.collapsed .sidebar-subitem span,
.sidebar.collapsed .sidebar-section-header span,
.sidebar.collapsed .sidebar-footer-item span,
.sidebar.collapsed .badge {
    display: none;
}

.sidebar.collapsed .sidebar-section-content {
    display: none;
}

.sidebar.collapsed .sidebar-section-header .fa-chevron-down {
    display: none;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-toggle i {
    transition: transform 0.3s ease;
}

.sidebar.collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.sidebar-item i {
    width: 20px;
    margin-left: 0.75rem;
    font-size: 1.1rem;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(-4px);
}

.sidebar-item.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Sidebar Sections */
.sidebar-section {
    margin-bottom: 0.5rem;
}

.sidebar-section-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: #94a3b8;
    text-align: right;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
}

.sidebar-section-header::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.sidebar-section-header:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

.sidebar-section-header:hover::before {
    height: 60%;
}

.sidebar-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-subitem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sidebar-subitem i {
    width: 18px;
    margin-left: 0.75rem;
    font-size: 0.95rem;
}

.sidebar-subitem:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    transform: translateX(-4px);
}

.sidebar-subitem.active {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-right: 3px solid #3b82f6;
}

/* Badges */
.badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
}

.badge-blue {
    background: #3b82f6;
    color: white;
}

.badge-orange {
    background: #f59e0b;
    color: white;
}

.badge-green {
    background: #10b981;
    color: white;
}

.badge-purple {
    background: #8b5cf6;
    color: white;
}

.badge-pink {
    background: #ec4899;
    color: white;
}

.badge-teal {
    background: #14b8a6;
    color: white;
}

.badge-red {
    background: #ef4444;
    color: white;
}

.badge-yellow {
    background: #f59e0b;
    color: white;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.sidebar-footer-item i {
    width: 20px;
    margin-left: 0.75rem;
}

.sidebar-footer-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Main Content */
.main-content {
    margin-right: 280px;
    min-height: 100vh;
    background: #f8fafc;
    transition: margin-right 0.3s ease;
}

.sidebar.collapsed ~ .main-content {
    margin-right: 70px;
}

body.dark-mode .main-content {
    background: #0f172a;
}

/* Top Bar */
.top-bar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.dark-mode .top-bar {
    background: #1e293b;
    border-bottom-color: #334155;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
}

body.dark-mode .mobile-menu-btn {
    color: #cbd5e1;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

body.dark-mode .page-title {
    color: #e2e8f0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Dark Mode in Sidebar */
body.dark-mode .sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .main-content {
        margin-right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

/* Content Container */
.content-container {
    padding: 1.5rem;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

body.dark-mode .card {
    background: #1e293b;
    border-color: #334155;
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.dark-mode .card-header {
    border-bottom-color: #334155;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

body.dark-mode .card-title {
    color: #e2e8f0;
}

.card-body {
    padding: 1.5rem;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.sidebar.active {
    animation: slideInRight 0.3s ease;
}

/* Badge Animations */
@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.sidebar-subitem .badge {
    animation: badgePulse 2s ease-in-out infinite;
}

.sidebar-subitem:hover .badge {
    animation: none;
    transform: scale(1.1);
}

/* Smooth Scrolling */
.sidebar-content {
    scroll-behavior: smooth;
}

/* Section Divider */
.sidebar-section + .sidebar-section {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hover Effects Enhancement */
.sidebar-item,
.sidebar-subitem {
    position: relative;
    overflow: hidden;
}

.sidebar-item::before,
.sidebar-subitem::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1));
    transition: width 0.3s ease;
}

.sidebar-item:hover::before,
.sidebar-subitem:hover::before {
    width: 100%;
}

/* Active Section Highlight */
.sidebar-section:has(.sidebar-subitem.active) .sidebar-section-header {
    color: #60a5fa;
}

/* Tooltip for collapsed sidebar */
.sidebar.collapsed .sidebar-item,
.sidebar.collapsed .sidebar-subitem {
    position: relative;
}

.sidebar.collapsed .sidebar-item:hover::after,
.sidebar.collapsed .sidebar-subitem:hover::after {
    content: attr(title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #1e293b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    margin-left: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    font-size: 0.875rem;
}

/* Loading State */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.sidebar-item.loading,
.sidebar-subitem.loading {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Notification Dot */
.sidebar-item .notification-dot,
.sidebar-subitem .notification-dot {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #1e293b;
    animation: badgePulse 2s ease-in-out infinite;
}

/* Improved Mobile Experience */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        max-width: 320px;
    }
    
    .sidebar-content {
        padding: 0.75rem;
    }
    
    .sidebar-item,
    .sidebar-subitem {
        font-size: 0.95rem;
    }
}

/* Dark Mode Enhancements */
body.dark-mode .sidebar-section + .sidebar-section {
    border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .sidebar-item:hover,
body.dark-mode .sidebar-subitem:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Accessibility */
.sidebar-item:focus,
.sidebar-subitem:focus,
.sidebar-section-header:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .sidebar,
    .sidebar-overlay {
        display: none !important;
    }
    
    .main-content {
        margin-right: 0 !important;
    }
}

/* ===================================
   UX IMPROVEMENTS
   =================================== */

/* 1. Sidebar Search */
.sidebar-search {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i.fa-search {
    position: absolute;
    right: 12px;
    color: #64748b;
    font-size: 14px;
    pointer-events: none;
}

.sidebar-search input {
    width: 100%;
    padding: 10px 40px 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-search input::placeholder {
    color: #64748b;
}

.sidebar-search input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-clear {
    position: absolute;
    left: 8px;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.search-clear:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.search-results {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.search-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #e2e8f0;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.search-result-item i {
    width: 20px;
    color: #60a5fa;
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.search-result-path {
    font-size: 12px;
    color: #64748b;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* 2. Favorites */
.favorites-section {
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.favorites-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

.favorite-btn {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s;
    font-size: 14px;
}

.favorite-btn:hover {
    color: #f59e0b;
    transform: scale(1.1);
}

.favorite-btn.active {
    color: #f59e0b;
}

.sidebar-item,
.sidebar-subitem {
    position: relative;
}

.sidebar-item .favorite-btn,
.sidebar-subitem .favorite-btn {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

.sidebar-item:hover .favorite-btn,
.sidebar-subitem:hover .favorite-btn {
    opacity: 1;
}

.favorite-btn.active {
    opacity: 1 !important;
}

/* 3. Breadcrumbs */
.breadcrumb-container {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #e2e8f0;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #475569;
    font-size: 0.75rem;
}

/* 4. Quick Actions FAB */
.fab-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
}

.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-main:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
}

.fab-main.active {
    transform: rotate(45deg);
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.fab-menu.active {
    opacity: 1;
    pointer-events: all;
}

.fab-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e293b;
    padding: 12px 16px;
    border-radius: 28px;
    text-decoration: none;
    color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid #334155;
    transform: translateY(10px);
    opacity: 0;
}

.fab-menu.active .fab-item {
    transform: translateY(0);
    opacity: 1;
}

.fab-menu.active .fab-item:nth-child(1) { transition-delay: 0.05s; }
.fab-menu.active .fab-item:nth-child(2) { transition-delay: 0.1s; }
.fab-menu.active .fab-item:nth-child(3) { transition-delay: 0.15s; }
.fab-menu.active .fab-item:nth-child(4) { transition-delay: 0.2s; }

.fab-item:hover {
    background: #334155;
    transform: translateX(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.fab-item i {
    width: 20px;
    text-align: center;
    color: #60a5fa;
}

/* 5. Notification Center */
.notification-center {
    position: absolute;
    top: 100%;
    left: 0;
    width: 380px;
    max-height: 500px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.notification-center.active {
    display: flex;
}

.notification-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
}

.notification-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #334155;
    overflow-x: auto;
}

.notification-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #334155;
    border-radius: 20px;
    color: #94a3b8;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.notification-tab:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.notification-tab.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    max-height: 350px;
}

.notification-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s;
}

.notification-item:hover {
    background: rgba(59, 130, 246, 0.05);
}

.notification-item.unread {
    background: rgba(59, 130, 246, 0.05);
    border-right: 3px solid #3b82f6;
}

.notification-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.notification-item-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0;
}

.notification-item-time {
    font-size: 0.75rem;
    color: #64748b;
}

.notification-item-body {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.5;
}

.notification-footer {
    padding: 0.75rem 1.5rem;
    border-top: 1px solid #334155;
    text-align: center;
}

.notification-footer a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.notification-footer a:hover {
    text-decoration: underline;
}

/* 6. Theme Selector */
.theme-selector {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    min-width: 200px;
}

.theme-selector.active {
    display: block;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.theme-option:last-child {
    margin-bottom: 0;
}

.theme-option:hover {
    background: rgba(59, 130, 246, 0.1);
}

.theme-option.active {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid #3b82f6;
}

.theme-color {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.theme-name {
    color: #e2e8f0;
    font-size: 0.875rem;
}

/* Responsive FAB */
@media (max-width: 768px) {
    .fab-container {
        bottom: 1rem;
        left: 1rem;
    }
    
    .fab-main {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .notification-center {
        width: calc(100vw - 2rem);
        right: 1rem;
        left: auto;
    }
}

/* Scrollbar for search and notifications */
.search-results::-webkit-scrollbar,
.notification-list::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track,
.notification-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.search-results::-webkit-scrollbar-thumb,
.notification-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* ===================================
   THEME VARIATIONS
   =================================== */

/* Blue Theme */
body.theme-blue .sidebar {
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%);
}

body.theme-blue .sidebar-item.active,
body.theme-blue .notification-tab.active,
body.theme-blue .fab-main {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

body.theme-blue .breadcrumb-item a,
body.theme-blue .notification-footer a {
    color: #60a5fa;
}

/* Purple Theme */
body.theme-purple .sidebar {
    background: linear-gradient(180deg, #581c87 0%, #6b21a8 100%);
}

body.theme-purple .sidebar-item.active,
body.theme-purple .notification-tab.active,
body.theme-purple .fab-main {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

body.theme-purple .breadcrumb-item a,
body.theme-purple .notification-footer a {
    color: #a78bfa;
}

/* Green Theme */
body.theme-green .sidebar {
    background: linear-gradient(180deg, #065f46 0%, #047857 100%);
}

body.theme-green .sidebar-item.active,
body.theme-green .notification-tab.active,
body.theme-green .fab-main {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

body.theme-green .breadcrumb-item a,
body.theme-green .notification-footer a {
    color: #6ee7b7;
}

/* Light Theme */
body.theme-light {
    background: #f8fafc;
}

body.theme-light .main-content {
    background: #ffffff;
}

body.theme-light .sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-left: 1px solid #e2e8f0;
}

body.theme-light .sidebar-item,
body.theme-light .sidebar-subitem,
body.theme-light .sidebar-section-header {
    color: #334155;
}

body.theme-light .sidebar-item:hover,
body.theme-light .sidebar-subitem:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.theme-light .sidebar-item.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

body.theme-light .top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

body.theme-light .page-title {
    color: #1e293b;
}

body.theme-light .breadcrumb-container {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

body.theme-light .breadcrumb-item {
    color: #64748b;
}

body.theme-light .breadcrumb-item a {
    color: #3b82f6;
}

body.theme-light .notification-center,
body.theme-light .search-results,
body.theme-light .theme-selector {
    background: #ffffff;
    border-color: #e2e8f0;
}

body.theme-light .notification-item,
body.theme-light .search-result-item {
    color: #1e293b;
}

body.theme-light .notification-item:hover,
body.theme-light .search-result-item:hover {
    background: #f8fafc;
}

body.theme-light .fab-item {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #1e293b;
}

body.theme-light .sidebar-search input {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #1e293b;
}
