/* cox-tracker.css — shared across homepage, /outage-map/, city & state pages */

.cox-map {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.cox-map--hero { height: 420px; }
.cox-map--full { height: 640px; }
.cox-map--city { height: 360px; }

.cox-status-banner {
	font-size: 1.1rem;
	font-weight: 600;
	padding: 14px 18px;
	border-radius: 10px;
	background: #f4f7ff;
	border: 1px solid #dbe4ff;
	margin-bottom: 20px;
}

.cox-report-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
	margin: 20px 0;
}
.cox-report-card {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px;
	background: #fff;
}
.cox-report-card--red   { border-left: 4px solid #d92d20; }
.cox-report-card--blue  { border-left: 4px solid #1570ef; }
.cox-report-card--green { border-left: 4px solid #12b76a; }

.cox-report-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}
.cox-report-card__time { color: #667085; font-size: .85rem; }
.cox-report-card__city { font-weight: 600; margin-bottom: 4px; }
.cox-report-card__desc { color: #475467; font-size: .9rem; margin: 0; }

.cox-pill {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.cox-pill--red,    .cox-pill--active  { background: #fef3f2; color: #b42318; }
.cox-pill--blue                       { background: #eff8ff; color: #175cd3; }
.cox-pill--green,  .cox-pill--quiet   { background: #ecfdf3; color: #067647; }
.cox-pill--minor                      { background: #fffaeb; color: #b54708; }
.cox-pill--loading                    { background: #f2f4f7; color: #667085; }

.cox-top-cities { width: 100%; border-collapse: collapse; }
.cox-top-cities th, .cox-top-cities td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid #eaecf0;
}

.cox-nearby-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
	margin: 16px 0;
}
.cox-nearby-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
}
.cox-nearby-card__name { font-weight: 600; }
.cox-nearby-card__pill { align-self: flex-start; }

.cox-quick-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
	margin: 16px 0;
}
.cox-quick-links a {
	display: block;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
}

.cox-report-form {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	margin: 20px 0;
}
.cox-report-form label { display: block; font-weight: 600; margin: 12px 0 4px; }
.cox-report-form input,
.cox-report-form select,
.cox-report-form textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	font-size: 1rem;
}
.cox-report-form button[type="submit"] {
	margin-top: 16px;
	padding: 10px 20px;
	border: none;
	border-radius: 8px;
	background: #1570ef;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}
.cox-report-form button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
.cox-form-error { color: #b42318; font-size: .9rem; margin-top: 10px; }

.cox-empty { color: #667085; font-style: italic; }

.cox-hero__sub { color: #475467; max-width: 640px; }
.cox-city-count-line { color: #475467; font-size: .9rem; margin: 4px 0 12px; }
.cox-map-caption { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; color: #475467; font-size: .9rem; }
.cox-legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.cox-legend-dot--red   { background: #d92d20; }
.cox-legend-dot--blue  { background: #1570ef; }
.cox-legend-dot--green { background: #12b76a; }

.cox-section { margin: 40px 0; }
.cox-section--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
@media (max-width: 800px) {
	.cox-section--split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.cox-map--hero { height: 300px; }
	.cox-map--full { height: 420px; }
}
