/* IDIS v2 - Custom Styles */

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Table row selection animation */
tbody tr {
    transition: background-color 0.15s ease;
}

/* Loading spinner */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

/* Material Symbols size fix */
.material-symbols-outlined {
    font-size: 22px;
}

/* Active sidebar link pulse */
nav a.bg-primary\/10 {
    position: relative;
}

nav a.bg-primary\/10::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #136dec;
    border-radius: 0 3px 3px 0;
}
