/* [weer_stationstatus] — kaart in de klassieke stijl van de weer-plugins. */
.wss {
	background: #f3f4f6;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	margin: 0 0 20px;
	box-sizing: border-box;
	color: #1c2430;
	font-family: inherit;
}

.wss *,
.wss *::before,
.wss *::after {
	box-sizing: border-box;
}

.wss-kop {
	background: linear-gradient(90deg, var(--wk-kop-basis-1, #1f5fae), var(--wk-kop-basis-2, #4a8ad6));
	color: var(--wk-kop-basis-tekst, #fff);
	padding: 9px 14px;
}

.wss h2.wss-kop-titel {
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: inherit;
	border: none;
}

.wss-inhoud {
	padding: 14px;
}

/* Station + status */
.wss-boven {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.wss-station svg,
.wss-sync svg {
	display: block;
}

.wss-pil {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.8px;
	background: var(--wss-licht);
	color: var(--wss-donker);
}

.wss-punt {
	display: inline-block;
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wss-kleur);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wss-kleur) 25%, transparent);
}

.wss-online, .wss-ok { --wss-kleur: #2e9d55; --wss-licht: #d6f3e2; --wss-donker: #1d5a32; }
.wss-vertraagd { --wss-kleur: #f08a00; --wss-licht: #ffeccf; --wss-donker: #7a3d00; }
.wss-offline { --wss-kleur: #d32f2f; --wss-licht: #fde0e0; --wss-donker: #7f1515; }

.wss-pil.wss-online .wss-punt {
	animation: wss-puls 2s ease-in-out infinite;
}

@keyframes wss-puls {
	50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--wss-kleur) 10%, transparent); }
}

/* Laatste update */
.wss-update {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 14px;
}

.wss-update-tekst {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}

.wss-update-tekst strong {
	font-size: 15px;
}

.wss-leeftijd {
	font-size: 13px;
	color: #5b6573;
}

.wss-bron {
	text-align: center;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 700;
	color: var(--wk-kop-basis-1, #1f5fae);
}

.wss-bron a {
	color: inherit;
	text-decoration: none;
}

.wss-bron a:hover {
	text-decoration: underline;
}

/* Afzonderlijke stromen */
.wss-stromen {
	list-style: none;
	margin: 12px 0 0;
	padding: 6px 10px;
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
}

.wss-zonder-stromen .wss-stromen {
	display: none;
}

.wss-stroom {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 5px 0;
	font-size: 13px;
	line-height: 1.3;
}

.wss-stroom + .wss-stroom {
	border-top: 1px solid #eef0f3;
}

.wss-stroom .wss-punt {
	width: 8px;
	height: 8px;
	box-shadow: none;
}

.wss-stroom-naam {
	flex: 1 1 auto;
	min-width: 0;
}

.wss-stroom-tijd {
	color: #5b6573;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.wss-stroom.wss-vertraagd .wss-stroom-tijd,
.wss-stroom.wss-offline .wss-stroom-tijd {
	color: var(--wss-donker);
	font-weight: 700;
}

/* Onderbrekingen: lichtgrijze balk met label, "Details tonen" en pijltje. */
.wss-storingen {
	margin-top: 12px;
	border: 1px solid #dde1e6;
	border-radius: 8px;
	overflow: hidden;
	background: #f1f3f5;
}

.wss-storingen-kop {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	cursor: pointer;
}

.wss-tag {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 4px;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.5;
}

.wss-tag-groen { background: #d6f3e2; color: #1d5a32; }
.wss-tag-geel { background: #fff1a8; color: #6b5200; }
.wss-tag-rood { background: #fde0e0; color: #7f1515; }

.wss .wss-toggle {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	font-size: 13px;
	color: var(--wk-kop-basis-1, #1f5fae);
	cursor: pointer;
	box-shadow: none;
}

.wss .wss-toggle:hover,
.wss .wss-toggle:focus-visible {
	text-decoration: underline;
	background: none;
	color: var(--wk-kop-basis-1, #1f5fae);
}

.wss-pijl {
	margin-left: auto;
	font-size: 10px;
	color: #6b7480;
	transition: transform 0.2s;
}

.wss-storingen:not(.wss-dicht) .wss-pijl {
	transform: rotate(90deg);
}

.wss-dicht .wss-storingen-lijst {
	display: none;
}


.wss-storingen-lijst {
	padding: 8px 10px;
	background: #fff;
	border-top: 1px solid #dde1e6;
	font-size: 13px;
}

.wss-leeg {
	margin: 2px 0;
	text-align: center;
	color: #5b6573;
}

.wss-storingen-lijst ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wss-storingen-lijst li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2px 10px;
	margin: 0;
	padding: 5px 0 5px 9px;
	border-left: 3px solid #f08a00;
	line-height: 1.35;
}

.wss-storingen-lijst li + li {
	margin-top: 4px;
}

.wss-storingen-lijst li.wss-bezig {
	border-left-color: #d32f2f;
}

.wss-st-tijd {
	font-weight: 600;
}

.wss-st-bron {
	color: #5b6573;
}

/* Binnen een [weer_kaart] (Weer Hub): één venster, kopbalk van de kaart. */
.weer-kaart .weer-kaart-inhoud .wss {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
}

.weer-kaart .weer-kaart-inhoud .wss-kop {
	display: none;
}

.weer-kaart .weer-kaart-inhoud .wss-inhoud {
	padding: 0;
}

/* Label en knop op één regel houden, ook in een smalle kolom. */
.wss-tag,
.wss .wss-toggle {
	white-space: nowrap;
}

.wss-storingen-kop {
	gap: 8px;
}
