#chart-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
    height: 200px; 
    position: relative; 
}

#stationChart {
    max-width: 100%;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: #121212;
}

#page-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

#map {
    flex-grow: 1;
    height: 100%;
    background-color: #181818;
}

#sidebar {
    width: 360px;
    flex-shrink: 0;
    height: 100%;
    background-color: #1e1e1e;
    color: #e0e0e0;
    padding: 20px 25px;
    box-sizing: border-box;
    overflow-y: auto;
    border-left: 1px solid #0a0a0a;
    display: flex;
    flex-direction: column;
}

#charts-area {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #333;

}

#home-link {

    display: block; 
    padding: 8px 10px;
    margin-bottom: 10px;
    background-color: #333;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
    flex-shrink: 0; 
}

.chart-wrapper {
    margin-bottom: 60px; 
    height: 160px; 
    position: relative;
}

.chart-wrapper h4 { 
    font-size: 0.85em;
    font-weight: 500;
    color: #a0a0a0;
    margin: 0 0 8px 5px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-wrapper canvas {
    max-width: 100%;
}

.chart-wrapper p { 
     text-align: center;
     color: #666;
     padding-top: 30px; 
}

.sidebar-placeholder {
    text-align: center;
    margin: auto;
    color: #666;
    font-size: 0.95em;
}
.sidebar-placeholder i {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
    color: #444;
}

.station-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
    flex-shrink: 0;
}

.station-data-section {

    margin: 0 -10px;
    padding: 0 10px;
}

.primary-temp-display {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2a2e;
}

.primary-temp-display .data-label {
    display: block;
    font-size: 0.9em;
    color: #a0a0a0;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-temp-display .data-value {
    font-size: 4.8em;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.1;
}

.primary-temp-display .temp-unit {
    font-size: 0.4em;
    font-weight: 400;
    vertical-align: super;
    margin-left: 2px;
}

.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5px;
    margin-bottom: 4px;
    border-bottom: 1px solid #282828;
    font-size: 0.95em;
}

.data-item:last-child {
    border-bottom: none;
}

.data-item .data-label {
    color: #a0a0a0;
    margin-right: 10px;
}

.data-item .data-value {
    color: #ffffff;
    font-weight: 500;
    text-align: right;
}

.leaflet-bottom.leaflet-right {
    visibility: hidden;
}

#sidebar::-webkit-scrollbar { 
    width: 6px;
}
#sidebar::-webkit-scrollbar-track {
    background: #1e1e1e;
}
#sidebar::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 10px;
}
#sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}