/* Satellite NO2 panel on the Map tab (Dash loads every .css in assets/ automatically) */
.no2-panel {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1000;
    width: 300px;
    max-width: calc(100% - 24px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    color: #003366;
    font-size: 13px;
}
.no2-panel > summary {
    cursor: pointer;
    padding: 9px 12px;
    font-size: 15px;
    font-weight: 600;
}
.no2-body {
    display: grid;
    gap: 10px;
    padding: 0 12px 12px;
}
.no2-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.no2-grow { flex: 1; }
.no2-date {
    flex: 1;
    text-align: center;
    font-weight: 600;
}
.no2-btn {
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f5f5f5;
    color: #003366;
    padding: 4px 9px;
    cursor: pointer;
}
.no2-btn:hover { background: #e8e8e8; }
.no2-apply {
    padding: 7px 0;
    border: none;
    border-radius: 4px;
    background: #007bff;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.no2-apply:hover { background: #0069d9; }
.no2-apply { flex: 1; }
.no2-clear { padding: 7px 12px; font-size: 14px; }
.no2-apply:focus-visible { outline: 2px solid #003366; outline-offset: 2px; }
.no2-steps label { margin-right: 12px; }
.no2-steps input { margin-right: 4px; }
.no2-panel .rc-slider { padding: 0; }
.no2-legend-title { margin-bottom: 4px; font-weight: 600; }
.no2-legend-bar { height: 12px; border-radius: 2px; }
.no2-legend-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    font-size: 11px;
    color: #333;
}
.no2-note { font-size: 11px; color: #666; }

/* Calendar: compact input that fills the space between the arrows, popup above the map */
.no2-panel .SingleDatePicker,
.no2-panel .SingleDatePickerInput,
.no2-panel .DateInput { width: 100%; }
.no2-panel .SingleDatePickerInput { border: 1px solid #ccc; border-radius: 4px; overflow: hidden; }
.no2-panel .DateInput_input {
    padding: 5px 8px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #003366;
    cursor: pointer;
}
.no2-panel .DateInput_input__focused { border-bottom-color: #003366; }
.no2-panel .SingleDatePicker_picker { z-index: 1100; }
.no2-panel .CalendarDay__selected,
.no2-panel .CalendarDay__selected:hover { background: #003366; border-color: #003366; }

/* Satellite pixels: keep them sharp squares instead of blurring when zoomed in */
.no2-overlay { image-rendering: pixelated; }