/* Band Conditions Dashboard — front-end styles. */

.bc-wrap {
	margin: 1.5em 0;
	font-size: 1rem;
}

.bc-title {
	margin-bottom: 0.75em;
}

.bc-error {
	color: #b32d2e;
}

.bc-notice {
	color: #646970;
	font-style: italic;
}

/* Solar index tiles. */
.bc-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 0.6em;
	margin-bottom: 1.25em;
}

.bc-tile {
	border: 1px solid #dcdcde;
	border-radius: 6px;
	padding: 0.6em 0.75em;
	background: #fff;
}

.bc-tile-label {
	display: block;
	font-size: 0.8em;
	color: #646970;
}

.bc-tile-value {
	display: block;
	font-size: 1.35em;
	font-weight: 700;
	line-height: 1.2;
}

.bc-tile-unit {
	font-size: 0.65em;
	font-weight: 400;
	color: #646970;
}

/* HF band table. */
.bc-bands {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0.5em;
}

.bc-bands th,
.bc-bands td {
	border: 1px solid #dcdcde;
	padding: 0.5em 0.75em;
	text-align: left;
}

.bc-bands thead th {
	background: #f6f7f7;
}

.bc-bands th.bc-now {
	background: #e5f5e9;
}

.bc-band-name {
	font-weight: 700;
	white-space: nowrap;
}

.bc-pill {
	display: inline-block;
	min-width: 4.5em;
	text-align: center;
	border-radius: 999px;
	padding: 0.15em 0.7em;
	font-weight: 700;
	font-size: 0.9em;
	color: #fff;
}

.bc-pill-good {
	background: #00a32a;
}

.bc-pill-fair {
	background: #dba617;
}

.bc-pill-poor {
	background: #d63638;
}

.bc-derived {
	font-size: 0.85em;
	color: #646970;
	font-style: italic;
}

/* VHF block. */
.bc-vhf {
	margin-top: 1em;
}

.bc-vhf-title {
	margin-bottom: 0.4em;
}

.bc-vhf ul {
	margin: 0;
	padding-left: 1.2em;
}

/* Footer. */
.bc-foot {
	font-size: 0.85em;
	color: #646970;
	margin-top: 1em;
}

.bc-note {
	font-size: 0.85em;
	color: #646970;
	font-style: italic;
}
