/* Modern Sidebar Navigation Styles */
.modern-nav-link {
    border-radius: 12px !important;
    margin: 3px 0 !important;
    padding: 12px 16px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #495057 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    background: transparent !important;
    position: relative !important;
    overflow: hidden !important;
}

.modern-nav-link:hover {
    background: #f1f3f5 !important;
    color: #212529 !important;
    transform: translateX(4px) !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08) !important;
}

.modern-nav-link.active {
    background: #495057 !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.12) !important;
    transform: translateX(2px) !important;
}

.modern-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #adb5bd;
    border-radius: 0 3px 3px 0;
}

.module-link {
    font-size: 13px !important;
    padding: 10px 16px !important;
    margin: 2px 0 !important;
}

.module-link:hover {
    background: #f1f3f5 !important;
    transform: translateX(6px) !important;
}

.module-link.active {
    background: #343a40 !important;
    color: white !important;
}
.logout-link {
    font-size: 13px !important;
    padding: 10px 16px !important;
    margin: 2px 0 !important;
}

.logout-link:hover {
    background: #ff4949 !important;
    transform: translateX(6px) !important;
}
/* Database Status Styling */
.database-status-sidebar {
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #6c757d;
}

/* Sidebar Scrollbar */
#sidebar::-webkit-scrollbar {
    width: 4px;
}

#sidebar::-webkit-scrollbar-track {
    background: transparent;
}

#sidebar::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 2px;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background: #868e96;
}

/* Logo hover effect */
#logo {
    transition: all 0.3s ease !important;
}

#logo:hover {
    transform: scale(1.05) !important;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)) !important;
}