/* css tabs */
.chartsContainer .exam-tabs {
    border: 1px solid var(--text-200);
    border-radius: 0.5rem;
    background-color: var(--background-light);
    padding: 0.25rem;
    font-size: var(--font-size-md);
    width: fit-content;
}

.chartsContainer .exam-tabs .exam-tab {
    color: var(--text-500);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}

.chartsContainer .exam-tabs .exam-tab:hover {
    color: var(--text-800);
    background-color: #fff;
}

.chartsContainer .exam-tabs .exam-tab.active,
.chartsContainer .exam-tabs .exam-tab[aria-selected="true"] {
    color: var(--text-800);
    background-color: #fff;
}

.section-title_st {
    font-family: var(--font-principale);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--colore-principale);
    line-height: var(--line-height);
}
.subtitle_st {
    font-family: var(--font-principale);
    font-size: var(--font-size-md);
    font-weight: 400;
    color: var(--text-600);
    line-height: var(--line-height);
}

.info_page_st {
    font-family: var(--font-principale);
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--text-600);
    line-height: var(--line-height);
}

.legend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
}

.legend-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex: 0 0 10px;
}

.dot-orange {
    background: #ef7b00; /* arancione */
}
.dot-blue {
    background: #007bff; /* blu */
}
.dot-green {
    background: #28a745; /* verde */
}
.dot-red {
    background: #dc3545; /* rosso */
}
.legend-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.legend-value {
    font-weight: 500;
    color: #253246;
    white-space: nowrap;
    font-size: var(--font-size-md);
}

.my-custom-tooltip .tooltip-inner {
    max-width: 360px;
    width: max-content;
    white-space: normal;
    text-align: left;
    padding: 0.5rem 0.75rem;
}

.my-custom-tooltip .tooltip-inner ul {
    padding-left: 1.25rem;
    margin: 0.25rem 0 0;
}
.my-custom-tooltip .tooltip-inner li {
    margin: 0.15rem 0;
}

/* NUOVO: */

.chart-slot {
    position: relative;
    /* min-height: 220px; */
}

.chart-slot .chart-inner {
    min-height: inherit;
}

.chart-slot .chart-empty {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    z-index: 2;
}

.exam-tabs .nav-link.disabled{
  opacity: .55;
  pointer-events: auto;
  cursor: not-allowed;
}