/**
 * Publieke stijl voor het DogWise-aanvraagformulier.
 * Sober en zakelijk, past bij de uitstraling van een adviserend deskundige in opdracht van het bestuur.
 * Gebruikt bewust neutrale kleuren; kan later afgestemd worden op het thema.
 */

.dogwise-formulier {
	max-width: 640px;
	margin: 0 auto;
}

.dogwise-veld {
	margin-bottom: 1.25rem;
}

.dogwise-veld label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.dogwise-veld input[type="text"],
.dogwise-veld input[type="email"],
.dogwise-veld select,
.dogwise-veld textarea {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid #c9ccd4;
	border-radius: 4px;
	font-size: 1rem;
	box-sizing: border-box;
	background: #fff;
}

.dogwise-veld input:focus,
.dogwise-veld select:focus,
.dogwise-veld textarea:focus {
	outline: none;
	border-color: #1a2b45;
	box-shadow: 0 0 0 2px rgba(26, 43, 69, 0.15);
}

.dogwise-verplicht {
	color: #b3261e;
}

.dogwise-veld-knop {
	margin-top: 1.5rem;
}

.dogwise-knop {
	background: #1a2b45;
	color: #fff;
	border: none;
	padding: 0.85rem 1.6rem;
	font-size: 1rem;
	border-radius: 4px;
	cursor: pointer;
}

.dogwise-knop:hover {
	background: #24375a;
}

.dogwise-melding {
	padding: 1rem 1.2rem;
	border-radius: 4px;
	margin-bottom: 1.5rem;
	max-width: 640px;
}

.dogwise-melding-ok {
	background: #e6f4ea;
	border: 1px solid #b7dfc4;
	color: #1e4b2c;
}

.dogwise-melding-fout {
	background: #fdecea;
	border: 1px solid #f5c2bd;
	color: #8a1c14;
}

/* Dossierformulier — blokken */
.dogwise-dossier-intro {
	max-width: 640px;
	margin: 0 auto 1.5rem;
	color: #50575e;
}
.dogwise-blok {
	max-width: 640px;
	margin: 0 auto 1.5rem;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	padding: 1.2rem 1.4rem 0.6rem;
}
.dogwise-blok legend {
	font-weight: 700;
	font-size: 1.1rem;
	padding: 0 0.5rem;
	color: #1a2b45;
}
.dogwise-blok-uitleg {
	font-size: 13px;
	color: #6b7280;
	margin: 0 0 1rem;
}
.dogwise-veld-checkbox label {
	display: flex;
	gap: 0.6rem;
	font-weight: 400;
	align-items: flex-start;
}
.dogwise-veld-checkbox input {
	margin-top: 0.25rem;
}
.dogwise-knop-secundair {
	background: #6b7280;
	margin-right: 0.5rem;
}
.dogwise-knop-secundair:hover {
	background: #565f6b;
}
.dogwise-dossier .dogwise-veld-knop {
	max-width: 640px;
	margin: 0 auto;
	text-align: right;
}


/* --- Casus-overzicht --- */
.dogwise-casus-overzicht {
	max-width: 900px;
	margin: 0 auto;
}
.dogwise-casus-kop {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}
.dogwise-casus-kop h2 {
	margin: 0;
}
.dogwise-casus-tabel {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1rem;
}
.dogwise-casus-tabel th,
.dogwise-casus-tabel td {
	text-align: left;
	padding: 1rem 1.2rem;
	border-bottom: 1px solid #e2e4e8;
	vertical-align: middle;
}
.dogwise-casus-tabel th {
	background: #f6f7f9;
	font-weight: 700;
	color: #1a2b45;
	border-bottom: 2px solid #d4d8de;
}
.dogwise-casus-tabel tr:last-child td {
	border-bottom: none;
}
.dogwise-knop-klein {
	display: inline-block;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
}
.dogwise-casus-wacht {
	color: #6b7280;
	font-style: italic;
}

/* --- Verplichte velden: rode kader bij fout --- */
.dogwise-formulier input:required,
.dogwise-formulier select:required,
.dogwise-formulier textarea:required {
	border: 1px solid #c3c4c7;
}

/* Als het veld ongeldig/leeg is nadat de gebruiker het aanraakte of verstuurde */
.dogwise-formulier input:required:invalid:not(:placeholder-shown),
.dogwise-formulier input:required:user-invalid,
.dogwise-formulier select:required:user-invalid,
.dogwise-formulier textarea:required:user-invalid {
	border: 2px solid #b3261e;
	background: #fdf2f2;
}

.dogwise-verplicht {
	color: #b3261e;
}