/* Donatiepagina Animal Trust — wit & sober, accent rgb(234,141,128).
 *
 * Lettertype = dat van animaltrust.be (Wix/Avenir). De Avenir-fonts zijn
 * Wix-gelicentieerd: ze renderen wanneer de pagina ingebed/onder animaltrust.be
 * draait. Standalone valt de stack terug op sans-serif. De fonts worden NIET
 * zelf gehost (licentie).
 */

:root {
	--accent:      rgb(234, 141, 128);
	--accent-dark: rgb(210, 110, 96);
	--accent-soft: rgb(252, 240, 237);
	--ink:    #2b2b2b;
	--muted:  #777;
	--line:   #e7e7e7;
	--font:   "avenir-lt-w01_35-light1475496", "avenir-lt-w05_35-light", sans-serif;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	background: #fff;
	color: var(--ink);
	font-family: var(--font);
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden; /* geen horizontaal schuiven op mobiel */
	width: 100%;
}

a { color: var(--accent-dark); }

.donatie-wrap {
	max-width: 620px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.donatie-header {
	text-align: center;
	margin-bottom: 34px;
}
.donatie-header .logo {
	max-height: 70px;
	width: auto;
	margin-bottom: 18px;
}
.donatie-header h1 {
	font-size: 30px;
	font-weight: 300;
	letter-spacing: .01em;
	margin: 0 0 10px;
}
.donatie-header p {
	color: var(--muted);
	font-size: 16px;
	margin: 0 auto;
	max-width: 480px;
}

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 30px;
	margin-bottom: 22px;
}

.step-title {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--accent-dark);
	font-weight: 600;
	margin: 0 0 16px;
}

/* Bedragknoppen */
.bedrag-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
@media (max-width: 480px) { .bedrag-grid { grid-template-columns: repeat(2, 1fr); } }

.bedrag-optie input { position: absolute; opacity: 0; pointer-events: none; }
.bedrag-optie label {
	display: block;
	text-align: center;
	padding: 16px 8px;
	border: 1.5px solid var(--line);
	border-radius: 9px;
	font-size: 19px;
	cursor: pointer;
	transition: border-color .12s, background .12s, color .12s;
	user-select: none;
}
.bedrag-optie label:hover { border-color: var(--accent); }
.bedrag-optie input:checked + label {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}
.bedrag-optie input:focus-visible + label { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

.vrij-bedrag {
	margin-top: 16px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}
.vrij-bedrag .euro {
	font-size: 18px;
	color: var(--muted);
}
.vrij-bedrag input[type=number] {
	flex: 1;
	max-width: 200px;
}
.fiscaal-hint {
	margin: 14px 0 0;
	font-size: 13.5px;
	color: var(--muted);
}

/* Formuliervelden */
.veld { margin-bottom: 16px; }
.veld:last-child { margin-bottom: 0; }
.veld label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 5px;
}
.veld .req { color: var(--accent-dark); }
.veld .hulp { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 4px; }

input[type=text], input[type=email], input[type=number], input[type=tel], textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 15px;
	font-family: var(--font);
	color: var(--ink);
	background: #fff;
}
textarea { resize: vertical; line-height: 1.5; }
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

.veld-rij {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
@media (max-width: 480px) { .veld-rij { grid-template-columns: 1fr; } }
.veld-rij.adres { grid-template-columns: 2fr 1fr; }

/* Adres-autosuggestie (Geopunt) */
.adres-zoek { position: relative; }
.adres-suggesties {
	display: none;
	position: absolute;
	left: 0; right: 0;
	top: 100%;
	z-index: 30;
	background: #fff;
	border: 1px solid #ccc;
	border-top: none;
	border-radius: 0 0 8px 8px;
	max-height: 260px;
	overflow-y: auto;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}
.adres-sug {
	padding: 10px 13px;
	font-size: 14.5px;
	cursor: pointer;
	border-top: 1px solid #f1f1f1;
}
.adres-sug:first-child { border-top: none; }
.adres-sug:hover, .adres-sug.actief { background: var(--accent-soft); }

/* Honeypot — onzichtbaar voor mensen, bots vullen 'm wél in.
   Clip-techniek i.p.v. left:-9999px, anders ontstaat horizontaal schuiven op mobiel. */
.hp-veld {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Akkoord-vinkjes */
.akkoord {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	margin-bottom: 12px;
}
.akkoord input { margin-top: 4px; flex-shrink: 0; width: 17px; height: 17px; accent-color: var(--accent); }
.akkoord a { text-decoration: underline; cursor: pointer; }
.linkknop {
	background: none; border: 0; padding: 0;
	color: var(--accent-dark); text-decoration: underline; cursor: pointer;
	font: inherit;
}

/* Doneren-knop */
.doneer-knop {
	display: block;
	width: 100%;
	padding: 16px;
	border: 0;
	border-radius: 9px;
	background: var(--accent);
	color: #fff;
	font-size: 18px;
	font-family: var(--font);
	font-weight: 600;
	cursor: pointer;
	transition: background .12s;
}
.doneer-knop:hover { background: var(--accent-dark); }
.doneer-knop:disabled { opacity: .55; cursor: not-allowed; }

/* Meldingen */
.melding {
	padding: 13px 16px;
	border-radius: 9px;
	font-size: 14.5px;
	margin-bottom: 22px;
}
.melding.fout { background: #fbeaea; color: #9a2020; border: 1px solid #f0c5c5; }
.melding.ok   { background: var(--accent-soft); color: #8a3b2c; border: 1px solid #f1cfc8; }
.melding.test { background: #fff7e6; color: #8a6d00; border: 1px solid #f0e0a8; text-align: center; }

/* Bedankpagina */
.bedankt { text-align: center; padding: 18px 6px; }
.bedankt .icoon { font-size: 46px; line-height: 1; margin-bottom: 8px; }
.bedankt h1 { font-size: 26px; font-weight: 300; margin: 6px 0 14px; }
.bedankt p { color: var(--muted); font-size: 16px; }
.bedankt .terug { display: inline-block; margin-top: 22px; }

/* Voorwaarden-/privacyvenster */
dialog.tekst-dialog {
	max-width: 640px;
	width: calc(100% - 32px);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 0;
	color: var(--ink);
}
dialog.tekst-dialog::backdrop { background: rgba(0,0,0,.4); }
dialog.tekst-dialog .dlg-body { padding: 26px 28px; font-size: 15px; line-height: 1.65; }
dialog.tekst-dialog .dlg-body h3 { margin-top: 0; font-weight: 300; font-size: 21px; }
dialog.tekst-dialog .dlg-foot { padding: 14px 28px 22px; text-align: right; }
dialog.tekst-dialog .dlg-foot .btn-sluit {
	background: var(--accent); color: #fff; border: 0; border-radius: 7px;
	padding: 9px 18px; font-size: 14px; font-family: var(--font); cursor: pointer;
}

.footer {
	text-align: center;
	color: var(--muted);
	font-size: 12.5px;
	padding: 26px 20px 50px;
}
.footer a { color: var(--muted); margin: 0 8px; }

/* Cookie-consent (vanilla-cookieconsent v3): knoppen & accenten in de huisstijl */
#cc-main {
	--cc-btn-primary-bg: var(--accent);
	--cc-btn-primary-border-color: var(--accent);
	--cc-btn-primary-hover-bg: var(--accent-dark);
	--cc-btn-primary-hover-border-color: var(--accent-dark);
	--cc-btn-primary-color: #fff;
	--cc-btn-primary-hover-color: #fff;
	--cc-toggle-on-bg: var(--accent);
	--cc-link-color: var(--accent-dark);
	--cc-focus: var(--accent);
}
