/* =====================================================================
 * Visvangst Logboek - ontwerpsysteem
 *
 * Richting: een "veldlogboek"-gevoel - petrolgroen/water als hoofdkleur,
 * warm amber als accent voor bijzondere momenten (records, publicatie).
 * Metingen (cm/kg/aantallen) staan overal in een monospace-lettertype:
 * dat geeft gemeten data een "instrumentgevoel", passend bij een logboek.
 * ===================================================================== */

:root {
	/* Kleur */
	--vvl-inkt: #16241f;
	--vvl-inkt-zacht: #55645d;
	--vvl-diep: #1e6f63;
	--vvl-diep-donker: #123f38;
	--vvl-diep-zacht: #e6f0ed;
	--vvl-mist: #f5f7f5;
	--vvl-oppervlak: #ffffff;
	--vvl-zand: #e7dfc9;
	--vvl-zand-zacht: #f4efe1;
	--vvl-amber: #e07f2e;
	--vvl-amber-donker: #b6631f;
	--vvl-amber-zacht: #fbebd3;
	--vvl-koraal: #c1453a;
	--vvl-koraal-zacht: #fbeae8;

	/* Typografie */
	--vvl-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--vvl-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--vvl-font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

	/* Maatvoering */
	--vvl-radius-s: 8px;
	--vvl-radius-m: 14px;
	--vvl-radius-l: 20px;
	--vvl-schaduw-s: 0 1px 2px rgba( 20, 36, 31, 0.07 );
	--vvl-schaduw-m: 0 6px 20px rgba( 20, 36, 31, 0.09 );
	--vvl-schaduw-l: 0 20px 45px rgba( 20, 36, 31, 0.18 );
}

/* Basis: alle plugin-onderdelen delen dit lettertype en deze tekstkleur. */
.vvl-form,
.vvl-portaal,
.vvl-login-wrap,
.vvl-logboek,
.vvl-records-grid,
.vvl-notities,
.vvl-ranglijst,
.vvl-dashboard,
.vvl-wateren,
.vvl-modal {
	font-family: var( --vvl-font-body );
	color: var( --vvl-inkt );
	line-height: 1.5;
}

.vvl-dashboard-acties {
	margin-bottom: 18px;
}

.vvl-dashboard-export {
	margin-bottom: 8px;
}

.vvl-stat-groot-cijfer.vvl-stat-datum {
	font-size: 20px;
}

/* "Download mijn vangsten (Excel)" bovenaan de statistieken. */
.vvl-export-balk {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 14px;
}

.vvl-export-knop {
	display: inline-block;
	margin-top: 0;
	padding: 9px 16px;
	font-size: 14px;
	text-decoration: none;
}

@media ( max-width: 480px ) {
	.vvl-export-balk {
		justify-content: stretch;
	}

	.vvl-export-knop {
		width: 100%;
		text-align: center;
	}
}

.vvl-dashboard-foto-cel {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* AI-toets (Gemini) in de vangstentabel van het verenigingsdashboard */
.vvl-ai-toets {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 140px;
	max-width: 240px;
}

.vvl-ai-toets-resultaat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}

.vvl-ai-toets-resultaat:empty {
	display: none;
}

.vvl-ai-toets .vvl-knop-secundair {
	margin-top: 0;
	padding: 6px 10px;
	font-size: 13px;
	white-space: nowrap;
}

.vvl-ai-toets .vvl-link-knop {
	padding: 0;
	font-size: 12px;
}

.vvl-ai-toets-badge {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.vvl-ai-toets-klopt {
	background: var( --vvl-diep-zacht );
	color: var( --vvl-diep-donker );
}

.vvl-ai-toets-twijfel {
	background: var( --vvl-amber-zacht );
	color: var( --vvl-amber-donker );
}

.vvl-ai-toets-klopt_niet {
	background: var( --vvl-koraal-zacht );
	color: var( --vvl-koraal );
}

.vvl-ai-toets-onbekend {
	background: var( --vvl-mist );
	color: var( --vvl-inkt-zacht );
}

.vvl-ai-toets-soort {
	font-size: 13px;
}

.vvl-ai-toets-toelichting {
	font-size: 12px;
	line-height: 1.4;
	color: var( --vvl-inkt-zacht );
}

.vvl-ai-toets-fout {
	font-size: 12px;
	color: var( --vvl-koraal );
}

.vvl-ai-toets-leeg {
	color: var( --vvl-inkt-zacht );
}

.vvl-foto-download-knop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var( --vvl-diep-zacht );
	text-decoration: none;
	font-size: 13px;
	flex-shrink: 0;
}

.vvl-foto-download-knop:hover {
	background: var( --vvl-diep );
}

.vvl-wachtrij-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: 480px;
	margin: 0 auto 16px;
	padding: 12px 16px;
	background: var( --vvl-amber-zacht );
	color: var( --vvl-amber-donker );
	border-radius: var( --vvl-radius-s );
	font-size: 13px;
	font-weight: 600;
}

.vvl-wachtrij-banner .vvl-link-knop {
	color: var( --vvl-amber-donker );
	text-decoration: underline;
	white-space: nowrap;
}

/* Installatie-pop-up */
.vvl-pwa-popup {
	position: fixed;
	inset: 0;
	background: rgba( 22, 36, 31, 0.55 );
	backdrop-filter: blur( 2px );
	z-index: 9998;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
}

.vvl-pwa-popup-overlay {
	position: absolute;
	inset: 0;
}

.vvl-pwa-popup-venster {
	position: relative;
	background: var( --vvl-oppervlak );
	border-radius: var( --vvl-radius-l ) var( --vvl-radius-l ) 0 0;
	max-width: 420px;
	width: 100%;
	padding: 28px 24px calc( 24px + env( safe-area-inset-bottom, 0px ) );
	box-sizing: border-box;
	box-shadow: var( --vvl-schaduw-l );
	text-align: center;
}

@media ( min-width: 480px ) {
	.vvl-pwa-popup {
		align-items: center;
	}
	.vvl-pwa-popup-venster {
		border-radius: var( --vvl-radius-l );
	}
}

.vvl-pwa-popup-sluiten {
	position: absolute;
	top: 14px;
	right: 14px;
	background: var( --vvl-mist );
	border: none;
	border-radius: 50%;
	width: 34px;
	height: 34px;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: var( --vvl-inkt-zacht );
}

.vvl-pwa-popup-icoon {
	font-size: 40px;
	margin-bottom: 8px;
}

.vvl-pwa-popup-venster h2 {
	font-family: var( --vvl-font-display );
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 10px;
}

.vvl-pwa-popup-venster .vvl-hulptekst {
	margin-bottom: 18px;
}

.vvl-pwa-instructie {
	text-align: left;
	background: var( --vvl-mist );
	border-radius: var( --vvl-radius-m );
	padding: 16px 18px;
	margin-bottom: 16px;
}

.vvl-pwa-instructie p {
	margin: 0 0 10px;
	font-size: 14px;
}

.vvl-pwa-instructie p:last-child {
	margin-bottom: 0;
}

.vvl-pwa-instructie .vvl-knop-primair {
	margin-top: 4px;
}

.vvl-pwa-instructie-waarschuwing {
	background: var( --vvl-amber-zacht );
}

.vvl-pwa-instructie-waarschuwing p:first-child {
	color: var( --vvl-amber-donker );
	font-size: 15px;
}

.vvl-pwa-icoon-voorbeeld {
	display: inline-block;
	background: var( --vvl-diep-zacht );
	border-radius: 6px;
	padding: 1px 7px;
}

.vvl-form {
	max-width: 480px;
	margin: 0 auto;
}

.vvl-veld {
	margin-bottom: 18px;
}

.vvl-veld-rij {
	display: flex;
	gap: 16px;
}

.vvl-veld-rij .vvl-veld {
	flex: 1;
}

.vvl-form label,
.vvl-modal-bewerk label,
.vvl-wateren-paneel label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	color: var( --vvl-inkt );
}

.vvl-form input[type="text"],
.vvl-form input[type="number"],
.vvl-form input[type="datetime-local"],
.vvl-form select,
.vvl-form textarea,
.vvl-modal-bewerk input[type="text"],
.vvl-modal-bewerk input[type="number"],
.vvl-modal-bewerk input[type="datetime-local"],
.vvl-modal-bewerk select,
.vvl-modal-bewerk textarea,
.vvl-wateren-paneel input[type="text"],
.vvl-wateren-paneel textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1.5px solid var( --vvl-zand );
	border-radius: var( --vvl-radius-s );
	font-size: 16px;
	font-family: inherit;
	background: var( --vvl-oppervlak );
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vvl-form input:focus,
.vvl-form select:focus,
.vvl-form textarea:focus,
.vvl-modal-bewerk input:focus,
.vvl-modal-bewerk select:focus,
.vvl-modal-bewerk textarea:focus,
.vvl-wateren-paneel input:focus,
.vvl-wateren-paneel textarea:focus {
	outline: none;
	border-color: var( --vvl-diep );
	box-shadow: 0 0 0 3px var( --vvl-diep-zacht );
}

.vvl-checkbox label {
	font-weight: normal;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Stap-aanduiding boven het formulier */
.vvl-stap-label {
	display: inline-block;
	font-family: var( --vvl-font-mono );
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var( --vvl-diep );
	background: var( --vvl-diep-zacht );
	padding: 4px 10px;
	border-radius: 999px;
}

.vvl-stap-titel {
	font-family: var( --vvl-font-display );
	font-size: 22px;
	font-weight: 600;
	margin: 10px 0 14px;
	letter-spacing: -0.01em;
}

.vvl-stap-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.vvl-chip-knop {
	background: var( --vvl-diep-zacht );
	color: var( --vvl-diep-donker );
	border: none;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	font-family: var( --vvl-font-body );
	cursor: pointer;
	transition: background 0.15s ease;
}

.vvl-chip-knop:hover {
	background: #d9ebe6;
}

/* Formulier-secties: groeperen velden visueel, i.p.v. één lange lijst */
.vvl-form-sectie {
	background: var( --vvl-mist );
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	padding: 20px;
	margin-bottom: 18px;
}

.vvl-form-sectie .vvl-veld:last-child {
	margin-bottom: 0;
}

.vvl-form-sectie-titel {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var( --vvl-diep-donker );
}

.vvl-form-sectie-titel span {
	font-size: 16px;
	text-transform: none;
	letter-spacing: normal;
}

/* Moderne toggle-schakelaar i.p.v. een kale checkbox */
.vvl-toggle-veld {
	margin-bottom: 0;
}

.vvl-form label.vvl-toggle,
label.vvl-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	font-weight: normal;
}

.vvl-toggle input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.vvl-toggle-schakelaar {
	display: inline-block;
	position: relative;
	width: 44px;
	height: 26px;
	flex-shrink: 0;
	background: #d5d2c4;
	border-radius: 999px;
	transition: background 0.2s ease;
}

.vvl-toggle-schakelaar::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.25 );
	transition: transform 0.2s ease;
}

.vvl-toggle input:checked + .vvl-toggle-schakelaar {
	background: var( --vvl-diep );
}

.vvl-toggle input:checked + .vvl-toggle-schakelaar::after {
	transform: translateX( 18px );
}

.vvl-toggle input:focus-visible + .vvl-toggle-schakelaar {
	outline: 3px solid var( --vvl-amber );
	outline-offset: 2px;
}

.vvl-toggle-tekst {
	font-size: 14px;
	color: var( --vvl-inkt );
}

.vvl-knop-primair,
.vvl-knop-secundair {
	cursor: pointer;
	border: none;
	border-radius: var( --vvl-radius-s );
	padding: 13px 22px;
	font-size: 16px;
	font-weight: 600;
	font-family: inherit;
	transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vvl-knop-primair {
	background: var( --vvl-diep );
	color: #fff;
	width: 100%;
	box-shadow: var( --vvl-schaduw-s );
}

.vvl-knop-primair:hover:not( :disabled ) {
	background: var( --vvl-diep-donker );
	box-shadow: var( --vvl-schaduw-m );
	transform: translateY( -1px );
}

.vvl-knop-primair:disabled {
	opacity: 0.55;
	cursor: default;
	transform: none;
}

.vvl-knop-secundair {
	background: var( --vvl-diep-zacht );
	color: var( --vvl-diep-donker );
	margin-top: 8px;
}

.vvl-knop-secundair:hover:not( :disabled ) {
	background: #d9ebe6;
}

.vvl-form button:focus-visible,
.vvl-modal button:focus-visible,
.vvl-vissoort-tegel:focus-visible {
	outline: 3px solid var( --vvl-amber );
	outline-offset: 2px;
}

.vvl-hulptekst {
	font-size: 13px;
	color: var( --vvl-inkt-zacht );
	margin-top: 6px;
}

.vvl-melding {
	margin-top: 14px;
	padding: 12px 16px;
	border-radius: var( --vvl-radius-s );
	font-size: 14px;
}

.vvl-melding-succes {
	background: var( --vvl-diep-zacht );
	color: var( --vvl-diep-donker );
}

.vvl-melding-fout {
	background: var( --vvl-koraal-zacht );
	color: var( --vvl-koraal );
}

.vvl-wof-optin {
	background: var( --vvl-oppervlak );
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	padding: 14px 16px;
	margin-bottom: 20px;
}

.vvl-wof-optin label {
	font-weight: 600;
}

.vvl-wof-soort {
	margin-bottom: 8px;
}

/* Logboek-filters */
/* Tip of weetje van de dag boven de filters (zie VVL_Tips). */
.vvl-tips {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	background: var( --vvl-diep-zacht );
	border-left: 4px solid var( --vvl-diep );
	border-radius: var( --vvl-radius-m );
	padding: 12px 16px;
	margin-bottom: 16px;
	color: var( --vvl-diep-donker );
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}

/* Geldende regel (gesloten tijd, kunstaasverbod): opvallender. */
.vvl-tips.vvl-tips-regel {
	background: var( --vvl-amber-zacht );
	border-left-color: var( --vvl-amber );
	color: var( --vvl-amber-donker );
	font-weight: 600;
}

.vvl-tips-icoon {
	flex: 0 0 auto;
	font-size: 22px;
	line-height: 1;
}

.vvl-tips-tekst {
	flex: 1 1 auto;
}

.vvl-logboek-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-end;
	background: var( --vvl-mist );
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	padding: 16px;
	margin-bottom: 24px;
}

.vvl-filter-veld {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.vvl-filter-veld label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var( --vvl-inkt-zacht );
}

.vvl-filter-veld select {
	padding: 9px 12px;
	border: 1.5px solid var( --vvl-zand );
	border-radius: var( --vvl-radius-s );
	font-size: 14px;
	font-family: var( --vvl-font-body );
	background: var( --vvl-oppervlak );
}

.vvl-filter-checkbox {
	flex-direction: row;
	align-items: center;
}

.vvl-filter-checkbox label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: normal;
	font-size: 14px;
	text-transform: none;
	color: var( --vvl-inkt );
}

/* Logboek */
.vvl-logboek {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 280px, 1fr ) );
	gap: 20px;
	align-items: start; /* Kaartjes niet uitrekken: foto's hebben verschillende hoogtes. */
}

.vvl-kaart {
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	overflow: hidden;
	background: var( --vvl-oppervlak );
	cursor: pointer;
	transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.vvl-kaart:hover,
.vvl-kaart:focus {
	box-shadow: var( --vvl-schaduw-m );
	transform: translateY( -3px );
	border-color: var( --vvl-diep-zacht );
	outline: none;
}

/* Alle kaartfoto's even groot: een vierkant vak dat de foto vult. Vierkant
   is het beste midden tussen staande en liggende foto's - van beide valt
   maar een klein stukje weg. De hele foto zie je in het detailvenster.
   Een kleine marge binnen het kaartje maakt alle vier de hoeken rond. */
.vvl-kaart-foto {
	position: relative;
	margin: 10px 10px 0;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	background: var( --vvl-mist );
}

.vvl-kaart-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vvl-kaart-pr-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-block;
	background: var( --vvl-amber );
	color: #fff;
	font-family: var( --vvl-font-body );
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 3px 9px;
	border-radius: 999px;
	box-shadow: var( --vvl-schaduw-s );
}

.vvl-kaart-inhoud {
	padding: 16px;
}

.vvl-kaart-inhoud h3 {
	margin: 0 0 4px;
	font-family: var( --vvl-font-display );
	font-size: 21px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.vvl-kaart-favoriet-badge {
	font-size: 17px;
	margin-right: 4px;
	vertical-align: -1px;
}

.vvl-ai-suggestie-label {
	font-family: var( --vvl-font-body );
	font-size: 12px;
	font-weight: 500;
	color: var( --vvl-inkt-zacht );
}

.vvl-kaart-badge-aanvullen {
	display: inline-block;
	background: var( --vvl-amber );
	color: #fff;
	font-family: var( --vvl-font-body );
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 999px;
	margin-right: 6px;
	vertical-align: 2px;
}

.vvl-kaart-datum {
	color: var( --vvl-inkt-zacht );
	font-size: 12px;
	font-family: var( --vvl-font-mono );
	margin: 0 0 10px;
}

.vvl-weer {
	font-size: 13px;
	color: var( --vvl-inkt-zacht );
}

.vvl-kaart-meer {
	color: var( --vvl-diep );
	font-size: 13px;
	font-weight: 600;
	margin: 10px 0 0;
}

/* Vissoort-tegels */
.vvl-vissoort-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 130px, 1fr ) );
	gap: 10px;
}

.vvl-vissoort-tegel {
	background: none;
	border: 3px solid transparent;
	border-radius: var( --vvl-radius-m );
	padding: 0;
	cursor: pointer;
	overflow: hidden;
	line-height: 0;
	box-shadow: var( --vvl-schaduw-s );
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.vvl-vissoort-tegel:hover {
	transform: translateY( -3px );
	box-shadow: var( --vvl-schaduw-m );
}

.vvl-vissoort-tegel.vvl-tegel-geselecteerd {
	border-color: var( --vvl-amber );
	box-shadow: var( --vvl-schaduw-m );
}

.vvl-vissoort-icoon {
	display: block;
	width: 100%;
}

.vvl-vissoort-icoon svg {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 11px;
}

.vvl-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
}

.vvl-link-knop {
	background: none;
	border: none;
	color: var( --vvl-diep );
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	padding: 0;
	display: inline-block;
}

.vvl-link-knop:hover {
	color: var( --vvl-diep-donker );
	text-decoration: underline;
}

/* Mooie bestandsknop i.p.v. de standaard "Bestand kiezen"-knop */
.vvl-bestand-input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.vvl-foto-knoppen {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.vvl-bestand-knop {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var( --vvl-diep-zacht );
	border: 2px dashed #a9d0c7;
	border-radius: var( --vvl-radius-s );
	padding: 16px 10px;
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
	color: var( --vvl-diep-donker );
	text-align: center;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.vvl-bestand-knop:hover {
	background: #d9ebe6;
	border-color: var( --vvl-diep );
}

.vvl-snel-vastleggen-wrap {
	max-width: 480px;
	margin: 0 auto 20px;
	text-align: center;
}

.vvl-snel-vastleggen-knop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: var( --vvl-amber );
	border: none;
	border-radius: var( --vvl-radius-s );
	padding: 16px 22px;
	cursor: pointer;
	font-weight: 700;
	font-size: 16px;
	color: #fff;
	text-align: center;
	box-shadow: var( --vvl-schaduw-s );
	transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.vvl-snel-vastleggen-knop:hover {
	background: var( --vvl-amber-donker );
	box-shadow: var( --vvl-schaduw-m );
	transform: translateY( -1px );
}

.vvl-bestand-knop-icoon {
	font-size: 18px;
}

/* Locatie / kaart */
.vvl-locatie-leeg {
	background: var( --vvl-mist );
	border: 1.5px dashed var( --vvl-zand );
	border-radius: var( --vvl-radius-s );
	padding: 16px;
	text-align: center;
	color: var( --vvl-inkt-zacht );
	font-size: 14px;
	margin: 8px 0;
}

.vvl-form-kaart {
	height: 240px;
	border-radius: var( --vvl-radius-s );
	margin: 8px 0;
	border: 1.5px solid var( --vvl-zand );
	overflow: hidden;
}

/* De locatiekaart bij zowel het TOEVOEGEN als BEWERKEN van een vangst
   staat nu op dezelfde, vergrote hoogte (was oorspronkelijk 240px). */
#vvl-form-kaart,
#vvl-bewerk-kaart {
	height: 400px;
}

.vvl-kaart-wrapper {
	position: relative;
}

.vvl-form-knoppen {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.vvl-form-knoppen .vvl-knop-primair,
.vvl-form-knoppen .vvl-knop-secundair {
	flex: 1;
	min-width: 140px;
	width: auto;
	margin-top: 0;
}

#vvl-installeer-app-knop-wrap {
	text-align: center;
	margin-top: 14px;
}

#vvl-installeer-app-knop {
	font-size: 13px;
}

/* Login */
.vvl-login-wrap {
	max-width: 380px;
	margin: 0 auto;
}

/* Portaal */
.vvl-portaal {
	max-width: 640px;
	margin: 0 auto;
}

.vvl-portaal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 22px;
	font-weight: 600;
	font-family: var( --vvl-font-display );
	font-size: 17px;
}

.vvl-uitloggen {
	font-weight: normal;
	font-family: var( --vvl-font-body );
	font-size: 13px;
	color: var( --vvl-koraal );
	text-decoration: none;
}

.vvl-uitloggen:hover {
	text-decoration: underline;
}

.vvl-tabs {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 78px, 1fr ) );
	gap: 10px;
	margin-bottom: 26px;
}

.vvl-tab-knop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: var( --vvl-oppervlak );
	border: 1.5px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-l );
	padding: 14px 8px;
	font-size: 13px;
	line-height: 1.2;
	font-weight: 600;
	font-family: var( --vvl-font-body );
	cursor: pointer;
	color: var( --vvl-inkt );
	box-shadow: var( --vvl-schaduw-s );
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease,
		box-shadow 0.15s ease, transform 0.1s ease;
}

.vvl-tab-knop .vvl-tab-icoon {
	font-size: 20px;
	line-height: 1;
}

.vvl-tab-knop .vvl-tab-label {
	text-align: center;
}

.vvl-tab-knop:hover {
	border-color: var( --vvl-diep );
	color: var( --vvl-diep-donker );
}

.vvl-tab-knop:active {
	transform: scale( 0.97 );
}

.vvl-tab-knop.vvl-tab-actief {
	background: var( --vvl-diep-donker );
	border-color: var( --vvl-diep-donker );
	color: #ffffff;
	box-shadow: var( --vvl-schaduw-m );
}

@media ( max-width: 480px ) {
	.vvl-tabs {
		grid-template-columns: repeat( 2, 1fr );
	}
}

/* Tab-balk van het verenigingsdashboard: zelfde vormgeving als .vvl-tabs
 * (portaal), maar met een eigen class-naam. Sommige sites hebben elders al
 * eigen CSS die specifiek ".vvl-tabs" verbergt (bv. via het thema of een
 * "Extra CSS"-veld) - los daarvan hield deze tab-balk zich hier niet aan. */
.vvl-dashboard-tabnav {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 78px, 1fr ) );
	gap: 10px;
	margin-bottom: 26px;
}

@media ( max-width: 480px ) {
	.vvl-dashboard-tabnav {
		grid-template-columns: repeat( 2, 1fr );
	}
}

/* Detail-modal */
.vvl-modal {
	position: fixed;
	inset: 0;
	background: rgba( 22, 36, 31, 0.55 );
	backdrop-filter: blur( 2px );
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.vvl-modal-overlay {
	position: absolute;
	inset: 0;
}

.vvl-modal-venster {
	position: relative;
	background: var( --vvl-oppervlak );
	border-radius: var( --vvl-radius-l );
	max-width: 520px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 28px;
	box-sizing: border-box;
	box-shadow: var( --vvl-schaduw-l );
}

.vvl-modal-sluiten {
	position: absolute;
	top: 14px;
	right: 14px;
	background: var( --vvl-mist );
	border: none;
	border-radius: 50%;
	width: 34px;
	height: 34px;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: var( --vvl-inkt-zacht );
	transition: background 0.15s ease;
}

.vvl-modal-sluiten:hover {
	background: var( --vvl-zand-zacht );
}

.vvl-modal-inhoud h2 {
	margin: 0 30px 4px 0;
	font-family: var( --vvl-font-display );
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.vvl-modal-datum {
	color: var( --vvl-inkt-zacht );
	font-size: 12px;
	font-family: var( --vvl-font-mono );
	margin: 0 0 16px;
}

.vvl-modal-foto {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 60vh;
	border-radius: var( --vvl-radius-s );
	margin: 0 auto 18px;
	display: block;
	cursor: zoom-in;
}

/* Schermvullende weergave na tikken op de foto in het detailvenster. */
.vvl-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba( 0, 0, 0, 0.92 );
	cursor: zoom-out;
	padding: 12px;
}

.vvl-lightbox img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.vvl-lightbox-sluit {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.15 );
	color: #fff;
	font-size: 24px;
	line-height: 44px;
	cursor: pointer;
}

.vvl-modal-inhoud h3 {
	margin: 20px 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var( --vvl-inkt-zacht );
}

.vvl-modal-tabel {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 120px, 1fr ) );
	gap: 10px;
}

.vvl-modal-tabel div {
	background: var( --vvl-mist );
	border-radius: var( --vvl-radius-s );
	padding: 10px 12px;
}

.vvl-modal-tabel span {
	display: block;
	font-size: 11px;
	color: var( --vvl-inkt-zacht );
	margin-bottom: 2px;
}

.vvl-modal-tabel strong {
	font-size: 16px;
	font-family: var( --vvl-font-mono );
	font-weight: 600;
	color: var( --vvl-inkt );
}

/* Een vak over de hele breedte, voor langere tekst zoals "31 min voor zonsondergang". */
.vvl-modal-tabel .vvl-modal-tabel-breed {
	grid-column: 1 / -1;
}

/* Bronvermelding Open-Meteo (verplicht onder hun CC-BY 4.0-licentie). */
.vvl-weer-bron {
	margin: 6px 0 0;
	font-size: 11px;
	color: var( --vvl-inkt-zacht );
}

.vvl-weer-bron a {
	color: inherit;
	text-decoration: underline;
}

#vvl-modal-kaart {
	height: 220px;
	border-radius: var( --vvl-radius-s );
	margin-top: 8px;
	overflow: hidden;
}

.vvl-modal-publicatie {
	margin-top: 20px;
	font-size: 12px;
	color: var( --vvl-inkt-zacht );
}

.vvl-modal-acties {
	display: flex;
	gap: 10px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var( --vvl-zand-zacht );
}

.vvl-modal-acties button {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	padding: 0;
	font-size: 19px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vvl-knop-gevaar {
	background: var( --vvl-koraal-zacht ) !important;
	color: var( --vvl-koraal ) !important;
}

.vvl-knop-gevaar:hover:not( :disabled ) {
	background: #f6d9d6 !important;
}

.vvl-modal-bewerk h2 {
	margin-top: 0;
	font-family: var( --vvl-font-display );
	font-size: 22px;
	font-weight: 600;
}

.vvl-modal-deel h2 {
	margin-top: 0;
	font-family: var( --vvl-font-display );
	font-size: 22px;
	font-weight: 600;
}

.vvl-deel-canvas {
	width: 100%;
	max-width: 320px;
	aspect-ratio: 4 / 5;
	border-radius: var( --vvl-radius-m );
	border: 1px solid var( --vvl-zand-zacht );
	display: block;
	margin: 12px auto 16px;
	background: var( --vvl-mist );
}

/* Feestelijke recordmelding */
.vvl-melding-record {
	background: linear-gradient( 135deg, var( --vvl-amber-zacht ), #f7dcb2 );
	color: var( --vvl-amber-donker );
	font-weight: 600;
	border: 1px solid #f0cd97;
}

/* Persoonlijke records */
.vvl-records-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 260px, 1fr ) );
	gap: 18px;
}

.vvl-record-kaart {
	position: relative;
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	background: var( --vvl-oppervlak );
	padding: 18px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.vvl-record-kaart:hover {
	box-shadow: var( --vvl-schaduw-m );
	transform: translateY( -2px );
}

/* Signature-detail: een subtiel "medaille-lint" in de hoek van elke
   soort-kaart - een knipoog naar het records-thema, puur met CSS. */
.vvl-record-kaart::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 46px;
	height: 46px;
	background: linear-gradient( 135deg, transparent 50%, var( --vvl-amber ) 50% );
	opacity: 0.9;
}

.vvl-record-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 14px;
	position: relative;
}

.vvl-record-header h3 {
	margin: 0;
	font-family: var( --vvl-font-display );
	font-size: 19px;
	font-weight: 600;
}

.vvl-record-aantal {
	font-size: 11px;
	font-family: var( --vvl-font-mono );
	color: var( --vvl-inkt-zacht );
}

.vvl-record-items {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.vvl-record-item {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var( --vvl-mist );
	border-radius: var( --vvl-radius-s );
	padding: 10px;
}

.vvl-record-item img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: var( --vvl-radius-s );
	flex-shrink: 0;
}

.vvl-record-item-tekst {
	display: flex;
	flex-direction: column;
}

.vvl-record-item-tekst span {
	font-size: 11px;
	color: var( --vvl-inkt-zacht );
}

.vvl-record-item-tekst strong {
	font-size: 16px;
	font-family: var( --vvl-font-mono );
	font-weight: 600;
	color: var( --vvl-inkt );
}

.vvl-record-item-tekst small {
	font-size: 11px;
	font-family: var( --vvl-font-mono );
	color: var( --vvl-inkt-zacht );
}

/* "Mijn notities" - strikt privé, los van vangsten. */
.vvl-notities-acties {
	margin-bottom: 18px;
}

.vvl-notities-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 260px, 1fr ) );
	gap: 18px;
}

.vvl-notitie-kaart {
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	background: var( --vvl-oppervlak );
	padding: 18px;
	transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.vvl-notitie-kaart:hover {
	box-shadow: var( --vvl-schaduw-m );
	transform: translateY( -2px );
}

.vvl-notitie-kaart-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 8px;
}

.vvl-notitie-kaart-header h3 {
	margin: 0;
	font-family: var( --vvl-font-display );
	font-size: 18px;
	font-weight: 600;
	word-break: break-word;
}

.vvl-notitie-kaart-acties {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
}

.vvl-notitie-kaart-acties button {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	padding: 0;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: var( --vvl-radius-s );
	background: var( --vvl-mist );
	cursor: pointer;
}

.vvl-notitie-kaart-acties button:hover {
	background: var( --vvl-zand-zacht );
}

.vvl-notitie-verwijder-knop:hover {
	background: var( --vvl-koraal-zacht ) !important;
}

.vvl-notitie-kaart-inhoud {
	white-space: pre-wrap;
	word-break: break-word;
	margin: 0 0 10px;
}

.vvl-notitie-kaart-datum {
	font-size: 11px;
	font-family: var( --vvl-font-mono );
	color: var( --vvl-inkt-zacht );
	margin: 0;
}

/* Notitie-editor: een ruime, "kale" schrijfomgeving (geen zichtbare
   veldranden/labels, groot lettertype) i.p.v. een klein, boksig formuliertje
   - meer een moderne notitie-app-gevoel dan een invulformulier. Op mobiel/
   tablet wordt de modal een full-screen scherm i.p.v. een klein
   pop-upvenstertje, zodat er altijd voldoende ruimte is om te typen. */
#vvl-notitie-modal .vvl-notitie-venster {
	display: flex;
	flex-direction: column;
	max-width: 640px;
	max-height: 88vh;
	overflow: hidden; /* i.p.v. de auto-scroll van .vvl-modal-venster: alleen .vvl-notitie-editor scrollt hier zelf, zodat de knoppenbalk onderin altijd in beeld blijft. */
	padding: 24px 28px 20px;
}

.vvl-notitie-editor {
	flex: 1;
	display: flex;
	flex-direction: column;
	margin-top: 28px;
	overflow-y: auto;
	min-height: 0; /* laat de flex-child daadwerkelijk scrollen i.p.v. oneindig uit te dijen. */
}

.vvl-notitie-titel-input {
	flex-shrink: 0;
	border: none;
	outline: none;
	background: transparent;
	width: 100%;
	box-sizing: border-box;
	font-family: var( --vvl-font-display );
	font-size: 24px;
	font-weight: 600;
	color: var( --vvl-inkt );
	padding: 4px 0 14px;
	border-bottom: 1.5px solid var( --vvl-zand-zacht );
	transition: border-color 0.15s ease;
}

.vvl-notitie-titel-input::placeholder {
	color: var( --vvl-inkt-zacht );
	opacity: 0.6;
}

.vvl-notitie-titel-input:focus {
	border-color: var( --vvl-diep );
}

.vvl-notitie-inhoud-textarea {
	flex-shrink: 0; /* nooit comprimeren om binnen .vvl-notitie-editor te passen - anders zou getypte tekst onzichtbaar (afgeknipt) kunnen raken; ".vvl-notitie-editor" scrollt zelf al als de inhoud niet meer past. */
	border: none;
	outline: none;
	background: transparent;
	resize: none;
	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
	font-family: var( --vvl-font-body );
	font-size: 16px;
	line-height: 1.7;
	color: var( --vvl-inkt );
	padding: 16px 0 0;
	min-height: 140px;
}

.vvl-notitie-inhoud-textarea::placeholder {
	color: var( --vvl-inkt-zacht );
	opacity: 0.55;
}

.vvl-notitie-editor-footer {
	flex-shrink: 0;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var( --vvl-zand-zacht );
}

@media ( max-width: 700px ) {
	#vvl-notitie-modal {
		padding: 0;
	}

	#vvl-notitie-modal .vvl-notitie-venster {
		max-width: none;
		width: 100%;
		border-radius: 0;
		padding: 24px 20px 16px;
		/* Fallback voor browsers zonder dvh-ondersteuning, daarna de
		   "dynamic viewport height" - houdt rekening met het in-/uitschuiven
		   van de adresbalk op mobiel, in tegenstelling tot 100vh. */
		height: 100vh;
		height: 100dvh;
		max-height: 100vh;
		max-height: 100dvh;
	}

	.vvl-notitie-titel-input {
		font-size: 21px;
	}
}

/* Ranglijst */
.vvl-ranglijst h2 {
	margin: 28px 0 14px;
	font-family: var( --vvl-font-display );
	font-size: 20px;
	font-weight: 600;
}

.vvl-ranglijst h2:first-child {
	margin-top: 0;
}

/* Dashboard / tabellen */
.vvl-tabel {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	overflow: hidden;
}

.vvl-tabel th,
.vvl-tabel td {
	border-bottom: 1px solid var( --vvl-zand-zacht );
	padding: 10px 12px;
	text-align: left;
	font-size: 14px;
}

.vvl-tabel th {
	background: var( --vvl-mist );
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var( --vvl-inkt-zacht );
}

.vvl-tabel tbody tr:hover {
	background: var( --vvl-diep-zacht );
}

.vvl-publicatie-ja,
.vvl-publicatie-nee {
	font-family: var( --vvl-font-mono );
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.vvl-publicatie-ja {
	color: var( --vvl-diep-donker );
}

.vvl-publicatie-nee {
	color: var( --vvl-inkt-zacht );
}

/* Statistieken per water (verenigingsdashboard) */
.vvl-water-stats {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 24px;
}

.vvl-water-stats-item {
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	background: var( --vvl-oppervlak );
	overflow: hidden;
}

.vvl-water-stats-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	cursor: pointer;
	background: var( --vvl-mist );
	font-weight: 600;
	list-style: none;
}

.vvl-water-stats-item summary::-webkit-details-marker {
	display: none;
}

.vvl-water-stats-item[open] summary {
	border-bottom: 1px solid var( --vvl-zand-zacht );
}

.vvl-water-stats-naam {
	color: var( --vvl-inkt );
}

.vvl-water-stats-aantal {
	font-family: var( --vvl-font-mono );
	font-size: 12px;
	color: var( --vvl-inkt-zacht );
	white-space: nowrap;
}

.vvl-water-stats-inhoud {
	padding: 16px;
}

/* Statistiekenpagina */
/* Visserprofiel ("Wat voor visser ben jij?") bovenaan de statistieken. */
.vvl-profiel {
	background: var( --vvl-oppervlak );
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-l );
	box-shadow: var( --vvl-schaduw-m );
	padding: 0 0 18px;
	margin-bottom: 28px;
	overflow: hidden;
}

.vvl-profiel-kop {
	background: linear-gradient( 135deg, var( --vvl-diep ), var( --vvl-diep-donker ) );
	color: #fff;
	padding: 18px 22px;
}

.vvl-profiel-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.8;
}

.vvl-profiel-titel {
	font-family: var( --vvl-font-display );
	font-size: 26px;
	line-height: 1.2;
	margin: 4px 0 0;
	color: #fff;
}

.vvl-profiel-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.vvl-profiel-badge {
	background: rgba( 255, 255, 255, 0.16 );
	border: 1px solid rgba( 255, 255, 255, 0.28 );
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 13px;
	font-weight: 600;
	cursor: help;
}

.vvl-profiel-balk {
	display: flex;
	height: 12px;
	margin: 18px 22px 8px;
	border-radius: 999px;
	overflow: hidden;
	background: var( --vvl-mist );
	gap: 2px;
}

.vvl-profiel-balk-deel {
	display: block;
	height: 100%;
}

.vvl-profiel-legenda {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	padding: 0 22px;
	font-size: 14px;
	color: var( --vvl-inkt-zacht );
}

.vvl-profiel-legenda strong {
	font-family: var( --vvl-font-mono );
	color: var( --vvl-inkt );
}

.vvl-profiel-stip {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 4px;
	vertical-align: middle;
}

.vvl-profiel-trend {
	margin: 14px 22px 0;
	padding: 10px 12px;
	background: var( --vvl-amber-zacht );
	color: var( --vvl-amber-donker );
	border-radius: var( --vvl-radius-m );
	font-weight: 600;
	font-size: 14px;
}

.vvl-profiel-voetnoot {
	margin: 12px 22px 0;
	font-size: 12px;
	color: var( --vvl-inkt-zacht );
}

.vvl-profiel-leeg {
	padding: 18px 22px;
}

.vvl-profiel-leeg .vvl-profiel-label {
	color: var( --vvl-diep );
	opacity: 1;
}

.vvl-profiel-leeg p {
	margin: 6px 0 12px;
}

.vvl-profiel-voortgang {
	height: 8px;
	border-radius: 999px;
	background: var( --vvl-mist );
	overflow: hidden;
}

.vvl-profiel-voortgang span {
	display: block;
	height: 100%;
	background: var( --vvl-amber );
}

@media ( max-width: 480px ) {
	.vvl-profiel-kop {
		padding: 16px;
	}

	.vvl-profiel-titel {
		font-size: 22px;
	}

	.vvl-profiel-balk {
		margin: 16px 16px 8px;
	}

	.vvl-profiel-legenda {
		padding: 0 16px;
	}

	.vvl-profiel-trend,
	.vvl-profiel-voetnoot {
		margin-left: 16px;
		margin-right: 16px;
	}
}

.vvl-stats-banner {
	background: linear-gradient( 135deg, var( --vvl-diep ), var( --vvl-diep-donker ) );
	color: #fff;
	padding: 18px 22px;
	border-radius: var( --vvl-radius-m );
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 28px;
	box-shadow: var( --vvl-schaduw-m );
}

.vvl-stats-grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 140px, 1fr ) );
	gap: 14px;
	margin-bottom: 24px;
}

.vvl-stat-kaart {
	background: var( --vvl-oppervlak );
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vvl-stat-kaart-uitgelicht {
	border-color: var( --vvl-amber );
	background: var( --vvl-amber-zacht );
}

.vvl-stat-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var( --vvl-inkt-zacht );
}

.vvl-stat-groot-cijfer {
	font-family: var( --vvl-font-mono );
	font-size: 28px;
	font-weight: 600;
	color: var( --vvl-inkt );
}

.vvl-stat-groot-cijfer small {
	font-size: 14px;
	font-weight: 500;
	color: var( --vvl-inkt-zacht );
}

.vvl-stats-records-rij {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 240px, 1fr ) );
	gap: 14px;
	margin-bottom: 28px;
}

.vvl-stat-kaart-record {
	flex-direction: row;
	align-items: center;
	gap: 14px;
}

.vvl-stat-kaart-record img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: var( --vvl-radius-s );
	flex-shrink: 0;
}

.vvl-stat-kaart-record div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vvl-stat-kaart-record strong {
	font-family: var( --vvl-font-display );
	font-size: 16px;
}

.vvl-stat-kaart-record small {
	color: var( --vvl-inkt-zacht );
	font-family: var( --vvl-font-mono );
	font-size: 11px;
}

.vvl-stats-lijst {
	background: var( --vvl-oppervlak );
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	padding: 6px 16px;
	margin-bottom: 20px;
}

.vvl-stats-sublabel {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var( --vvl-inkt-zacht );
	margin: 10px 0 4px;
}

/* Conclusie direct onder een rij statistiekkaarten (zie "Zon en maan"). */
.vvl-stats-conclusie {
	font-size: 14px;
	color: var( --vvl-inkt );
	margin: 0 0 10px;
}

.vvl-stats-grid + .vvl-stats-conclusie {
	margin-top: -10px;
}

.vvl-stats-lijst-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var( --vvl-zand-zacht );
	flex-wrap: wrap;
}

.vvl-stats-lijst-item:last-child {
	border-bottom: none;
}

.vvl-stats-lijst-rang {
	font-family: var( --vvl-font-mono );
	font-size: 12px;
	color: var( --vvl-inkt-zacht );
	width: 24px;
	flex-shrink: 0;
}

.vvl-stats-lijst-naam {
	font-weight: 600;
	flex: 1;
	min-width: 100px;
}

.vvl-stats-lijst-aantal {
	font-family: var( --vvl-font-mono );
	font-weight: 600;
	color: var( --vvl-diep );
}

.vvl-stats-lijst-extra {
	font-size: 12px;
	color: var( --vvl-inkt-zacht );
	width: 100%;
}

.vvl-stats-lijst-item-eigen {
	background: var( --vvl-amber-zacht );
	margin: 0 -16px;
	padding: 10px 16px;
	border-radius: var( --vvl-radius-s );
}

.vvl-badges-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 120px, 1fr ) );
	gap: 14px;
	margin-bottom: 24px;
}

.vvl-badge-kaart {
	background: var( --vvl-oppervlak );
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	padding: 16px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
}

.vvl-badge-icoon {
	font-size: 32px;
	line-height: 1;
}

.vvl-badge-naam {
	font-weight: 600;
	font-size: 13px;
}

.vvl-badge-datum {
	font-family: var( --vvl-font-mono );
	font-size: 11px;
	color: var( --vvl-inkt-zacht );
}

.vvl-stats-weer-rij {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 220px, 1fr ) );
	gap: 14px;
}

.vvl-stats-maandgrafiek {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 140px;
	margin-bottom: 20px;
	background: var( --vvl-oppervlak );
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	padding: 14px 10px 8px;
}

.vvl-maandbalk-wrap {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	gap: 6px;
}

.vvl-maandbalk {
	width: 100%;
	max-width: 22px;
	background: var( --vvl-diep );
	border-radius: 3px 3px 0 0;
	transition: background 0.15s ease;
}

.vvl-maandbalk-wrap:hover .vvl-maandbalk {
	background: var( --vvl-amber );
}

.vvl-maandbalk-label {
	font-size: 10px;
	font-family: var( --vvl-font-mono );
	color: var( --vvl-inkt-zacht );
	text-transform: uppercase;
}

.vvl-stats-jaarvergelijking {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 160px, 1fr ) );
	gap: 14px;
	margin: 20px 0 28px;
}

.vvl-stats-jaarvergelijking small {
	font-family: var( --vvl-font-mono );
	color: var( --vvl-inkt-zacht );
}

/* Clubwateren: tab op het verenigingsdashboard en [vvl_clubwateren] */
.vvl-wateren-kaart {
	height: 460px;
	margin: 12px 0 8px;
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	overflow: hidden;
	/* Eigen stapel, zodat de kaart nooit over een venster van de app heen komt. */
	position: relative;
	z-index: 0;
}

.vvl-wateren-kaart.vvl-wateren-tekenen,
.vvl-wateren-kaart.vvl-wateren-tekenen .leaflet-interactive {
	cursor: crosshair;
}

.vvl-wateren-status-fout {
	color: var( --vvl-koraal );
}

.vvl-wateren-tekenbalk {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	padding: 10px 14px;
	background: var( --vvl-amber-zacht );
	border: 1px solid var( --vvl-amber );
	border-radius: var( --vvl-radius-s );
	font-size: 14px;
}

.vvl-wateren-tekenbalk span {
	flex: 1 1 220px;
}

.vvl-wateren-tekenbalk .vvl-knop-primair,
.vvl-wateren-tekenbalk .vvl-knop-secundair {
	width: auto;
	margin-top: 0;
}

.vvl-wateren-paneel {
	margin: 12px 0 24px;
	padding: 16px;
	background: var( --vvl-oppervlak );
	border: 1px solid var( --vvl-amber );
	border-radius: var( --vvl-radius-m );
}

.vvl-wateren-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 16px;
	padding: 10px 0;
	border-bottom: 1px solid var( --vvl-zand-zacht );
}

.vvl-wateren-item:last-child {
	border-bottom: 0;
}

.vvl-wateren-item-tekst {
	flex: 1 1 240px;
	min-width: 0;
}

.vvl-wateren-regels {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: var( --vvl-inkt-zacht );
	white-space: pre-line;
}

.vvl-wateren-item-knoppen {
	display: flex;
	gap: 16px;
}

/* Veld "Clubwater" in het vangst- en bewerkformulier: de regels van het herkende water. */
.vvl-water-regels {
	margin: 8px 0 0;
	padding: 10px 12px;
	background: var( --vvl-diep-zacht );
	border-radius: var( --vvl-radius-s );
	font-size: 13px;
	color: var( --vvl-diep-donker );
	white-space: pre-line;
}

/* Locatienaam bij een herkend clubwater: zichtbaar, maar niet aan te passen. */
.vvl-form input.vvl-veld-vergrendeld,
.vvl-modal-bewerk input.vvl-veld-vergrendeld {
	background: var( --vvl-mist );
	color: var( --vvl-inkt-zacht );
	cursor: not-allowed;
}

.vvl-modal-water {
	margin: 4px 0 8px;
}

/* Label "clubwater" voor het bestuur: vangstentabel, Wall of Fame en statistieken per water. */
.vvl-water-label {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	background: var( --vvl-mist );
	color: var( --vvl-inkt-zacht );
}

.vvl-water-label-ok {
	background: var( --vvl-diep-zacht );
	color: var( --vvl-diep-donker );
}

.vvl-water-label-let-op {
	background: var( --vvl-amber-zacht );
	color: var( --vvl-amber-donker );
}

.vvl-water-label-extra {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	color: var( --vvl-inkt-zacht );
}

/* Recente berichten */
.vvl-berichten-lijst {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.vvl-bericht-item {
	display: flex;
	gap: 14px;
	align-items: center;
	background: var( --vvl-oppervlak );
	border: 1px solid var( --vvl-zand-zacht );
	border-radius: var( --vvl-radius-m );
	padding: 12px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.vvl-bericht-item:hover {
	box-shadow: var( --vvl-schaduw-m );
	transform: translateY( -2px );
	border-color: var( --vvl-diep-zacht );
}

.vvl-bericht-foto {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: var( --vvl-radius-s );
	overflow: hidden;
}

.vvl-bericht-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vvl-bericht-tekst h4 {
	margin: 0 0 4px;
	font-family: var( --vvl-font-display );
	font-size: 17px;
	font-weight: 600;
	color: var( --vvl-inkt );
}

.vvl-bericht-datum {
	margin: 0 0 4px;
	font-family: var( --vvl-font-mono );
	font-size: 11px;
	color: var( --vvl-inkt-zacht );
}

.vvl-bericht-excerpt {
	margin: 0;
	font-size: 13px;
	color: var( --vvl-inkt-zacht );
	line-height: 1.4;
}

/* Toegankelijkheid: bewegingsvoorkeur respecteren. */
@media ( prefers-reduced-motion: reduce ) {
	.vvl-kaart,
	.vvl-vissoort-tegel,
	.vvl-knop-primair,
	.vvl-record-kaart,
	.vvl-notitie-kaart {
		transition: none !important;
	}
}
