*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f4f4;

    display:flex;

    min-height:100vh;

    padding:20px;
    gap:20px;
}

/* =========================
    SIDEBAR
========================= */

.sidebar {
    width: 260px;
    background: white;
    border: 2px solid black;
    padding: 25px;
}

.sidebarTitle {
    display: block;
    margin-bottom: 12px;
    font-size: .9rem;
    color: #666;
    font-weight: bold;
}

#citySelect {
    width: 100%;
    padding: 14px 16px;

    font-size: 1rem;

    border: 2px solid black;
    border-radius: 12px;

    background: white;
    cursor: pointer;

    transition: .2s;
}

#citySelect:hover {
    background: #fafafa;
}

#citySelect:focus {
    outline: none;
    box-shadow: 4px 4px 0 black;
}

/* =========================
    MAIN CONTENT
========================= */

.mainContent{
    flex:1;

    display:flex;
    flex-direction:column;

    gap:20px;
}

/* =========================
    CARDS
========================= */

.todayCard,
.forecastCard{
    background:white;

    border:2px solid black;

    padding:25px;
}

/* TITLE */

.title{
    display: flex;
    align-items: center;
}

.cardHeader{
    margin-bottom:20px;
}

.sectionLabel{
    font-size:.9rem;
    color:#666;
}

#cityName{
    margin-bottom: 5px;
}

/* =========================
    WEATHER MAIN
========================= */

.weatherMain{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:25px;
}

.tempRow{
    display:flex;
    align-items:center;
    gap:20px;
}

.tempRow h1{
    font-size:4rem;
}

.weatherIcon{
    font-size:4rem;
}

.weatherInfo{
    display:flex;
    flex-direction:column;
    gap:15px;

    font-size:1.2rem;
}

.minMax{
    display:flex;
    gap:30px;
}

.forecastMinMax{
    display: flex;
    gap: 15px;
}

/* =========================
    TABS
========================= */

.weatherTabs{
    display:flex;
    gap:10px;

    margin-bottom:20px;
}

.weatherTabs button{
    border:2px solid black;
    background:white;

    padding:8px 15px;

    border-radius:10px;

    cursor:pointer;
}

.weatherTabs button.active{
    background:black;
    color:white;
}

[class^="weatherTabsForecast"]{
    display:flex;
    gap:10px;
    margin-bottom:20px;
}

[class^="weatherTabsForecast"] button{
    border:2px solid black;
    background:white;
    padding:8px 15px;
    border-radius:10px;
    cursor:pointer;
}

[class^="weatherTabsForecast"] button.active{
    background:black;
    color:white;
}

/* =========================
    CHART
========================= */

.chartContainer{
    margin-bottom:25px;
    height: 300px;
}

.chartPlaceholder{
    height:200px;

    border-left:3px solid black;
    border-bottom:3px solid black;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#888;
}

/* =========================
    METRICS
========================= */

.metrics{
    display:flex;
    justify-content:space-between;

    gap:20px;
}

.metric{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.metric span{
    font-size:.9rem;
    color:#666;
}

.metric strong{
    font-size:1.2rem;
}

/* =========================
    FORECAST
========================= */

.forecastCard{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.forecastItem{
    border-bottom:2px solid #ddd;

    padding-bottom:10px;
}

.forecastHeader{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.forecastLeft{
    display:flex;
    align-items:center;
    gap:20px;
}

.forecastTemp{
    font-size:2rem;
}

.forecastIcon{
    font-size:2rem;
}

.forecastRight{
    display:flex;
    align-items:center;
    gap:30px;
}

.forecastDetails{
    margin-top:10px;
}