/* [temperatuurkaart] — klassieke stijl, zoals de andere weer-plugins (Weer Hub). */
.wtk {
	--wtk-blauw: var(--wk-knop, #1a5fa0);
	background: #f3f4f6;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	max-width: 1000px;
	margin: 0 auto 2em;
	color: #1c2430;
	font-size: 14px;
	box-sizing: border-box;
}

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

.wtk-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: 10px 16px;
	font-size: 16px;
	font-weight: 700;
}

.wtk-bediening {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 14px;
	padding: 12px 16px;
}

.wtk-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.wtk button.wtk-tab {
	margin: 0;
	padding: 6px 15px;
	border: 1px solid #c9ced6;
	border-radius: 999px;
	background: #fff;
	color: #1c2430;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
}

.wtk button.wtk-tab:hover,
.wtk button.wtk-tab:focus-visible {
	border-color: var(--wtk-blauw);
	background: #fff;
	color: #1c2430;
}

.wtk button.wtk-tab.is-actief {
	background: var(--wtk-blauw);
	border-color: var(--wtk-blauw);
	color: var(--wk-knop-tekst, #fff);
}

.wtk-speler {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 260px;
	max-width: 460px;
}

.wtk button.wtk-speel {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 1px solid #c9ced6;
	border-radius: 50%;
	background: #fff;
	color: var(--wtk-blauw);
	cursor: pointer;
	box-shadow: none;
}

.wtk .wtk-i-pauze,
.wtk.is-spelend .wtk-i-speel {
	display: none;
}

.wtk.is-spelend .wtk-i-pauze {
	display: inline;
}

.wtk-schuif {
	flex: 1 1 auto;
	min-width: 0;
	accent-color: var(--wtk-blauw);
}

.wtk-tijd {
	flex: none;
	min-width: 64px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wtk-blauw);
	color: var(--wk-knop-tekst, #fff);
	font-weight: 700;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.wtk-kaart {
	position: relative;
	margin: 0 16px;
	border: 1px solid #c9ced6;
	border-radius: 10px;
	overflow: hidden;
	background: #dfe6ee;
	aspect-ratio: 4 / 3;
}

.wtk-kaart canvas,
.wtk-kaart img.wtk-lijnen {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.wtk-kaart img.wtk-lijnen[hidden] {
	display: none;
}

.wtk-kaart img.wtk-lijnen {
	/* Kust en grenzen zwart en goed zichtbaar (lijnen op 1x, dus iets dikker). */
	filter: brightness(0) drop-shadow(0 0 0.6px #000);
	opacity: 0.85;
	pointer-events: none;
}

.wtk-stempel {
	position: absolute;
	top: 8px;
	left: 10px;
	display: flex;
	flex-direction: column;
	padding: 6px 10px;
	border-radius: 8px;
	background: rgba(16, 24, 38, 0.62);
	color: #fff;
	line-height: 1.25;
	pointer-events: none;
}

.wtk-dag {
	font-size: 13px;
}

.wtk-uur {
	font-size: 20px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.wtk-stempel small {
	font-size: 11px;
	opacity: 0.85;
}

.wtk-laden {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	color: #3a4656;
	font-weight: 600;
	text-align: center;
	background: rgba(243, 244, 246, 0.85);
}

.wtk-laden[hidden] {
	display: none;
}

.wtk-legende {
	display: flex;
	margin: 10px 16px 0;
	border-radius: 6px;
	overflow: hidden;
}

.wtk-legende span {
	position: relative;
	flex: 1 1 0;
	height: 14px;
}

.wtk-legende i {
	position: absolute;
	top: 16px;
	left: 0;
	transform: translateX(-50%);
	font-style: normal;
	font-size: 10px;
	color: #5b6472;
}

.wtk-legende span:nth-child(even) i {
	display: none;
}

.wtk-voet {
	padding: 22px 16px 12px;
	font-size: 12px;
	color: #5b6472;
	text-align: right;
}

@media (max-width: 600px) {
	.wtk-kaart,
	.wtk-legende {
		margin-left: 8px;
		margin-right: 8px;
	}
	.wtk-speler {
		max-width: none;
	}
}

/* Popup bij mouse-over van een stationsgetal. */
.wtk-tip {
	position: absolute;
	z-index: 5;
	pointer-events: none;
	background: rgba(16, 21, 29, 0.92);
	color: #fff;
	border-radius: 8px;
	padding: 5px 10px;
	font-size: 12.5px;
	line-height: 1.35;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	text-align: center;
}

.wtk-tip[hidden] {
	display: none;
}

.wtk-tip b {
	display: block;
	font-weight: 700;
}

.wtk-tip span {
	color: #ffe94d;
	font-weight: 800;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}
