/* Task ASSIST - Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Input focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Table styles */
table {
    border-collapse: collapse;
}

/* Dialog animation */
.fixed {
    transition: opacity 0.2s ease-in-out;
}

/* Animate spin for loading icons */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}

/* Truncate text */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Custom 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;
}
