/* ================================================================
   WeatherVision - 24 Hour Tempest Weather Trends
   ================================================================ */

#wv-weather-history {
    width: 100%;
    box-sizing: border-box;
    margin: 28px auto;
}

#wv-weather-history .wv-history-heading {
    margin-bottom: 18px;
}

#wv-weather-history .wv-history-heading h2 {
    margin: 0 0 6px 0;
    font-size: 1.6rem;
    line-height: 1.2;
}

#wv-weather-history .wv-history-heading p {
    margin: 0;
    opacity: 0.72;
    font-size: 0.92rem;
}

#wv-weather-history .wv-history-status {
    margin-top: 8px;
    font-size: 0.82rem;
    opacity: 0.68;
}

#wv-weather-history .wv-history-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

#wv-weather-history .wv-chart-card {
    position: relative;
    min-width: 0;
    padding: 16px 16px 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(128, 128, 128, 0.22);
    background: rgba(20, 25, 35, 0.38);
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.10);
}

#wv-weather-history .wv-chart-title {
    margin: 0 0 3px 0;
    font-size: 1rem;
    font-weight: 700;
}

#wv-weather-history .wv-chart-subtitle {
    min-height: 18px;
    margin-bottom: 10px;
    font-size: 0.78rem;
    opacity: 0.68;
}

#wv-weather-history .wv-chart-wrap {
    position: relative;
    width: 100%;
    height: 235px;
}

#wv-weather-history canvas {
    display: block;
    width: 100%;
    height: 100%;
}

#wv-weather-history .wv-history-empty {
    padding: 30px;
    text-align: center;
    opacity: 0.70;
}

@media (max-width: 900px) {

    #wv-weather-history .wv-history-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 520px) {

    #wv-weather-history {
        margin-top: 18px;
    }

    #wv-weather-history .wv-chart-card {
        padding: 12px 10px 10px 10px;
    }

    #wv-weather-history .wv-chart-wrap {
        height: 210px;
    }

}
