/*index.css - Index page specific styles */

/* ================= Body & Layout ================= */
.content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.content-logo {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 50px;
    opacity: 0.8;
    pointer-events: none;
}

#map {
    flex: 1;
    width: 100%;
    height: 100%;
}

/* ================= Sidebar ================= */
.sidebar {
    width: 60px;
    padding: 1rem 0.5rem;
    align-items: center;
    transition: width 0.3s ease;
    position: relative;
}

.sidebar.expanded {
    width: 300px;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: flex-start;
}

.sidebar a {
    text-decoration: none;
    color: #333;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.sidebar.expanded a {
    justify-content: flex-start;
}

.sidebar i {
    margin-right: 0;
    transition: margin 0.3s ease;
}

.sidebar.expanded i {
    margin-right: 10px;
}

.sidebar span {
    display: none;
}

.sidebar.expanded span {
    display: inline;
}

.toggle-btn {
    margin-top: auto;
    padding: 0.5rem;
    cursor: pointer;
    width: 100%;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

.sidebar a.active {
    background-color: #5b8da6;
    color: white;
    border-radius: 6px;
}

.sidebar a.active i {
    color: white;
}

/* ================= Station Popup ================= */
.station-popup {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 275px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    overflow: hidden;
    z-index: 2000;
    border: 1px solid #dee2e6;
    max-height: 90vh;
    overflow-y: auto;
}

.station-popup-header {
    background: #5b8da6;
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: grab;
    user-select: none;
}

.station-popup #closePopup {
    filter: invert(1);
    opacity: 0.9;
}

.station-popup #stationPopupBody {
    padding: 1rem;
}

.station-description {
    font-style: italic;
    color: #888;
    margin-top: -8px;
    margin-bottom: 8px;
    font-size: 0.9em;
}

/* ================= Station Cards ================= */
.station-card {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #f9fbfc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.station-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #41728c;
}

.station-info {
    font-size: 14px;
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
}

.station-info i {
    margin-right: 6px;
    color: #41728c;
}

.station-navigation-link {
    color: #5b8da6;
    text-decoration: none;
    font-weight: bold;
}

.station-navigation-link:hover {
    color: #4a7488;
    text-decoration: underline;
}

/* ================= Parameter Controls ================= */
.parameter-control {
    display: none !important;
}

.parameter-header {
    background: #5b8da6;
    color: white;
    padding: 0.75rem 1rem;
    border-bottom: none;
}

.parameter-header h6 {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.parameter-body {
    padding: 1rem;
    background-color: #f9fbfc;
}

.parameter-body .form-select {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    background-color: #ffffff;
}

.parameter-body .form-select:focus {
    border-color: #5b8da6;
    box-shadow: 0 0 0 0.2rem rgba(91, 141, 166, 0.25);
}

.parameter-clickable {
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

/* ================= Legend Styles ================= */
.parameter-legend,
#popupParameterLegend {
    background-color: #ffffff;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    margin: 0;
}

.legend-title,
#popupParameterLegend .legend-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #41728c;
    margin-bottom: 0.75rem;
}

.legend-item,
#popupParameterLegend .legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    padding: 0.25rem 0;
    line-height: 1.1;
}

#popupParameterLegend .legend-item {
    margin-bottom: 0.25rem;
    padding: 0.125rem 0;
}

.legend-item:last-child,
#popupParameterLegend .legend-item:last-child {
    margin-bottom: 0;
}

.legend-color,
#popupParameterLegend .legend-color {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 0.75rem;
    border: 1px solid #ccc;
    flex-shrink: 0;
}

#popupParameterLegend .legend-color {
    border-color: #000;
}

.legend-label,
#popupParameterLegend .legend-label {
    color: #555;
    line-height: 1.2;
}

#popupParameterLegend .legend-label {
    line-height: 1.1;
}

/* ================= Tree View (Sensor Modal) ================= */
.tree-view {
    font-family: 'Onest', Arial, sans-serif;
}

.tree-node {
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 0;
}

.tree-node:last-child {
    border-bottom: none;
}

.tree-level-0 {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #41728c;
    border-left: 4px solid #5b8da6;
    padding-left: 1rem;
}

.tree-level-1 {
    background-color: #ffffff;
    color: #6c757d;
    padding-left: 2.5rem;
    border-left: 2px solid #dee2e6;
    margin-left: 1rem;
}

.tree-level-2 {
    background-color: #fafbfc;
    color: #495057;
    padding-left: 3.5rem;
    border-left: 1px solid #dee2e6;
    margin-left: 2rem;
    font-size: 0.9rem;
}

.tree-toggle {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-right: 0.5rem;
    color: #5b8da6;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.tree-toggle:hover {
    color: #41728c;
}

.tree-toggle.expanded {
    transform: rotate(90deg);
}

.tree-content {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
}

.tree-children {
    display: none;
    margin-top: 0.5rem;
}

.tree-children.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.sensor-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sensor-details {
    font-size: 0.85rem;
    color: #6c757d;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-active {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-inactive {
    background-color: #f8d7da;
    color: #842029;
}

.sensor-type-icon {
    margin-right: 0.5rem;
    color: #5b8da6;
}

.last-received {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}

.search-container {
    position: sticky;
    top: 0;
    background: white;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    z-index: 10;
}

.tree-container {
    max-height: 60vh;
    overflow-y: auto;
    padding: 1rem;
}

.search-container .d-flex.gap-2 {
    justify-content: flex-end;
}

.btn-expand {
    background-color: #5b8da6;
    border-color: #5b8da6;
    color: white;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.btn-expand:hover {
    background-color: #41728c;
    border-color: #41728c;
    color: white;
}

.sensor-clickable:hover {
    background-color: #e8f4f8 !important;
    border-left-color: #5b8da6 !important;
}

.sensor-clickable:active {
    background-color: #d4edda !important;
}

.sensor-clickable .bi-arrow-right-circle {
    opacity: 0.6;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.sensor-clickable:hover .bi-arrow-right-circle {
    opacity: 1;
    color: #5b8da6 !important;
}

#refreshSensorsBtn {
    border-color: #5b8da6;
    color: white;
    background-color: #5b8da6;
    transition: all 0.3s ease;
    min-width: 40px;
}

#refreshSensorsBtn:hover {
    background-color: #41728c;
    border-color: #41728c;
}

#refreshSensorsBtn.refreshing {
    pointer-events: none;
    opacity: 0.6;
}

#refreshSensorsBtn.refreshing i {
    animation: spin 1s linear infinite;
}

#sensorModal .modal-header {
    background-color: #5b8da6;
    color: white;
    border-bottom: none;
}

#projectInfoModal .modal-header {
    background-color: #5b8da6;
    color: white;
    border-bottom: none;
}
/* ================= BlueBox Controls ================= */
.sidebar:not(.expanded) #blueboxControls {
    display: none !important;
}

.sidebar:not(.expanded) .bluebox-control-item,
.sidebar:not(.expanded) .bluebox-controls .sideMenuTitle {
    display: none;
}

.sidebar.expanded .bluebox-control-item,
.sidebar.expanded .bluebox-controls .sideMenuTitle {
    display: block;
}

#applyBlueboxSettings {
    background-color: #5b8da6;
    border-color: #5b8da6;
    color: #fff;
}

#applyBlueboxSettings:hover,
#applyBlueboxSettings:focus {
    background-color: #41728c;
    border-color: #41728c;
    color: #fff;
}

#applyBlueboxSettings:focus {
    box-shadow: 0 0 0 0.25rem rgba(91, 141, 166, 0.3);
}

.bluebox-controls {
    display: block;
    width: calc(100% - 0px);
}

/* ================= Wave Motion Controls ================= */
.sidebar:not(.expanded) #waveMotionControls {
    display: none !important;
}

.sidebar:not(.expanded) .wave-motion-control-item,
.sidebar:not(.expanded) .wave-motion-controls .sideMenuTitle {
    display: none;
}

.sidebar.expanded .wave-motion-control-item,
.sidebar.expanded .wave-motion-controls .sideMenuTitle {
    display: block;
}

#applyWaveMotionSettings {
    background-color: #5b8da6;
    border-color: #5b8da6;
    color: #fff;
}

#applyWaveMotionSettings:hover,
#applyWaveMotionSettings:focus {
    background-color: #41728c;
    border-color: #41728c;
    color: #fff;
}

#applyWaveMotionSettings:focus {
    box-shadow: 0 0 0 0.25rem rgba(91, 141, 166, 0.3);
}

.wave-motion-controls {
    display: block;
    width: calc(100% - 0px);
}

#waveMotionDateTimePicker {
    background-color: white;
    border: 1px solid #ced4da;
    cursor: pointer;
}

#waveMotionDateTimePicker:focus {
    border-color: #5b8da6;
    box-shadow: 0 0 0 0.2rem rgba(91, 141, 166, 0.25);
}

/* ================= Rain Layer Controls ================= */
.sidebar:not(.expanded) #rainControls {
    display: none !important;
}

.sidebar:not(.expanded) .rain-control-item,
.sidebar:not(.expanded) .sideMenuTitle {
    display: none;
}

.sidebar.expanded .rain-control-item,
.sidebar.expanded .sideMenuTitle {
    display: block;
}

#applyRainSettings {
    background-color: #5b8da6;
    border-color: #5b8da6;
    color: #fff;
}

#applyRainSettings:hover,
#applyRainSettings:focus {
    background-color: #41728c;
    border-color: #41728c;
    color: #fff;
}

#applyRainSettings:focus {
    box-shadow: 0 0 0 0.25rem rgba(91, 141, 166, 0.3);
}

#rain24hDateContainer {
    animation: slideDown 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #5b8da6;
}

#rain24hDatePicker {
    background-color: white;
    border: 1px solid #ced4da;
    cursor: pointer;
}

#rain24hDatePicker:focus {
    border-color: #5b8da6;
    box-shadow: 0 0 0 0.2rem rgba(91, 141, 166, 0.25);
}

#rainZoneSelect option[style*="color: #dc3545"] {
    background-color: #fff5f5;
    font-style: italic;
}

#rainZoneSelect option:disabled,
#rainZoneSelect option[disabled] {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    font-style: italic;
    cursor: not-allowed;
}

#rainZoneSelect.error {
    animation: shake 0.3s ease-in-out;
    border-color: #dc3545;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.rain-error-message {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0;
    font-size: 0.85rem;
    color: #856404;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.rain-error-message i {
    margin-top: 2px;
    flex-shrink: 0;
}

.rain-error-message.hidden {
    display: none;
}

/* ================= Unified Legends Container ================= */
#unifiedLegendsContainer {
    position: fixed;
    bottom: 30px;
    right: 40px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 15px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    max-width: 90vw;
}

/* Legend Header with Control Buttons */
.legend-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.legend-minimized-label {
    display: none;
    font-weight: 600;
    font-size: 13px;
    color: #41728c;
    margin-right: auto;
}

.legend-minimize-btn,
.legend-close-btn {
    background: transparent;
    border: 1px solid rgba(65, 114, 140, 0.3);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #41728c;
    transition: all 0.2s ease;
    padding: 0;
}

.legend-minimize-btn:hover,
.legend-close-btn:hover {
    background: rgba(65, 114, 140, 0.1);
    border-color: #41728c;
    color: #2d5768;
}

.legend-minimize-btn i,
.legend-close-btn i {
    font-size: 11px;
    line-height: 1;
}

/* Minimized state */
#rainLegendSection.minimized .legend-content,
#waveMotionLegendSection.minimized .legend-content {
    display: none !important;
}

#rainLegendSection.minimized #legend-instantaneous,
#rainLegendSection.minimized #legend-cumulative-15,
#rainLegendSection.minimized #legend-cumulative-other,
#waveMotionLegendSection.minimized #legend-wave-vtpk,
#waveMotionLegendSection.minimized #legend-wave-vtm10 {
    display: none !important;
}

#rainLegendSection.minimized,
#waveMotionLegendSection.minimized {
    padding: 0;
    margin-bottom: 0;
}

#rainLegendSection.minimized .legend-header,
#waveMotionLegendSection.minimized .legend-header {
    margin-bottom: 0;
    padding-bottom: 5px;
    border-bottom: none;
    min-height: 24px;
}

#unifiedLegendsContainer.minimized .legend-content {
    display: none;
}

#unifiedLegendsContainer.minimized #rainLegendSection,
#unifiedLegendsContainer.minimized #waveMotionLegendSection {
    display: none !important;
}

#unifiedLegendsContainer.minimized {
    padding: 8px 12px;
    min-width: 120px;
}

#unifiedLegendsContainer.minimized .legend-minimized-label {
    display: block;
}

#unifiedLegendsContainer.minimized .legend-header {
    margin-bottom: 0;
}

/* Spacing between rain and wave motion sections when both are visible */
#rainLegendSection:not([style*="display: none"]) + #waveMotionLegendSection:not([style*="display: none"]) {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(65, 114, 140, 0.2);
}

/* Adjust spacing when one section is minimized */
#rainLegendSection.minimized + #waveMotionLegendSection:not(.minimized) {
    margin-top: 8px;
    padding-top: 8px;
}

#rainLegendSection:not(.minimized) + #waveMotionLegendSection.minimized {
    margin-top: 8px;
    padding-top: 8px;
}

/* Make legends slightly smaller when both rain and wave motion are visible */
#unifiedLegendsContainer:has(#rainLegendSection:not([style*="display: none"])):has(#waveMotionLegendSection:not([style*="display: none"])) {
    padding: 11px 18px;
    font-size: 12px;
}

#unifiedLegendsContainer:has(#rainLegendSection:not([style*="display: none"])):has(#waveMotionLegendSection:not([style*="display: none"])) .legend-title {
    font-size: 12px;
    margin-bottom: 8px;
}

#unifiedLegendsContainer:has(#rainLegendSection:not([style*="display: none"])):has(#waveMotionLegendSection:not([style*="display: none"])) .legend-segment {
    width: 28px;
    height: 18px;
}

#unifiedLegendsContainer:has(#rainLegendSection:not([style*="display: none"])):has(#waveMotionLegendSection:not([style*="display: none"])) .legend-label {
    font-size: 10px;
    margin-top: 3px;
}

#unifiedLegendsContainer:has(#rainLegendSection:not([style*="display: none"])):has(#waveMotionLegendSection:not([style*="display: none"])) .legend-scale {
    gap: 2px;
}

/* Legacy rain-legend class (kept for backwards compatibility) */
.rain-legend {
    position: fixed;
    bottom: 20px;
    right: 40px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 15px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    max-width: 90vw;
}

.rain-legend .legend-title {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 12px;
    color: #333;
}

.legend-scale {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.rain-legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legend-segment {
    width: 35px;
    height: 25px;
    border: 1px solid #999;
}

.rain-legend .legend-label {
    font-size: 12px;
    margin-top: 4px;
    color: #333;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    min-height: 14px;
}

/* ================= Wave Motion Legend ================= */
#waveMotionLegend {
    position: fixed;
    bottom: 20px;
    left: 80px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 12px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    width: fit-content;
    max-width: 90vw;
    transition: left 0.3s ease;
}

#waveMotionLegend .legend-title {
    white-space: nowrap;
}

/* Move legend when sidebar is expanded - adjust based on sidebar width */
.sidebar.expanded ~ * #waveMotionLegend,
body:has(.sidebar.expanded) #waveMotionLegend {
    left: 320px;
}

/* ================= Map Styling ================= */
.map-tiles-layer {
    filter: brightness(1.05) contrast(1) saturate(0.6) grayscale(50%);
    opacity: 0.5;
}

.ol-control button {
    background-color: #5b8da6 !important;
    color: white !important;
    border-radius: 4px;
    border: none;
}

.ol-control button:hover {
    background-color: #41728c !important;
}

.ol-zoom {
    top: 1em;
    left: auto;
    right: 1em;
}

/* ================= Responsive Design ================= */
@media (max-width: 1199px) {
    .search-container .col-lg-4,
    .search-container .col-lg-8 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .search-container .col-lg-4 .d-flex {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 0.5rem;
    }

    .btn-expand {
        flex: 1 1 auto !important;
    }

    #refreshSensorsBtn {
        flex: 0 0 auto !important;
    }
}

@media (max-width: 768px) {
    .rain-legend, #waveMotionLegend, #unifiedLegendsContainer {
        bottom: 25px;
        padding: 12px 20px;
        max-width: 95vw;
    }

    #waveMotionLegend {
        left: 70px;
    }

    .legend-segment {
        width: 28px;
        height: 20px;
    }

    .rain-legend .legend-label {
        font-size: 11px;
    }

    .rain-legend .legend-title {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    #unifiedLegendsContainer {
        bottom: 25px;
        right: 10px;
        left: 10px;
    }

    #waveMotionLegend {
        left: 10px;
    }

    .legend-segment {
        width: 22px;
        height: 18px;
    }

    .rain-legend .legend-label {
        font-size: 10px;
    }
}

/* ================= Rainfall Calendar Styles ================= */
.rainfall-day-display {
    animation: slideDown 0.3s ease;
}

.rainfall-day-display .sideMenuTitle {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.rainfall-day-display strong {
    color: white;
}

.rainfall-day-display {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

/* Custom Flatpickr styling for rainfall calendar */
.flatpickr-calendar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #dee2e6;
}

.flatpickr-months {
    background: #5b8da6;
    border-radius: 8px 8px 0 0;
}

.flatpickr-month {
    color: white;
    font-weight: normal !important;
}

.flatpickr-current-month {
    color: white;
    font-weight: normal !important;
}

.flatpickr-monthDropdown-months {
    background: #5b8da6;
    color: white;
    font-weight: normal !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #5b8da6;
    color: white;
    font-weight: normal !important;
}

.flatpickr-current-month .numInputWrapper input {
    color: white;
    font-weight: normal !important;
}

.flatpickr-weekday {
    color: white;
    font-weight: 600;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    color: white !important;
    fill: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    vertical-align: middle !important;
}

/* Day cells with rainfall data */
.flatpickr-day {
    border-radius: 4px;
    transition: all 0.2s ease;
}

.flatpickr-day:hover {
    background: #e8f4f8;
    border-color: #5b8da6;
}

.flatpickr-day.selected {
    background: #5b8da6 !important;
    border-color: #5b8da6 !important;
    color: white !important;
    font-weight: bold;
}

.flatpickr-day.today {
    border-color: #41728c;
    font-weight: 600;
}

/* Custom scrollbar for sensor list */
.rainfall-day-display > div:last-child > div {
    scrollbar-width: thin;
    scrollbar-color: rgba(91, 141, 166, 0.5) rgba(255, 255, 255, 0.1);
}

.rainfall-day-display > div:last-child > div::-webkit-scrollbar {
    width: 6px;
}

.rainfall-day-display > div:last-child > div::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.rainfall-day-display > div:last-child > div::-webkit-scrollbar-thumb {
    background: rgba(91, 141, 166, 0.5);
    border-radius: 3px;
}

.rainfall-day-display > div:last-child > div::-webkit-scrollbar-thumb:hover {
    background: rgba(91, 141, 166, 0.7);
}