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

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

.wvv-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;
}

/* Bediening. */
.wvv-bediening {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	padding: 14px 16px 12px;
}

.wvv-teller {
	flex: none;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--wvv-blauw);
	color: var(--wk-knop-tekst, #fff);
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.wvv-teller b {
	font-weight: 800;
}

.wvv-filters {
	display: flex;
	gap: 6px;
}

.wvv button.wvv-knop {
	flex: none;
	margin: 0;
	padding: 6px 14px;
	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;
	letter-spacing: normal;
}

.wvv button.wvv-knop:hover {
	border-color: var(--wvv-blauw);
	background: #fff;
	color: #1c2430;
}

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

.wvv-zoek {
	flex: 1 1 160px;
	display: flex;
	justify-content: flex-end;
	margin: 0;
}

.wvv .wvv-zoek input {
	width: 100%;
	max-width: 240px;
	margin: 0;
	padding: 6px 14px;
	border: 1px solid #c9ced6;
	border-radius: 999px;
	background: #fff;
	color: #1c2430;
	font: inherit;
	font-size: 13px;
	line-height: 1.2;
	height: auto;
	min-height: 0;
	box-shadow: none;
}

.wvv .wvv-zoek input:focus {
	outline: none;
	border-color: var(--wvv-blauw);
}

.wvv .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

/* Kaart. */
.wvv-kaart-wrap {
	position: relative;
	margin: 0 16px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #dfe3e9;
	background: #e9ebee;
}

.wvv-kaart {
	position: absolute;
	inset: 0;
	background: #e9ebee;
	z-index: 0;
}

.wvv .leaflet-container {
	font-family: inherit;
}

.wvv .leaflet-container img {
	max-width: none !important;
	max-height: none !important;
}

.wvv .leaflet-bar {
	border: 0;
	border-radius: 10px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.wvv .leaflet-bar a,
.wvv .leaflet-touch .leaflet-bar a {
	width: 34px;
	height: 34px;
	line-height: 34px;
	font-size: 20px;
	color: #1c2430;
	background: #fff;
	text-decoration: none;
}

.wvv .leaflet-touch .leaflet-bar {
	border: 0;
}

.wvv .leaflet-bar a:hover {
	color: var(--wvv-blauw);
	background: #f3f6fa;
}

.wvv .leaflet-control-attribution {
	font-size: 10px;
	background: rgba(255, 255, 255, 0.7);
}

/* Vliegtuigen. */
.wvv .wvv-vl {
	background: none;
	border: 0;
}

.wvv .wvv-vl svg {
	display: block;
	overflow: visible;
	filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.75)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
	transition: transform 0.4s ease;
	cursor: pointer;
}

.wvv .wvv-vl.is-gekozen svg {
	filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 2px #fff) drop-shadow(0 0 3px #1c2430);
	transform-origin: 50% 50%;
}

.wvv .wvv-vl.is-gekozen::after {
	content: "";
	position: absolute;
	inset: -7px;
	border: 2px solid #1c2430;
	border-radius: 50%;
	pointer-events: none;
}

.wvv .wvv-vl.is-nood svg path {
	stroke: #d00;
	stroke-width: 2.5px;
	paint-order: stroke;
}

.wvv-vl-naam {
	display: none;
	position: absolute;
	left: 22px;
	top: 3px;
	padding: 0 4px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.85);
	color: #1c2430;
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	white-space: nowrap;
	pointer-events: none;
}

.wvv.toon-namen.is-ingezoomd .wvv-vl-naam,
.wvv.toon-namen .wvv-vl.is-gekozen .wvv-vl-naam,
.wvv .wvv-vl.is-gekozen .wvv-vl-naam {
	display: block;
}

.wvv.toon-namen .wvv-vl-naam {
	display: block;
}

/* Luchthavens. */
.wvv .wvv-lh {
	background: none;
	border: 0;
}

.wvv .wvv-lh i {
	display: block;
	width: 10px;
	height: 10px;
	border: 2px solid #4b5563;
	border-radius: 2px;
	background: #fff;
}

.wvv .wvv-lh span {
	display: none;
	position: absolute;
	top: 11px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 9px;
	font-weight: 700;
	color: #4b5563;
	text-shadow: 0 0 2px #fff, 0 0 2px #fff;
	white-space: nowrap;
}

.wvv .wvv-plaats {
	padding: 1px 6px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	color: #1c2430;
	font-size: 12px;
	font-weight: 700;
}

.wvv .wvv-plaats::before {
	display: none;
}

.wvv.toon-lh .wvv-lh span {
	display: block;
}

/* Status (live). */
.wvv-status {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 500;
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}

.wvv-live {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #1fa34a;
	box-shadow: 0 0 0 0 rgba(31, 163, 74, 0.6);
	animation: wvv-puls 2s infinite;
}

.wvv-status.is-oud .wvv-live {
	background: #f0a000;
	animation: none;
}

.wvv-status.is-fout .wvv-live {
	background: #d64541;
	animation: none;
}

@keyframes wvv-puls {
	0% { box-shadow: 0 0 0 0 rgba(31, 163, 74, 0.6); }
	70% { box-shadow: 0 0 0 7px rgba(31, 163, 74, 0); }
	100% { box-shadow: 0 0 0 0 rgba(31, 163, 74, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.wvv-live { animation: none; }
	.wvv .wvv-vl svg { transition: none; }
}

/* Info over het gekozen vliegtuig. */
.wvv-info {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 600;
	width: 250px;
	max-width: calc(100% - 70px);
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	font-size: 13px;
}

.wvv-info[hidden] {
	display: none;
}

.wvv button.wvv-info-sluit {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #eef1f5;
	color: #3a475a;
	font-size: 18px;
	line-height: 26px;
	cursor: pointer;
	box-shadow: none;
}

.wvv button.wvv-info-sluit:hover {
	background: #dfe4ea;
	color: #1c2430;
}

.wvv-info-kop {
	padding-left: 10px;
	border-left: 4px solid var(--wvv-k, #1a5fa0);
	margin-bottom: 8px;
	padding-right: 24px;
}

.wvv-info-kop b {
	display: block;
	font-size: 17px;
	line-height: 1.2;
}

.wvv-info-kop span {
	font-size: 12px;
	color: #5b6472;
}

.wvv-info-kop .wvv-nood {
	display: inline-block;
	margin: 3px 0;
	color: #fff;
}

.wvv-info table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 13px;
}

.wvv-info th,
.wvv-info td {
	padding: 3px 0;
	border: 0;
	background: none;
	text-align: left;
	vertical-align: top;
}

.wvv-info th {
	width: 80px;
	color: #5b6472;
	font-weight: 600;
}

.wvv-info td svg,
.wvv-richting svg {
	display: inline-block;
	vertical-align: -1px;
	color: var(--wvv-blauw);
}

.wvv-info small {
	color: #5b6472;
}

.wvv-info-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--wvv-blauw);
	text-decoration: none;
}

.wvv-info-link:hover {
	text-decoration: underline;
}

.wvv-hint {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 700;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 13px;
	pointer-events: none;
}

.wvv-hint[hidden] {
	display: none;
}

/* Legende (hoogte). */
.wvv-legende {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 2px 12px;
	margin: 12px 16px 0;
	padding: 8px 14px 6px;
	background: #fff;
	border: 1px solid #e3e7ed;
	border-radius: 10px;
	font-size: 12px;
	color: #3a475a;
}

.wvv-legende-titel {
	grid-row: 1 / span 2;
	font-weight: 700;
}

.wvv-schaal {
	display: block;
	height: 10px;
	border-radius: 5px;
}

.wvv-schaal-labels {
	position: relative;
	grid-column: 2;
	grid-row: 2;
	height: 14px;
	font-size: 10px;
	color: #5b6472;
	font-variant-numeric: tabular-nums;
}

.wvv-schaal-labels span {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	white-space: nowrap;
}

.wvv-schaal-labels span:first-child {
	transform: none;
}

.wvv-legende-grond {
	grid-column: 3;
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.wvv-legende-grond i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #8a8f98;
}

/* Lijst. */
.wvv-sectie {
	padding: 16px 16px 4px;
}

.wvv-sectie-titel {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1a5fa0;
	margin-bottom: 10px;
}

.wvv-tabel-wrap {
	border-radius: 10px;
	overflow: hidden;
	overflow-x: auto;
	border: 1px solid #e3e7ed;
}

.wvv-tabel {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	background: #fff;
	font-size: 13px;
}

.wvv-tabel th,
.wvv-tabel td {
	border: none;
	padding: 7px 10px;
	text-align: left;
	vertical-align: middle;
}

.wvv-tabel thead th {
	background: #1a5fa0;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wvv-tabel tbody tr {
	cursor: pointer;
}

.wvv-tabel tbody tr:nth-child(odd) { background: #fff; }
.wvv-tabel tbody tr:nth-child(even) { background: #f3f5f8; }
.wvv-tabel tbody tr:hover { background: #e8f0fa; }
.wvv-tabel tbody tr.is-gekozen { background: #fff6e8; }

.wvv-tabel tbody tr:focus {
	outline: 2px solid var(--wvv-blauw);
	outline-offset: -2px;
}

.wvv-tabel tbody td {
	border-top: 1px solid #e3e7ed;
}

.wvv-num {
	text-align: right !important;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.wvv-tabel thead th:nth-child(3),
.wvv-tabel thead th:nth-child(4),
.wvv-tabel thead th:nth-child(6) {
	text-align: right;
}

.wvv-vlucht {
	white-space: nowrap;
}

.wvv-vlucht i {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 7px;
	border-radius: 50%;
	vertical-align: 0;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.wvv-vlucht small {
	margin-left: 6px;
	color: #5b6472;
	font-size: 11px;
}

.wvv-richting {
	white-space: nowrap;
}

.wvv-stijgt { color: #1fa34a; font-size: 10px; }
.wvv-daalt { color: #d27b00; font-size: 10px; }

.wvv-nood {
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: 999px;
	background: #d64541;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.wvv-leeg {
	color: #5b6472;
	text-align: center !important;
	padding: 16px !important;
	cursor: default;
}

.wvv-voet {
	padding: 10px 16px 14px;
	font-size: 11px;
	color: #5b6472;
	text-align: right;
}

.wvv-voet a {
	color: inherit;
}

@media (max-width: 700px) {
	.wvv-kol-snel {
		display: none;
	}
}

@media (max-width: 480px) {
	.wvv-kol-type {
		display: none;
	}
}

@media (max-width: 600px) {
	.wvv-bediening {
		padding: 12px 12px 10px;
		gap: 8px;
	}
	.wvv button.wvv-knop,
	.wvv-teller {
		padding: 6px 11px;
	}
	.wvv-zoek {
		flex-basis: 100%;
	}
	.wvv .wvv-zoek input {
		max-width: none;
	}
	.wvv-kaart-wrap {
		margin: 0 10px;
		max-height: 70vh;
	}
	.wvv-legende {
		margin: 10px 10px 0;
		grid-template-columns: 1fr;
	}
	.wvv-legende-titel,
	.wvv-legende-grond {
		grid-row: auto;
		grid-column: 1;
	}
	.wvv-schaal-labels {
		grid-column: 1;
		grid-row: auto;
	}
	.wvv-sectie {
		padding: 14px 10px 4px;
	}
	.wvv-tabel th,
	.wvv-tabel td {
		padding: 6px 6px;
		font-size: 12px;
	}
	.wvv-vlucht small {
		display: none;
	}
	.wvv-voet {
		padding: 10px 12px 12px;
	}
	.wvv-info {
		top: auto;
		bottom: 44px;
		left: 8px;
		width: auto;
		max-width: none;
		right: 8px;
	}
}

/* Hoofdtabbladen als "mappen" bovenaan (zoals de bliksempagina): de actieve tab
   loopt over in de blauwe balk eronder. */
.wvv-mappen {
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 3px;
	padding: 10px 12px 0;
}

.wvv .wvv-mappen button.wvv-tab {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 4px 0 0;
	padding: 8px 18px 9px;
	background: #e6ebf1;
	background-image: none;
	border: 1px solid #c9ced6;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	box-shadow: none;
	text-shadow: none;
	color: #3a475a;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background-color 0.12s ease;
}

.wvv .wvv-mappen button.wvv-tab svg {
	flex: none;
	display: block;
}

.wvv .wvv-mappen button.wvv-tab:hover {
	background: #d3dce8;
	color: #1c2430;
}

.wvv .wvv-mappen button.wvv-tab.is-actief,
.wvv .wvv-mappen button.wvv-tab.is-actief:hover {
	background: var(--wk-kop-basis-1, #1a5fa0);
	border-color: var(--wk-kop-basis-1, #1a5fa0);
	color: #fff;
	font-weight: 700;
	margin-top: 0;
	padding-top: 11px;
	cursor: default;
}

.wvv-kop.wvv-kop-onder {
	background: var(--wk-kop-basis-1, #1a5fa0);
	text-align: center;
	font-size: 15px;
	padding: 9px 16px;
}

.wvv-tabpaneel[hidden] {
	display: none;
}

.wvv-fr24 {
	margin: 14px 16px 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #dfe3e9;
	background: #e9ebee;
}

.wvv-fr24-kaart {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.wvv-noot {
	margin: 10px 16px 0;
	font-size: 12px;
	color: #5b6472;
}

.wvv-noot a {
	color: var(--wvv-blauw);
}

@media (max-width: 600px) {
	.wvv-mappen {
		flex-wrap: nowrap;
		padding: 10px 8px 0;
	}
	.wvv .wvv-mappen button.wvv-tab {
		gap: 5px;
		padding: 7px 10px 8px;
		font-size: 12px;
		white-space: nowrap;
	}
	.wvv .wvv-mappen button.wvv-tab.is-actief {
		padding-top: 10px;
	}
	.wvv-tab-lang {
		display: none;
	}
	.wvv-fr24 {
		margin: 12px 10px 0;
		max-height: 70vh;
	}
	.wvv-noot {
		margin: 10px 10px 0;
	}
}
