/* Custom scrollbar for sidebar and general tweaks */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
 
::-webkit-scrollbar-thumb {
    background: #c1c1c1; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; 
}

/* Sidebar scrollbar (dark) */
.sidebar-custom::-webkit-scrollbar-track {
    background: #111827; 
}
.sidebar-custom::-webkit-scrollbar-thumb {
    background: #374151; 
}
.sidebar-custom::-webkit-scrollbar-thumb:hover {
    background: #4B5563; 
}

/* Progress bar transition */
.rounded-full {
    transition: width 0.5s ease-in-out, background-color 0.3s ease;
}

/* Row hover transition */
tbody tr {
    transition: background-color 0.2s ease;
}

/* Print styles */
@media print {
    aside, header, #stats-container, .bg-white.p-4.rounded-lg.shadow-sm.mb-6 {
        display: none !important;
    }
    .flex-1 {
        overflow: visible !important;
    }
    body, main {
        background: white !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    table {
        border-collapse: collapse;
        width: 100%;
    }
    th, td {
        border: 1px solid #ddd;
        padding: 8px;
    }
}
