/* Without this, a sidebar taller than the viewport wraps its footer into a second
   column drawn over the panel. Both classes are named to beat the Mantine rule. */
.mantine-Tabs-list.dasheo-tab-sidebar {
    flex-wrap: nowrap;
}

.date-selector {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 6px 18px;
}

.date-selector__title {
    margin: 0;
    color: #c5d3d2;
    font-family: Archivo, sans-serif;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* The menu opens upwards. .app-select is named once more than in style.css, served
   after this file, where equal specificity would win on source order. */
.date-selector .app-select.is-open > .Select-control {
    border-top-color: transparent;
    border-bottom-color: rgba(9, 194, 105, 0.55);
    border-radius: 0 0 8px 8px;
}

.date-selector .app-select .Select-menu-outer {
    top: auto;
    bottom: 100%;
    margin-bottom: 0;
    border-top: 1px solid rgba(9, 194, 105, 0.55);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.date-selector__months {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.date-selector__months .form-check {
    height: auto;
    margin: 0;
}

.date-selector__months .form-check-label {
    width: 100%;
    justify-content: center;
    padding: 2px 0;
    border-radius: 8px;
    font-size: 11px;
    font-style: normal;
    text-transform: none;
}

.date-selector__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.date-selector__button { padding: 3px 0; border: 1px solid rgba(9, 194, 105, 0.35);
    border-radius: 8px; background: transparent; color: #c5d3d2;
    font-family: Archivo, sans-serif; font-size: 11px; cursor: pointer; }
.date-selector__button:hover { border-color: rgba(9, 194, 105, 0.75); color: #fff; }
