/* Essential Services Status page — deliberately simple: one banner, one column of rows. */

/* Full-width at every viewport: drop the site-wide container cap (padding stays),
   so the banner and rows reach edge to edge on mobile, tablet, and desktop alike. */
.status-page-container {
	max-width: none;
}
.status-intro {
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 760px;
}

.status-banner {
	margin: 18px 0 22px;
	padding: 16px 20px;
	border-radius: 14px;
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.45;
	text-align: center;
	border: 1px solid var(--s-border-accent, rgba(120, 120, 120, 0.4));
	background: var(--s-tint, rgba(127, 127, 127, 0.08));
}

.status-banner-ok {
	border-color: rgba(21, 128, 61, 0.55);
	background: rgba(34, 197, 94, 0.14);
}

.status-banner-warn {
	border-color: rgba(220, 38, 38, 0.55);
	background: rgba(239, 68, 68, 0.14);
}

.status-banner-loading {
	font-weight: 600;
	opacity: 0.85;
}

.status-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.status-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	margin: 0 0 10px;
	border-radius: 12px;
	border: 1px solid var(--s-border-accent, rgba(120, 120, 120, 0.35));
	background: var(--s-tint, rgba(127, 127, 127, 0.06));
}

/* Unavailable rows invert the Working treatment: the green family moves to
   the border and the red family becomes the background tint — the same
   semantic shades as the banner pair above (green border from
   .status-banner-ok, red tint from .status-banner-warn). */
.status-row-down {
	border-color: rgba(21, 128, 61, 0.55);
	background: rgba(239, 68, 68, 0.14);
}

.status-row-main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.status-name {
	font-weight: 700;
	font-size: 1.08rem;
}

.status-detail {
	font-size: 0.95rem;
	line-height: 1.45;
	opacity: 0.85;
}

.status-pill {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.98rem;
	background: rgba(127, 127, 127, 0.14);
	border: 1px solid rgba(120, 120, 120, 0.35);
	white-space: nowrap;
}

.status-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #9ca3af;
	flex: none;
}

.status-pill-up .status-dot { background: #22c55e; }
.status-pill-busy .status-dot { background: #ef4444; }
.status-pill-down .status-dot { background: #ef4444; }
.status-pill-idle .status-dot { background: #38bdf8; }
.status-pill-unknown .status-dot { background: #9ca3af; }

.status-checked {
	margin-top: 18px;
	font-size: 0.95rem;
	opacity: 0.8;
}

@media (max-width: 560px) {
	.status-row {
		flex-direction: column;
		align-items: flex-start;
	}
}


/* Desktop: center the Last checked line under the full-width rows. */
@media (min-width: 900px) {
	.status-checked {
		text-align: center;
	}
}
