.weather-data-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.weather-card {
    border: 1px solid #e5e7eb;
}

.weather-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.weather-tabs {
    width: 100%;
}

.weather-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.25rem;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
}

.weather-tab-button {
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    padding: 0.5rem 0.9rem;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.weather-tab-button.is-active {
    background: #ffffff;
    border-color: #dbeafe;
    color: #2563eb;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
}

.weather-tab-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.weather-status-alert {
    max-width: 600px;
}

.weather-table {
    width: 100%;
}

.weather-flags-cell {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.weather-col-date {
    flex: 0 0 140px;
}

.weather-col-metric {
    flex: 0 0 90px;
    text-align: right;
}

.weather-col-rain,
.weather-col-wind {
    flex: 0 0 110px;
    text-align: right;
}

.weather-col-condition {
    flex: 1 1 0;
}

.weather-col-flags {
    flex: 0 0 130px;
}

.weather-flag {
    opacity: 1;
}

.weather-flag--inactive {
    opacity: 0.3;
}

@media (min-width: 768px) {
    .weather-status-alert {
        max-width: 720px;
    }
}

@media (max-width: 1200px) {
    .weather-table .jans-table-header .jans-table-cell:nth-child(8),
    .weather-table .jans-table-row .jans-table-cell:nth-child(8) {
        display: none;
    }
}

@media (max-width: 992px) {
    .weather-col-wind {
        flex: 1 1 0;
    }

    .weather-table .jans-table-header .jans-table-cell:nth-child(7),
    .weather-table .jans-table-row .jans-table-cell:nth-child(7) {
        display: none;
    }
}

@media (max-width: 768px) {
    .weather-col-rain {
        flex: 1 1 0;
    }

    .weather-table .jans-table-header .jans-table-cell:nth-child(6),
    .weather-table .jans-table-row .jans-table-cell:nth-child(6) {
        display: none;
    }
}

@media (max-width: 640px) {
    .weather-col-metric.weather-col-max {
        flex: 1 1 0;
    }

    .weather-table .jans-table-header .jans-table-cell:nth-child(5),
    .weather-table .jans-table-row .jans-table-cell:nth-child(5) {
        display: none;
    }
}

@media (max-width: 560px) {
    .weather-col-metric.weather-col-avg {
        flex: 1 1 0;
    }

    .weather-table .jans-table-header .jans-table-cell:nth-child(4),
    .weather-table .jans-table-row .jans-table-cell:nth-child(4) {
        display: none;
    }
}

@media (max-width: 480px) {
    .weather-col-metric.weather-col-min {
        flex: 1 1 0;
    }

    .weather-table .jans-table-header .jans-table-cell:nth-child(3),
    .weather-table .jans-table-row .jans-table-cell:nth-child(3) {
        display: none;
    }
}

@media (max-width: 420px) {
    .weather-col-date {
        flex: 1 1 0;
    }

    .weather-table .jans-table-header .jans-table-cell:nth-child(2),
    .weather-table .jans-table-row .jans-table-cell:nth-child(2) {
        display: none;
    }
}
