#page-container {
    margin: 0 auto;
    padding: 0;
    max-width: 1100px;
}

.hazards-section {
    margin: 0 0 16px 0;
}

.heat-risk-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px;
}

.heat-risk-text {
    max-width: 400px;
    font-size: 1.4em;
    color: #0f172a;
}

.risk-level {
    font-weight: bold;
    color: #d43c2f;
}

.gauge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    padding: 16px;
}

canvas {
    display: block;
    max-width: 100%;
    background: transparent;
}

#ForecastUpdate {
    margin: 16px 0 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: #475569;
}

#tables {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.location-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.location-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.heat-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    color: #1f2937;
    min-width: 640px;
}

.table-head {
    background: #f1f5f9;
}

.cell-head {
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.cell-head-date {
    text-align: center;
}

.cell-head-empty {
    width: 220px;
}

.table-body tr + tr td {
    border-top: 1px solid #e2e8f0;
}

.cell-label {
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    white-space: nowrap;
}

.cell-risk {
    padding: 8px 12px;
    text-align: center;
    font-weight: 600;
    color: #0f172a;
}

.cell-risk.no-data {
    background: #f1f5f9;
    color: #64748b;
}

.cell-temp {
    padding: 8px 12px;
    text-align: center;
    color: #1f2937;
}

/* Hazards Banner */
.hazard-banner {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
}

.hazard-banner.no-hazards {
    background-color: #cbd5f5;
    color: #1e293b;
}

.alert {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgb(199, 21, 133);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    flex: 0 0 auto;
}

.alert-heading {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.alert-text {
    font-size: 0.95rem;
    line-height: 1.35;
}

@media (max-width: 720px) {
    .heat-risk-layout {
        padding: 12px;
    }

    .heat-risk-text {
        font-size: 1.2em;
    }

    .heat-table {
        min-width: 520px;
    }

    .cell-head-empty {
        width: 180px;
    }
}
