.rsfw-wrap {
	position: relative;
	max-width: 100%;
	margin: 1.5em 0;
}

.rsfw-map {
	width: 100%;
	border-radius: 6px;
	z-index: 1;
}

.rsfw-panel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 10px;
	padding: 10px 14px;
	background: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
}

.rsfw-panel-header {
	display: flex;
	flex-direction: column;
	margin-right: auto;
}

.rsfw-region-label {
	font-weight: 600;
	font-size: 15px;
}

.rsfw-updated {
	color: #666;
	font-size: 12px;
}

.rsfw-aqi-badge {
	padding: 6px 12px;
	border-radius: 20px;
	font-weight: 600;
	background: #ccc;
	color: #222;
}

.rsfw-fire-count {
	font-weight: 600;
	color: #d7263d;
}

/* AQI category colors — match EPA's standard scale */
.rsfw-aqi-good {
	background: #00e400;
	color: #002200;
}
.rsfw-aqi-moderate {
	background: #ffff00;
	color: #333300;
}
.rsfw-aqi-usg {
	background: #ff7e00;
	color: #331a00;
}
.rsfw-aqi-unhealthy {
	background: #ff0000;
	color: #fff;
}
.rsfw-aqi-very-unhealthy {
	background: #8f3f97;
	color: #fff;
}
.rsfw-aqi-hazardous {
	background: #7e0023;
	color: #fff;
}

@media (max-width: 600px) {
	.rsfw-panel {
		flex-direction: column;
		align-items: flex-start;
	}
}

.rsfw-fire-list {
	margin-top: 14px;
	overflow-x: auto;
}

.rsfw-wrap-list .rsfw-fire-list {
	margin-top: 0;
}

.rsfw-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.rsfw-table th,
.rsfw-table td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid #e2e2e2;
	white-space: nowrap;
}

.rsfw-table thead th {
	background: #f0f0f0;
	font-weight: 600;
	position: sticky;
	top: 0;
}

.rsfw-table tbody tr:hover {
	background: #fafafa;
}

.rsfw-loading-row td,
.rsfw-empty-row td {
	color: #777;
	text-align: center;
	white-space: normal;
}

.rsfw-list-heading {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: #333;
}
