/* De Rode Schaar – reparatieformulier */
.rsr-wrap {
	--rsr-red: #d7141a;
	--rsr-red-dark: #a80f14;
	--rsr-text: #1f1f1f;
	--rsr-muted: #6b6b6b;
	--rsr-line: #d9d9d9;
	--rsr-bg: #ffffff;
	--rsr-soft: #f7f5f4;
	--rsr-radius: 6px;
	max-width: 760px;
	color: var(--rsr-text);
	font-size: 16px;
	line-height: 1.5;
}
.rsr-wrap *, .rsr-wrap *::before, .rsr-wrap *::after { box-sizing: border-box; }

.rsr-section {
	border: 0;
	margin: 0 0 28px;
	padding: 0;
	min-width: 0;
}
.rsr-section > legend {
	display: block;
	width: 100%;
	font-size: 1.15em;
	font-weight: 700;
	padding: 0 0 8px;
	margin-bottom: 16px;
	border-bottom: 2px solid var(--rsr-red);
}

.rsr-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 20px;
}
.rsr-grid--pc { grid-template-columns: 9em 1fr; gap: 16px 12px; }
@media (max-width: 600px) {
	.rsr-grid { grid-template-columns: 1fr; }
	.rsr-grid--pc { grid-template-columns: 8em 1fr; }
}

.rsr-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.rsr-field > label { font-weight: 600; font-size: .95em; }
.rsr-req { color: var(--rsr-red); }
.rsr-opt { color: var(--rsr-muted); font-weight: 400; font-size: .9em; }

.rsr-form input[type="text"],
.rsr-form input[type="email"],
.rsr-form input[type="tel"],
.rsr-form textarea {
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	color: var(--rsr-text);
	background: var(--rsr-bg);
	border: 1px solid var(--rsr-line);
	border-radius: var(--rsr-radius);
	transition: border-color .15s, box-shadow .15s;
}
.rsr-form textarea { resize: vertical; min-height: 140px; }
.rsr-form input:focus,
.rsr-form textarea:focus {
	outline: none;
	border-color: var(--rsr-red);
	box-shadow: 0 0 0 3px rgba(215, 20, 26, .15);
}

.rsr-choices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 20px;
	margin-top: 20px;
}
@media (max-width: 600px) { .rsr-choices { grid-template-columns: 1fr; } }
.rsr-choice {
	border: 1px solid var(--rsr-line);
	border-radius: var(--rsr-radius);
	padding: 12px 14px;
	margin: 0;
	min-width: 0;
	background: var(--rsr-soft);
}
.rsr-choice legend { font-weight: 600; font-size: .95em; padding: 0 4px; float: left; width: 100%; margin-bottom: 8px; }
.rsr-choice__opts { clear: both; display: flex; gap: 8px; }
.rsr-pill { position: relative; cursor: pointer; }
.rsr-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rsr-pill span {
	display: inline-block;
	min-width: 64px;
	text-align: center;
	padding: 6px 16px;
	border: 1px solid var(--rsr-line);
	border-radius: 999px;
	background: var(--rsr-bg);
	font-size: .95em;
	transition: background .15s, color .15s, border-color .15s;
}
.rsr-pill input:checked + span { background: var(--rsr-red); border-color: var(--rsr-red); color: #fff; }
.rsr-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(215, 20, 26, .3); }

.rsr-note {
	background: var(--rsr-soft);
	border-left: 4px solid var(--rsr-red);
	padding: 12px 16px;
	margin: 0 0 20px;
	font-size: .95em;
}

.rsr-consent label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.rsr-consent input { margin-top: 5px; flex: none; width: 18px; height: 18px; accent-color: var(--rsr-red); }

.rsr-submit {
	margin-top: 20px;
	display: inline-block;
	padding: 13px 28px;
	font: inherit;
	font-weight: 700;
	color: #fff;
	background: var(--rsr-red);
	border: 0;
	border-radius: var(--rsr-radius);
	cursor: pointer;
	transition: background .15s;
}
.rsr-submit:hover, .rsr-submit:focus-visible { background: var(--rsr-red-dark); }
.rsr-submit:disabled { opacity: .7; cursor: wait; }

.rsr-error { color: var(--rsr-red-dark); font-size: .88em; }
.has-error input, .has-error textarea { border-color: var(--rsr-red) !important; }
.rsr-choice.has-error { border-color: var(--rsr-red); }
.rsr-alert {
	background: #fdecec;
	color: var(--rsr-red-dark);
	border: 1px solid #f3b7b9;
	border-radius: var(--rsr-radius);
	padding: 12px 16px;
	margin-bottom: 24px;
}

.rsr-success {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px 24px;
	border-radius: var(--rsr-radius);
	background: #eef8f0;
	border: 1px solid #bfe3c6;
	color: #1d6b2c;
}
.rsr-success svg { flex: none; }
.rsr-success p { margin: 0; color: var(--rsr-text); }
.rsr-success .rsr-success__title { font-weight: 700; font-size: 1.1em; color: #1d6b2c; margin-bottom: 4px; }

.rsr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
