/* Label */
.form-label {
    color: #334155;
    font-size: .87rem;
    font-weight: 600;
}

.form-sublabel {
    color: #94a3b8;
    font-size: .75rem;
    line-height: 1.4;
}

/* Global Scrollbars */
:root {
    scrollbar-color: #cbd5e1 #f1f5f9;
    scrollbar-width: thin;
}

* {
    scrollbar-color: #cbd5e1 #f1f5f9;
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
    min-height: 36px;
    border: 2px solid #f1f5f9;
    border-radius: 999px;
    background: #cbd5e1;
    background-clip: padding-box;
    transition: background-color 0.18s ease;
}

*::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:active {
    background: #64748b;
    background-clip: padding-box;
}

*::-webkit-scrollbar-corner {
    background: #f1f5f9;
}

/* Component Scrollbars */
.ui-table-wrapper,
.ui-accordion-content,
.library-sidebar,
.library-content {
    scrollbar-color: #cbd5e1 #f8fafc;
    scrollbar-width: thin;
}

.ui-table-wrapper::-webkit-scrollbar-track,
.ui-accordion-content::-webkit-scrollbar-track,
.library-sidebar::-webkit-scrollbar-track,
.library-content::-webkit-scrollbar-track {
    background: #f8fafc;
}

.ui-table-wrapper::-webkit-scrollbar-thumb,
.ui-accordion-content::-webkit-scrollbar-thumb,
.library-sidebar::-webkit-scrollbar-thumb,
.library-content::-webkit-scrollbar-thumb {
    border-color: #f8fafc;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *::-webkit-scrollbar-thumb {
        transition: none;
    }
}