/* Custom Scrollbar for dense data views */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    /* slate-400 */
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.6);
    /* slate-500 */
}

/* Badge generation utility classes used in JS */
.badge-blue {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.badge-green {
    background-color: #dcfce3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.badge-red {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.badge-orange {
    background-color: #ffedd5;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

.badge-gray {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Hide/Show logic */
.view-section {
    display: none;
}

.view-section.block {
    display: block !important;
}

.view-section.flex {
    display: flex !important;
}