.scroll-bar {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 80vh;
    scrollbar-width: thin;
    border-radius: 6px;
    padding-bottom: 12px;
}

.ts-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    padding: 0 4px;
}

.ts-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}


.ts-controls-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
}

.control-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.control-grouplevel{
     display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: 60px;
}

.ts-controls-row .control-group :first-child {
    margin-right: 0px;
}

.control-divider {
    width: 1px;
    height: 20px;
    background: var(--border-subtle);
    flex: 0 0 auto;
}

.control-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    margin: 0;
    display: flex;
    align-items: center;
    margin-top: 18px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
}

.radio-input {
    accent-color: var(--button-primary-bg-default, #1565c0);
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.radio-text {
    font-size: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.cards-row {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 14px;
    padding: 6px 4px 14px;
}

.status-card {
    display: inline-block;
    flex-shrink: 0;
    min-width: 230px;
    width: fit-content;
    height: 98px;
    border-radius: 4px;
    padding: 10px 14px 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    transition: box-shadow 0.18s ease, transform 0.15s ease;
}

.status-card.card-active {
    outline: 2px dashed rgba(0, 0, 0, 0.5);
    outline-offset: 2px;
}

.status-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.pointer-cursor {
    cursor: pointer;
}

.theme-blue {
    background-color: #4a7cf6;
    color: white;
}

.theme-teal {
    background-color: #32d3eb;
    color: white;
}

.theme-pink {
    background-color: #f65275;
    color: white;
}

.theme-gold {
    background-color: #c4a77d;
    color: white;
}

.theme-indigo {
    background-color: #6366f1;
    color: white;
}

.theme-orange {
    background-color: #f39c12;
    color: white;
}

.card-table {
    width: 100%;
    border-collapse: collapse;
}

.card-name-td {
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: inherit;
    padding-bottom: 8px;
    white-space: nowrap;
}

.card-sub-label {
    font-size: 11px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: inherit;
    opacity: 0.9;
    padding-bottom: 4px;
    width: 50%;
}

.card-big-number {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: inherit;
    line-height: 1;
    padding-right: 18px;
    white-space: nowrap;
}

.card-pending-num {
    color: inherit;
    padding-right: 0;
}

.status-card td {
    vertical-align: top;
}

.table-section {
    margin-top: 16px;
    padding: 0 4px;
}

.table-heading {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.table-heading-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.table-heading-sep {
    font-size: 13px;
    color: var(--text-secondary);
}

.table-heading-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

.loading-row {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}

.loading-text {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

.table-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.table-body-scroll {
    max-height: 380px;
    overflow: auto;
    width: 100%;
    scrollbar-width: thin;
}

.html-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    table-layout: fixed;
}

.html-table thead {
    color: var(--text-secondary);
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
}

.html-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--bg-subtle);
}

.html-table tr {
    height: 26px;
}

.html-table th,
.html-table td {
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.html-table tbody tr:nth-child(even) {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.html-table tbody tr:nth-child(odd) {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.html-table tbody tr:hover {
    background-color: var(--bg-hover, rgba(0, 0, 0, 0.04));
}

.html-table th {
    cursor: default;
    color: var(--text-secondary);
    font-weight: 600;
}

.right-align {
    text-align: right !important;
}

.left-align {
    text-align: left;
}

.heading-div {
    display: inline-flex;
    align-items: center;
    max-height: 22px;
    min-height: 22px;
}

.drilldown-display {
    cursor: pointer;
    gap: 4px;
}

.mat-styles {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    vertical-align: middle;
}

.number-highlight {
    color: #2196F3;
    font-weight: 600;
}

.empty-cell {
    text-align: center !important;
    color: var(--text-secondary);
    font-style: italic;
    padding: 20px !important;
}