.dash-range-slider-input {  /* gets rid of the boxes right off the sliders */
    display: none !important;
}

h5 {
    /* fz layout */
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
    color: #023d6c;
}

h6,
.checkbox-label {
    /* panel font */
    padding-top: 5px;
    padding-bottom: 0px;
    font-size: 12px;
    /*color: red;*/
}

.checkbox {
    display: block;
    margin-bottom: 10px;
    /* or whatever spacing you prefer */
}

.spacer {
    /* vertical space between panel 1 elements */
    height: 20px;
}

.largeSpacer {
    /* vertical margin for panel 3, e.g. h5 + margins + something */
    height: 40px;
}

.smallSpacer {
    /* vertical margin for panel 3, e.g. h5 + margins + something */
    height: 10px;
}

/* --- Fix the size of tabs --- */
.tab,
.tabSelected {
    margin-top: 0px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    font-size: 12px;
    min-height: 28px !important;
    line-height: 1.3 !important;
    white-space: normal !important;   /* allow wrapping when stacked vertically */
    overflow: visible !important;
    word-break: break-word;
    border-radius: 8px 8px 0 0;
    border: 1px solid transparent;
    transition: background 0.3s ease-in-out;
}

/* LOGO */
.logoContainer {
    position: fixed;
    bottom: 20px;
    left: 10px;
    display: flex;
    flex-direction: column;
    /* 👈 Stack vertically */
    gap: 5px;
    align-items: center;
    z-index: 999;
    margin-right: 5px;
    /* Make sure it's always on top */
}

.logo {
    height: auto;
    width: clamp(120px, 12vw, 300px);
    opacity: 1.;
    transition: opacity 0.3s;
    margin-right: 5px;
}

.logo:hover {
    opacity: 0.5
}

/* BUTTONS */

.button {
    margin-right: 5px;
}

.smallButton {
    text-transform: none !important;
    /* remove uppercase */
    font-size: 10px !important;
    /* smaller text */
    padding: 2px 8px !important;
    /* thinner button */
    line-height: 1 !important;
    /* remove extra spacing */
    display: inline-flex;
    /* so icon + text align nicely */
    align-items: center;
    /* vertical align center */
    height: 16px !important;
    width: auto;
    margin-right: 3px;
}

/* Icon inside smallButton */
.buttonIcon {
    height: 10px !important;
    width: auto;
    margin-right: 4px;
}

/* PANELS */
.panel {
    border: 1px solid #ccc;
    /* light border */
    border-radius: 8px;
    /* rounded corners */
    /*    background-color: #f8f9fa;     */
    /* light grey background */
    padding: 15px;
    /* inner spacing */
    margin-top: 10px;
    /* spacing between panels */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* subtle shadow */
    display: flex;
    flex-direction: column;
    /* stack children vertically */
}

/* About tab */
.aboutContainer {
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 40px;
    margin-bottom: 20px;
    /*border: 1px solid #ccc;*/
    border-radius: 8px;
    background-color: #f5f6fa;
}

.aboutScroll {
    height: clamp(320px, 70vh, 800px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

.tabContentScroll {
    min-height: 0;
}

@media (max-height: 900px) {
    .tabContentScroll {
        max-height: 90vh;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 8px;
    }
}
