/* RL Camps – formulaire public. Couleurs surchargeables via les variables ci-dessous. */
.rlc-wrap {
	--rlc-accent: #FBB901;
	--rlc-accent-contrast: #334155;
	--rlc-title: #334155;
	--rlc-border: #d7dde3;
	--rlc-bg: #f7f9fb;
	--rlc-error: #b3261e;
	--rlc-success: #1e7b34;
	--rlc-radius: 8px;
	max-width: 860px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
}
.rlc-wrap * { box-sizing: border-box; }
.rlc-form fieldset {
	border: 1px solid var(--rlc-border);
	border-radius: var(--rlc-radius);
	padding: 1.25rem 1.25rem .5rem;
	min-width: 0;
	margin: 0 0 1.5rem;
	background: #fff;
	position: relative;
}
.rlc-form fieldset > legend {
	float: left;          /* garde le titre à l'intérieur du bloc, quel que soit le thème */
	width: 100%;
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	font-weight: 700;
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--rlc-title);
}
.rlc-form fieldset > legend ~ * { clear: both; }
.rlc-child > legend { padding-right: 6.5rem; }
.rlc-form h4 { margin: 1.25rem 0 .5rem; font-size: 1rem; color: var(--rlc-title); }
.rlc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; }
.rlc-field { margin: 0 0 1rem; }
.rlc-field label { display: block; font-weight: 600; margin-bottom: .25rem; }
.rlc-field input, .rlc-field textarea {
	width: 100%;
	padding: .6rem .75rem;
	border: 1px solid var(--rlc-border);
	border-radius: 6px;
	font: inherit;
	background: #fff;
}
.rlc-field input:focus, .rlc-field textarea:focus { outline: 2px solid var(--rlc-accent); outline-offset: 1px; }
.rlc-req { color: var(--rlc-error); }
.rlc-q { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; margin: 0 0 .75rem; }
.rlc-yesno label, .rlc-choices label { margin-right: 1.25rem; cursor: pointer; }
.rlc-choices { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.rlc-sub { margin-left: 1.5rem; padding-left: 1rem; border-left: 3px solid var(--rlc-border); }
.rlc-camps { list-style: none; margin: 0 0 1rem; padding: 0; }
.rlc-camp { padding: .6rem .75rem; border: 1px solid var(--rlc-border); border-radius: 6px; margin-bottom: .5rem; background: var(--rlc-bg); }
.rlc-camp > label { font-weight: 600; cursor: pointer; }
.rlc-camp.is-full { opacity: .6; }
.rlc-night { display: block; margin: .35rem 0 0 1.6rem; font-size: .95rem; cursor: pointer; }
.rlc-night input:disabled + * , .rlc-night:has(input:disabled) { opacity: .55; }
.rlc-badge { display: inline-block; font-style: normal; font-size: .8rem; padding: .05rem .5rem; border-radius: 99px; background: var(--rlc-error); color: #fff; margin-left: .4rem; }
.rlc-badge--warn { background: #c77700; }
.rlc-remove { position: absolute; top: 1.1rem; right: 1rem; z-index: 1; background: none; border: 0; color: var(--rlc-error); cursor: pointer; font-size: .9rem; }
.rlc-hidden { display: none !important; }
.rlc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rlc-btn {
	display: inline-block;
	background: var(--rlc-accent);
	color: var(--rlc-accent-contrast);
	border: 2px solid var(--rlc-accent);
	border-radius: 6px;
	padding: .75rem 1.5rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
}
.rlc-btn:disabled { opacity: .6; cursor: wait; }
.rlc-btn:hover, .rlc-btn:focus { filter: brightness(.95); color: var(--rlc-accent-contrast); }
.rlc-btn--ghost { background: transparent; color: var(--rlc-title); }
.rlc-prices { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.rlc-prices td { padding: .35rem 0; border-bottom: 1px solid var(--rlc-border); }
.rlc-prices td:last-child { text-align: right; white-space: nowrap; }
.rlc-total { font-size: 1.3rem; text-align: right; margin-bottom: .5rem; }
.rlc-muted { color: #5b6672; font-size: .9rem; }
.rlc-consent { background: var(--rlc-bg); padding: 1rem; border-radius: var(--rlc-radius); }
.rlc-notice { padding: 1rem 1.25rem; border-radius: var(--rlc-radius); margin-bottom: 1.5rem; background: var(--rlc-bg); border-left: 4px solid var(--rlc-accent); }
.rlc-notice--error { border-left-color: var(--rlc-error); background: #fdf1f0; }
.rlc-notice--success { border-left-color: var(--rlc-success); background: #eef8f0; }
.rlc-notice ul { margin: .5rem 0 0 1.25rem; }
@media (max-width: 600px) {
	.rlc-form fieldset { padding: 1rem .75rem .25rem; }
	.rlc-sub { margin-left: .5rem; }
}
