/* /Components/ActiveIncidentCard.razor.rz.scp.css */
.incident-card[b-jxuyo0uovy] {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: border-color var(--transition-base);
}

.incident-card:hover[b-jxuyo0uovy] {
    border-color: var(--glass-border-light);
}

.incident-header[b-jxuyo0uovy] {
    margin-bottom: var(--space-md);
}

.incident-title-row[b-jxuyo0uovy] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.incident-icon[b-jxuyo0uovy] {
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

/* The icon takes its impact's severity colour: Critical = err, Major = partial, Minor = warn (D-h). */
.incident-icon-critical[b-jxuyo0uovy] {
    color: var(--color-danger);
}

.incident-icon-major[b-jxuyo0uovy] {
    color: var(--color-partial);
}

.incident-icon-minor[b-jxuyo0uovy] {
    color: var(--color-warning);
}

.incident-title[b-jxuyo0uovy] {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.incident-meta[b-jxuyo0uovy] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.incident-time[b-jxuyo0uovy] {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.incident-affected[b-jxuyo0uovy] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--glass-border);
}

.affected-label[b-jxuyo0uovy] {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.affected-list[b-jxuyo0uovy] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline;
}

.affected-list li[b-jxuyo0uovy] {
    display: inline;
}

.incident-timeline[b-jxuyo0uovy] {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.timeline-item[b-jxuyo0uovy] {
    display: flex;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    position: relative;
}

.timeline-item:last-child[b-jxuyo0uovy] {
    padding-bottom: 0;
}

.timeline-marker[b-jxuyo0uovy] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

.timeline-item:not(:last-child) .timeline-marker[b-jxuyo0uovy]::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + var(--space-md));
    background: var(--glass-border);
}

.timeline-content[b-jxuyo0uovy] {
    flex: 1;
    min-width: 0;
}

.timeline-header[b-jxuyo0uovy] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.timeline-status[b-jxuyo0uovy] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.timeline-time[b-jxuyo0uovy] {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.75rem;
}

.timeline-message[b-jxuyo0uovy] {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}
/* /Components/ErrorDisplay.razor.rz.scp.css */
.error-display[b-87v3kmoiop] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    text-align: center;
    min-height: 300px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin: var(--space-xl) auto;
    max-width: 500px;
}

.error-icon[b-87v3kmoiop] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(var(--color-danger-rgb), 0.15);
    border: 2px solid rgba(var(--color-danger-rgb), 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-danger);
    margin-bottom: var(--space-lg);
    font-family: var(--font-display);
}

.error-title[b-87v3kmoiop] {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm);
}

.error-message[b-87v3kmoiop] {
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin: 0 0 var(--space-xl);
    line-height: 1.5;
}

.error-retry-btn[b-87v3kmoiop] {
    background: var(--color-primary);
    color: var(--text-on-primary);
    border: none;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.error-retry-btn:hover[b-87v3kmoiop] {
    background: var(--color-primary-hover);
}

.error-retry-btn:focus-visible[b-87v3kmoiop] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
/* /Components/IncidentHistoryCard.razor.rz.scp.css */
.history-card[b-o0n5fei0in] {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    cursor: pointer;
    transition: border-color var(--transition-base);
}

.history-card:hover[b-o0n5fei0in] {
    border-color: var(--glass-border-light);
}

.history-card-header[b-o0n5fei0in] {
    margin-bottom: var(--space-sm);
}

.history-card-title-row[b-o0n5fei0in] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.history-card-title-row[b-o0n5fei0in]  .expand-icon {
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.history-card-title[b-o0n5fei0in] {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.history-card-meta[b-o0n5fei0in] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    padding-left: calc(0.75rem + var(--space-sm));
}

.history-card-duration[b-o0n5fei0in] {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.history-card-affected[b-o0n5fei0in] {
    color: var(--text-muted);
    font-size: 0.8125rem;
    padding-left: calc(0.75rem + var(--space-sm));
}

/* Update timeline */
.history-card-updates[b-o0n5fei0in] {
    list-style: none;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    padding-left: 0;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.update-item[b-o0n5fei0in] {
    display: flex;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    position: relative;
}

.update-item:last-child[b-o0n5fei0in] {
    padding-bottom: 0;
}

.update-marker[b-o0n5fei0in] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

.update-item:not(:last-child) .update-marker[b-o0n5fei0in]::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + var(--space-md));
    background: var(--glass-border);
}

.update-content[b-o0n5fei0in] {
    flex: 1;
    min-width: 0;
}

.update-header[b-o0n5fei0in] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.update-time[b-o0n5fei0in] {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.update-message[b-o0n5fei0in] {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}
/* /Components/UptimeBar.razor.rz.scp.css */
.uptime-bar[b-28ewidthcm] {
    height: 34px;
    border-radius: 4px;
    overflow: hidden;
    cursor: default;
    width: 100%;
}
/* /Layout/StatusLayout.razor.rz.scp.css */
/* StatusLayout Component Styles
   Most styles are in wwwroot/css/status.css
   This file contains component-specific overrides */

/* Ensure layout container uses correct display */
.status-page[b-xc803693w1] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--gradient-bg);
}

/* Subscribe Section */
.subscribe-section[b-xc803693w1] {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.subscribe-title[b-xc803693w1] {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 var(--space-md) 0;
}

.subscribe-form[b-xc803693w1] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    align-items: center;
}

.subscribe-select[b-xc803693w1],
.subscribe-email-input[b-xc803693w1] {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-md);
    min-height: 44px;
    font-size: 0.875rem;
    transition: border-color var(--transition-fast);
}

.subscribe-select:focus-visible[b-xc803693w1],
.subscribe-email-input:focus-visible[b-xc803693w1] {
    border-color: var(--color-primary);
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.subscribe-select[b-xc803693w1] {
    min-width: 180px;
}

.subscribe-email-input[b-xc803693w1] {
    min-width: 200px;
}

.subscribe-email-input[b-xc803693w1]::placeholder {
    color: var(--text-secondary);
}

.subscribe-btn[b-xc803693w1] {
    background: var(--color-primary);
    color: var(--text-on-primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    min-height: 44px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.subscribe-btn:hover:not(:disabled)[b-xc803693w1] {
    background: var(--color-primary-hover);
}

.subscribe-btn:focus-visible[b-xc803693w1] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.subscribe-btn:disabled[b-xc803693w1] {
    opacity: 0.6;
    cursor: not-allowed;
}

.subscribe-success[b-xc803693w1] {
    color: var(--color-success);
    font-size: 0.875rem;
    margin: 0;
}

.subscribe-error[b-xc803693w1] {
    color: var(--color-danger);
    font-size: 0.8125rem;
    margin: var(--space-xs) 0 0 0;
    width: 100%;
}

@media (max-width: 600px) {
    .subscribe-form[b-xc803693w1] {
        flex-direction: column;
    }

    .subscribe-select[b-xc803693w1],
    .subscribe-email-input[b-xc803693w1],
    .subscribe-btn[b-xc803693w1] {
        width: 100%;
    }
}
/* /Pages/History.razor.rz.scp.css */
/* Navigation */
.history-nav[b-kphuc4dcnn] {
    margin-bottom: var(--space-lg);
}

.back-link[b-kphuc4dcnn] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-primary-text);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.back-link:hover[b-kphuc4dcnn] {
    text-decoration: underline;
}

/* Heading */
.history-heading[b-kphuc4dcnn] {
    margin-bottom: var(--space-xl);
}

.history-title[b-kphuc4dcnn] {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
}

.history-subtitle[b-kphuc4dcnn] {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Uptime Summary */
.uptime-summary-section[b-kphuc4dcnn] {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.uptime-summary-list[b-kphuc4dcnn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.uptime-summary-row[b-kphuc4dcnn] {
    display: grid;
    grid-template-columns: 160px 60px 1fr;
    align-items: center;
    gap: var(--space-md);
}

.uptime-component-name[b-kphuc4dcnn] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uptime-component-percentage[b-kphuc4dcnn] {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: right;
}

.uptime-bar-mini[b-kphuc4dcnn] {
    height: 20px;
}

.uptime-bar-mini[b-kphuc4dcnn]  .uptime-bar {
    height: 20px;
}

/* Incident History Section */
.incident-history-section[b-kphuc4dcnn] {
    display: flex;
    flex-direction: column;
}

/* Day grouping */
.history-day[b-kphuc4dcnn] {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--glass-border);
}

.history-day:last-child[b-kphuc4dcnn] {
    border-bottom: none;
}

.history-day-date[b-kphuc4dcnn] {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
}

.history-day-none[b-kphuc4dcnn] {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.history-day-incidents[b-kphuc4dcnn] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* Load More */
.load-more-container[b-kphuc4dcnn] {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.load-more-button[b-kphuc4dcnn] {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.95rem;
    transition: background var(--transition-base), border-color var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.load-more-button:hover:not(:disabled)[b-kphuc4dcnn] {
    background: var(--glass-bg-light);
    border-color: var(--glass-border-light);
}

.load-more-button:disabled[b-kphuc4dcnn] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive — Tablet */
@media (max-width: 768px) {
    .uptime-summary-row[b-kphuc4dcnn] {
        grid-template-columns: 1fr 60px;
        gap: var(--space-sm);
    }

    .uptime-bar-mini[b-kphuc4dcnn] {
        grid-column: 1 / -1;
    }
}

/* Responsive — Mobile */
@media (max-width: 640px) {
    .uptime-summary-row[b-kphuc4dcnn] {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }

    .uptime-component-percentage[b-kphuc4dcnn] {
        text-align: left;
    }

    .history-title[b-kphuc4dcnn] {
        font-size: 1.25rem;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.section[b-jhcq0mlbm8] {
    margin-top: var(--space-xl);
}

.section-content[b-jhcq0mlbm8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.section-header[b-jhcq0mlbm8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.section-header .section-title[b-jhcq0mlbm8] {
    margin-bottom: 0;
}

.history-link[b-jhcq0mlbm8] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-primary-text);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.history-link:hover[b-jhcq0mlbm8] {
    text-decoration: underline;
}

/* No incidents state */
.no-incidents[b-jhcq0mlbm8] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.no-incidents[b-jhcq0mlbm8]  .anticon {
    color: var(--color-success);
    font-size: 1.125rem;
}

/* Incidents list */
.incidents-list[b-jhcq0mlbm8] {
    gap: var(--space-md);
}

/* Past incidents */
.past-day[b-jhcq0mlbm8] {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--glass-border);
}

.past-day:last-child[b-jhcq0mlbm8] {
    border-bottom: none;
}

.past-day-date[b-jhcq0mlbm8] {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
}

.past-day-none[b-jhcq0mlbm8] {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.past-incident[b-jhcq0mlbm8] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
}

.past-incident-title[b-jhcq0mlbm8] {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Overall status banner styles */
[b-jhcq0mlbm8] .overall-status-banner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

[b-jhcq0mlbm8] .overall-status-banner.status-operational {
    background: rgba(var(--color-success-rgb), 0.1);
    border-color: rgba(var(--color-success-rgb), 0.3);
}

[b-jhcq0mlbm8] .overall-status-banner.status-degraded {
    background: rgba(var(--color-warning-rgb), 0.1);
    border-color: rgba(var(--color-warning-rgb), 0.3);
}

[b-jhcq0mlbm8] .overall-status-banner.status-partial {
    background: rgba(var(--color-partial-rgb), 0.1);
    border-color: rgba(var(--color-partial-rgb), 0.3);
}

[b-jhcq0mlbm8] .overall-status-banner.status-major {
    background: rgba(var(--color-danger-rgb), 0.1);
    border-color: rgba(var(--color-danger-rgb), 0.3);
}

[b-jhcq0mlbm8] .overall-status-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

[b-jhcq0mlbm8] .status-operational .overall-status-icon {
    color: var(--color-success);
}

[b-jhcq0mlbm8] .status-degraded .overall-status-icon {
    color: var(--color-warning);
}

[b-jhcq0mlbm8] .status-partial .overall-status-icon {
    color: var(--color-partial);
}

[b-jhcq0mlbm8] .status-major .overall-status-icon {
    color: var(--color-danger);
}

[b-jhcq0mlbm8] .overall-status-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Component card styles */
[b-jhcq0mlbm8] .component-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: border-color var(--transition-base);
}

[b-jhcq0mlbm8] .component-card:hover {
    border-color: var(--glass-border-light);
}

[b-jhcq0mlbm8] .component-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

[b-jhcq0mlbm8] .component-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

[b-jhcq0mlbm8] .component-status {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
}

[b-jhcq0mlbm8] .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

[b-jhcq0mlbm8] .status-dot.dot-operational {
    background-color: var(--color-success);
}

[b-jhcq0mlbm8] .status-dot.dot-degraded {
    background-color: var(--color-warning);
}

/* Partial outage is a hollow ring in the err red and Major outage a solid dot of the same red — the shape tells them
   apart, as in the App's header StatusIndicator (I-021, pinned by tests/scripts/statuspage-status-colours.test.js). */
[b-jhcq0mlbm8] .status-dot.dot-partial {
    box-sizing: border-box;
    background-color: transparent;
    border: 2px solid var(--color-danger);
}

[b-jhcq0mlbm8] .status-dot.dot-major {
    background-color: var(--color-danger);
}

[b-jhcq0mlbm8] .status-label {
    color: var(--text-secondary);
}

[b-jhcq0mlbm8] .component-uptime-text {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-xs);
    font-size: 0.75rem;
}

[b-jhcq0mlbm8] .uptime-percentage {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-weight: 500;
}

[b-jhcq0mlbm8] .uptime-period {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 640px) {
    [b-jhcq0mlbm8] .overall-status-banner {
        padding: var(--space-md);
    }

    [b-jhcq0mlbm8] .overall-status-text {
        font-size: 1.0625rem;
    }

    .section-header[b-jhcq0mlbm8] {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
}
