* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #222;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 36px;
}

.page-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

h1 {
    margin: 0 0 6px;
    font-size: 28px;
}

.season-period {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.season-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.season-selector select {
    min-width: 190px;
    padding: 10px 38px 10px 14px;
    border: 1px solid #d7dde3;
    border-radius: 12px;
    background-color: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    outline: none;
    appearance: none;

    background-image:
        linear-gradient(45deg, transparent 50%, #666 50%),
        linear-gradient(135deg, #666 50%, transparent 50%);
    background-position:
        calc(100% - 17px) 50%,
        calc(100% - 12px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.season-selector select:hover {
    border-color: #b8c0ca;
}

.season-selector select:focus {
    border-color: #9ca3af;
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.15);
}

.weather-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px 20px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.weather-card h2 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.chart-wrap {
    position: relative;
    width: 100%;
    height: 320px;
}

.status-message {
    margin: 6px 0 0;
    color: #777;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 20px, 1200px);
        padding-top: 14px;
    }

    .page-header {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    h1 {
        font-size: 24px;
    }

    .season-selector {
        justify-content: space-between;
    }

    .season-selector select {
        flex: 1;
        max-width: 230px;
    }

    .weather-card {
        padding: 14px 12px 16px;
        margin-bottom: 16px;
    }

    .chart-wrap {
        height: 270px;
    }
}
