.insights-chart-card {
    overflow: hidden;
}

.insights-disclaimer {
    color: var(--ny-muted, #737b9d);
    font-size: 0.8rem;
    line-height: 1.55;
}

.insights-disclaimer strong {
    color: var(--ny-body-color, #3d4360);
}

.insights-stat-card {
    min-height: 190px;
}

.insights-stat-card .stat-icon-wrap {
    height: 48px;
    width: 48px;
}

.insights-stat-card .progress {
    background: var(--ny-border-soft, #e8eaf2);
}

.insights-empty-icon {
    font-size: 3rem;
}

.insights-operator-table-card {
    overflow: hidden;
}

.insights-operator-table th,
.insights-operator-table td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    white-space: nowrap;
}

.insights-operator-name {
    display: flex;
    flex-direction: column;
    min-width: 190px;
}

.insights-operator-name span {
    color: var(--ny-muted, #737b9d);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.insights-sort-button {
    align-items: center;
    background: none;
    border: 0;
    color: inherit;
    display: inline-flex;
    font: inherit;
    font-weight: inherit;
    gap: 0.3rem;
    justify-content: flex-end;
    padding: 0;
    text-transform: inherit;
    white-space: nowrap;
}

.insights-sort-button:hover,
.insights-sort-button:focus-visible {
    color: var(--ny-primary, #635bff);
}

.insights-sort-button:focus-visible {
    border-radius: 0.2rem;
    outline: 2px solid rgba(99, 91, 255, 0.35);
    outline-offset: 3px;
}

@media (min-width: 992px) {
    .insights-operator-table-card,
    .insights-operator-table-card .table-responsive {
        overflow: visible;
    }

    .insights-operator-table thead th {
        background: var(--ny-hover, #f1f3fc);
        border-bottom: 1px solid var(--ny-border, #e6e9f4);
        box-shadow: 0 5px 10px rgba(26, 29, 53, 0.05);
        position: sticky;
        top: var(--ny-topbar-h, 76px);
        z-index: 20;
    }

    body.layout-horizontal .insights-operator-table thead th {
        top: calc(var(--ny-topbar-h, 76px) + 54px);
    }
}

.insights-card-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.insights-chart {
    min-height: 260px;
    width: 100%;
}

.insights-chart-md {
    min-height: 310px;
}

.insights-chart-lg {
    min-height: 350px;
}

.insights-chart-xl {
    min-height: 440px;
}

.insights-chart .apexcharts-tooltip {
    border: 0 !important;
    box-shadow: 0 0.5rem 1.5rem rgba(20, 24, 56, 0.14) !important;
}

.insights-chart .apexcharts-legend-text,
.insights-chart .apexcharts-text {
    font-family: Inter, sans-serif !important;
}

.insights-pastel-tooltip {
    border-radius: 0.55rem;
    color: #1d2140;
    display: grid;
    font-family: Inter, sans-serif;
    gap: 0.15rem;
    min-width: 130px;
    padding: 0.65rem 0.8rem;
}

.insights-pastel-tooltip strong {
    font-size: 0.8rem;
}

.insights-pastel-tooltip span {
    font-size: 0.75rem;
}

.insights-chart-error {
    align-items: center;
    color: var(--ny-muted, #737b9d);
    display: flex;
    height: 100%;
    justify-content: center;
    margin: 0;
    min-height: inherit;
}

@media (max-width: 575.98px) {
    .insights-chart-xl {
        min-height: 520px;
    }
}
