.modelsDiv {
    position: absolute;
    top: 10px;
    height: 96px;
    z-index: 3;
    display: none;
    width: 760px;
    left: max(370px, calc((100% - 900px) / 2));
}

.model-buttons-container {
    /* display: flex; */
    flex-wrap: wrap;
    /* gap: 8px; */
    /* space between buttons */
    margin: 12px;
    /* space before the “sliders” row */
}

/* --- ICON BUTTONS (top row) --- */
.model-buttons-container .ModelBut {
    flex: 0 1 120px;
    /* basis:120px, shrink allowed */
    padding: 5px 15px;
    white-space: nowrap;
    /* keep icon centered */
    background-color: rgb(29, 52, 76);
    border: none;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    width: 65px;
    /* icon size */
}

.model-buttons-container .ModelBut:hover {
    background-color: rgb(229, 132, 17);
}

/* container for each dropdown */
.DropdownModels {
    position: relative;
    display: inline-block;
    margin: 4px;
}

/* --- DROPDOWN PANEL --- */
.DropdownModels .Dropdown-Content {
    display: none;
    position: absolute;
    top: 100%;
    /* sit flush below icon */
    left: 0;
    background: #20527c;
    /* match blue */
    border-radius: 6px;
    z-index: 1000;
    overflow: visible;
    min-width: 180px;
    width: max-content;
    max-width: 280px;
    padding: 0;
    /* no inner padding */
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.DropdownModels:hover .Dropdown-Content {
    display: block;
}

/* --- DROPDOWN ITEMS --- */
.ModelButDrop {
    display: block;
    width: 100%;
    background: none;
    border: 0;
    color: #fff;
    text-align: left;
    padding: 8px 12px;
    cursor: pointer;
    white-space: normal;
    /* allow wrapping */
    line-height: 1.3;
}

.ModelButDrop:hover {
    background: #1a4366;
    /* hover colour same as Overlays */
}

.ModelButDrop:disabled {
    opacity: .6;
    cursor: default;
}

/* --- SLIDER + INFO ROW --- */
.model-sliders-container {
    display: flex;
    gap: 8px;
    min-height: 40px;
    /* adjust to taste */
}

#time-container {
    font-family: Arial, sans-serif;
    margin-left: 10px;
}

#model-pointer-data {
    width: 120px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0px 0px 10px #0007;
    pointer-events: none;
    text-align: left;
    padding-left: 20px;
    font-size: 16px;
}

#modelrun {
    width: 150px;
    display: none;
}

#weather-time-slider {
    width: 380px;
    margin-right: 20px;
}

#model-time-text {
    font-size: 16px;
    font-weight: 600;
    width: 150px;
    text-align: left;
}

#models-top-section {
    display: flex;
    /* justify-content: space-around; */
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

#weather-play-pause-bt {
    width: 70px;
}