/* Custom styles complementing Tailwind */

/* Smooth page transitions */
#app {
    animation: fadeIn 0.15s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Table hover rows */
tbody tr {
    transition: background-color 0.1s ease;
}

/* Modal backdrop animation */
#modal-backdrop:not(.hidden),
#confirm-backdrop:not(.hidden) {
    animation: backdropIn 0.15s ease;
}

@keyframes backdropIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scrollbar styling */
::-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;
}

/* Active nav link indicator */
.nav-link.bg-gray-800 {
    position: relative;
}

.nav-link.bg-gray-800::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #3b82f6;
    border-radius: 0 2px 2px 0;
}
