
.chart-btn {
    background-color: transparent;
    outline: none;
    border: none;
    color: black;
    cursor: pointer;
}

.chart-btn:hover {
    background-color: royalblue;
    border-radius: 15%;
}

.chart-panel > .panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-panel > .panel-heading > .panel-title {
    font-weight: bold;
}

.chart-panel > div > .panel-body {
    min-height: 25vh;
    height: 25vh;
    max-height: 25vh;
    overflow: hidden;
}

.chart-panel > div > .panel-body:has(.table-responsive) {
    padding: 1%;
    padding-bottom: 0 !important;
}

.table-responsive:has(.table-chart) {
    height: 100% !important;
    width: 100% !important;
}

.table-chart {
    margin: 0 !important;
}

.table-chart > thead > tr > th {
    position: sticky;
    top: 0;
    white-space: nowrap !important;
    background-color: #ffffff;
}

.table-chart > tbody > tr {
    white-space: nowrap !important;
}

.clickable-row {
    cursor: pointer !important;
}

.table-chart > tbody > tr > .clickable-cell {
    cursor: pointer;
    color: #00408b;
    text-decoration: underline;
}

.table-chart > tbody > tr > td > .cell-link {
    color: #00408b;
    text-decoration: underline;
    cursor: pointer;
}

.stats-row {
    text-align: center;
    width: 100%;
}

.stats-row > [class*='col-'] {
    float: none;
    display: inline-block;
}

.stat-panel > .stat-heading {
    display: flex;
    justify-content: space-between;
    align-content: center;
    gap: 1em;
}

.stat-panel > .stat-heading > .panel-title {
    margin: 0;
    flex: 1;
    color: #00408b;
    text-align: start;
    align-content: center;
}

.stat-panel > .stat-heading > .stat-value {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    white-space: nowrap;
}

.multi-chart-wrapper-row {
    max-height: 25vh;
    margin-top: 1vh;
    margin-bottom: 1vh;
}

.multi-chart-wrapper-col {
    height: 95%;
}

.multi-chart-wrapper > :not(.multi-chart-title) {
    display: block;
    position: relative;
    overflow: hidden;
}

.multi-chart-title {
    font-weight: bold;
    text-align: center;
}

.multi-chart-row:has(.multi-chart-filter) {
    min-height: 30vh !important;
    height: 30vh !important;
    max-height: 30vh !important;

    .multi-chart-wrapper-col {
        height: 75%;
    }
}

.multi-chart-column {
    min-height: fit-content !important;
    height: fit-content !important;
    max-height: fit-content !important;
}

.multi-chart-column .chart-wrapper {
    margin-bottom: 5vh;
}

.multi-chart-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    margin-bottom: 2vh;
    margin-top: 0;
    flex-wrap: nowrap;
    width: 100%;
}

.multi-chart-filter .filter-group {
    display: flex;
    align-items: center;
    gap: 0.5em;
    white-space: nowrap;
}

.multi-chart-filter label {
    margin: 0;
    white-space: nowrap;
}

.multi-chart-filter select {
    min-width: 10em;
}

.calendar-chart-nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 2vh;
    gap: 1em;
}

.calendar-chart-nav-bar > p {
    min-width: 2em;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}