/* General Styles */
body {
    background-color: #f7f9fc;
    color: #333333;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

.header-band {
    background-color: #2C3E50;
    color: #ffffff;
    padding: 20px 0;
    font-size: 2.0em;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-bottom: 4px solid #1a252f;
}

h2 {
    font-weight: bold;
    margin: 0;
}

.same-width {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Map */
#map svg {
    display: block;
    max-width: 100%;
    border-radius: 3px;
}

/* Buttons */
#reset-time-button, #play-button {
    width: 100px;
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 10px;
    font-size: 16px;
}

.btn-primary {
    background-color: #2C3E50;
    border-color: #2C3E50;
    color: #ffffff;
    margin-right: 10px;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #1a252f;
    border-color: #1a252f;
}

.btn-secondary {
    background-color: #6C7A8A;
    border-color: #6C7A8A;
    color: #ffffff;
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #5A6A6B;
    border-color: #5A6A6B;
}

/* Slider */
#slider-div {
    width: 410px;
    margin-left: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    margin-right: 5px;
    font-size: 16px;
}

/* Date Label */
#dateLabel {
    font-weight: bold;
    font-size: 1.6em;
    color: #2C3E50;
    padding: 5px 5px;
}

/* Tooltips */
#tooltip-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, -100%);
    font-size: 0.9em;
    visibility: hidden;
    width: 150px;
    padding: 8px;
    color: #ffffff;
    background-color: #333333;
    border-radius: 8px;
    text-align: justify;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#tooltip-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, -100%);
    font-size: 1.4em;
    font-weight: bold;
    visibility: hidden;
    width: 110px;
    padding: 0;
    color: #ffffff;
    background-color: transparent;
    border-radius: 8px;
    text-align: left;
}

/* Axis */
.axis text {
    font-size: 12px;
    fill: #333333;
}

/* Slider Colors */
.ui-slider-range-Jan {
    background: rgba(175, 240, 91, 0.5);
}

.ui-slider-range-Feb {
    background: rgba(96, 247, 96, 0.5);
}

.ui-slider-range-Mar {
    background: rgba(40, 234, 141, 0.5);
}

.ui-slider-range-Apr {
    background: rgba(26, 199, 194, 0.5);
}

.ui-slider-range-May {
    background: rgba(47, 150, 224, 0.5);
}

.ui-slider-range-Jun {
    background: rgba(83, 101, 214, 0.5);
}

.ui-slider-range-Jul {
    background: rgba(110, 64, 170, 0.5);
}

.ui-slider-range-Aug {
    background: rgba(83, 101, 214, 0.5);
}

.ui-slider-range-Sep {
    background: rgba(47, 150, 224, 0.5);
}

.ui-slider-range-Oct {
    background: rgba(26, 199, 194, 0.5);
}

.ui-slider-range-Nov {
    background: rgba(40, 234, 141, 0.5);
}

.ui-slider-range-Dec {
    background: rgba(96, 247, 96, 0.5);
}

/* Zoom */
#zoom-controls {
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#zoom-controls button {
    font-size: 18px;
    padding: 3px 10px;
    margin-right: 5px;
}

/* City selectors */
.city-selector {
    display: flex;
    flex-direction: column;
    padding: 5px 30px;
}

.city-selector .form-label {
    margin-bottom: 0px;
}

#compare-city-1 select {
    background-color: #b74e32;
    color: #ffffff;
    border: 1px solid #9c3e27;
    border-radius: 4px;
    padding: 5px;
    margin-top: 0;
    font-size: 16px;
}

#compare-city-2 select {
    background-color: #b38b00;
    color: #ffffff;
    border: 1px solid #8a6b00;
    border-radius: 4px;
    padding: 5px;
    margin-top: 0;
    font-size: 16px;
}
  
/* Insights Box */
#insights-box {
    background-color: #f7f9fc;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: justify;
    margin-bottom: 20px;
    font-size: 16px;
}

#insights-box h5 {
    margin: 10px 0 10px;
    font-size: 1.4em;
    color: #333;
    font-weight: 600;
}

#insights-box p {
    margin: 0 0 10px;
    line-height: 1.6;
    font-size: 16px;
}

#insights-box ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

#insights-box li {
    margin-bottom: 5px;
}

/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#loading-overlay p {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}