.outage-page {
    max-width: 1500px;
    margin: 0 auto;
    padding: 28px 30px 0;
}

.outage-breadcrumb {
    margin-bottom: 15px;
    font-size: 14px;
}

.outage-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.outage-breadcrumb a:hover {
    text-decoration: underline;
}

.outage-hero {
    background: #062b52;
    color: #ffffff;
    border-radius: 12px;
    padding: 28px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.outage-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.outage-hero h1 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
}

.outage-reference {
    color: #b9cee2;
    font-family: monospace;
    font-size: 14px;
}

.outage-dno {
    margin-top: 4px;
    color: #dbeafe;
    font-size: 14px;
}

.outage-status {
    flex-shrink: 0;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    font-weight: 700;
    white-space: nowrap;
}

.outage-status.active { color: #fecaca; }
.outage-status.planned { color: #fde68a; }
.outage-status.restored { color: #bbf7d0; }

.outage-summary {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.outage-stat {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
}

.outage-stat-label {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 6px;
}

.outage-stat-value {
    color: #062b52;
    font-size: 20px;
    font-weight: 700;
}

.locations-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.outage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 20px;
    margin-bottom: 20px;
}

.outage-card {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
    overflow: hidden;
}

.outage-card + .outage-card {
    margin-top: 0px;
}

.outage-card-heading {
    padding: 17px 19px;
    border-bottom: 1px solid #e7edf3;
}

.outage-card-heading h2 {
    margin: 0;
    color: #062b52;
    font-size: 20px;
}

.outage-card-body {
    padding: 20px;
}

.detail-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.detail-item {
    background: #f8fafc;
    border-radius: 7px;
    padding: 13px 14px;
}

.detail-label {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 5px;
}

.detail-value {
    color: #1f2937;
    font-weight: 700;
}

.outage-description {
    color: #334155;
    line-height: 1.65;
    font-size: 16px;
}

.outage-description-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e7edf3;
}

.outage-description-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.location-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.location-postcode {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 6px;
    background: #eef2ff;
    color: #3730a3;
    font-family: monospace;
    font-weight: 700;
    text-decoration: none;
}

.location-postcode:hover {
    background: #e0e7ff;
}

 .outage-actions {
    display: contents;
}

.outage-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 14px;
    border-radius: 7px;
    background: #062b52;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
}

.outage-action:hover {
    background: #f5b700;
    color: #062b52;
}

.outage-button {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 7px;
    background: #062b52;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.outage-button:hover {
    background: #0b477f;
}

.outage-button.secondary {
    background: #eef2f7;
    color: #062b52;
}

.outage-button.secondary:hover {
    background: #e2e8f0;
}

.outage-map {
    width: 100%;
    height: 430px;
    min-height: 430px;
    background: #e5e7eb;
}

.outage-map-note {
    padding: 12px 20px 16px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
    border-top: 1px solid #e7edf3;
}

.outage-note {
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.outage-note:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .outage-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-grid,
    .outage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .outage-page {
        padding: 20px 15px 35px;
    }

    .outage-hero {
        padding: 22px;
    }

    .outage-hero-top {
        flex-direction: column;
    }

    .outage-hero h1 {
        font-size: 27px;
    }

    .outage-summary {
        grid-template-columns: 1fr 1fr;
    }

    .detail-list {
        grid-template-columns: 1fr;
    }

    .outage-action {
        min-height: 48px;
    }

    .outage-stat {
        padding: 14px;
    }

    .outage-stat-value {
        font-size: 17px;
    }
}
