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

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

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;
}

.mainLayoutScroll {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.mainLayoutRow {
    flex-wrap: nowrap;
    min-width: 730px;
    width: max(100%, 730px);
}

/* --- 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: 12px 10px 20px;
    padding: 12px 14px;
    border-radius: 8px;
    background-color: #f5f6fa;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}

.aboutScroll {
    height: auto;
    max-height: none;
    overflow-y: visible;
    overflow-x: auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.aboutScroll pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.aboutScroll img {
    max-width: 100%;
    height: auto;
}

.tabContentScroll {
    min-height: 0;
}

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

@media (max-width: 900px) {
    .aboutContainer {
        margin: 8px 0 16px;
        padding: 10px 12px;
        border-radius: 6px;
    }
}
