/**
 * Styles pour les formulaires publics de demande de réservation
 * ([demande_salle_particulier] et [demande_salle_association]).
 * Volontairement simples et lisibles : le public visé inclut des
 * personnes peu à l'aise avec Internet.
 */

.psv-demande-form-wrap {
	max-width: 640px;
	margin: 0 auto;
}

.psv-demande-info {
	background: #f5f7fa;
	border: 1px solid #dde3ea;
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 24px;
}

.psv-demande-info h3 {
	margin-top: 0;
}

.psv-demande-notice-info {
	font-style: italic;
	color: #44505c;
}

.psv-demande-notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 20px;
	font-weight: 600;
}

.psv-demande-success {
	background: #e6f4ea;
	border: 1px solid #b7dfc3;
	color: #1e4620;
}

.psv-demande-error {
	background: #fdecea;
	border: 1px solid #f5c2bd;
	color: #611a15;
}

.psv-demande-form {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.psv-demande-form label {
	font-weight: 600;
	margin-top: 12px;
}

.psv-demande-form input[type="text"],
.psv-demande-form input[type="email"],
.psv-demande-form input[type="tel"],
.psv-demande-form input[type="date"],
.psv-demande-form input[type="time"],
.psv-demande-form input[type="file"],
.psv-demande-form select,
.psv-demande-form textarea {
	padding: 10px;
	border: 1px solid #c7cdd4;
	border-radius: 4px;
	font-size: 1rem;
	width: 100%;
	box-sizing: border-box;
}

.psv-demande-form textarea {
	resize: vertical;
}

.psv-form-row {
	display: flex;
	gap: 16px;
}

.psv-form-row > div {
	flex: 1;
}

.psv-radio-group {
	border: 1px solid #c7cdd4;
	border-radius: 4px;
	padding: 12px 16px;
	margin-top: 16px;
}

.psv-radio-group legend {
	font-weight: 600;
	padding: 0 6px;
}

.psv-radio-group label {
	display: block;
	font-weight: 400;
	margin-top: 8px;
}

.psv-toggle-section {
	border-left: 3px solid #c7cdd4;
	padding-left: 16px;
	margin-top: 12px;
}

.psv-logistics-detail {
	border-left: 3px solid #c7cdd4;
	padding-left: 16px;
	margin-top: 12px;
}

.psv-logistics-detail[hidden] {
	display: none;
}

.psv-form-hint {
	font-weight: 600;
	margin: 4px 0;
}

.psv-checkbox-inline {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	font-weight: 400 !important;
	margin: 6px 16px 6px 0 !important;
}

.psv-checkbox-inline input[type="checkbox"] {
	width: auto;
}

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

.psv-btn {
	margin-top: 20px;
	padding: 12px 24px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	align-self: flex-start;
}

.psv-btn-primary {
	background: #1a5fb4;
	color: #fff;
}

.psv-btn-primary:hover {
	background: #144785;
}

/* Case à cocher seule sur sa ligne (ex. « Répéter chaque semaine »). */
.psv-demande-form .psv-checkbox-standalone {
	margin-top: 16px !important;
	font-weight: 600 !important;
}

.psv-demande-form input[type="password"] {
	padding: 10px;
	border: 1px solid #c7cdd4;
	border-radius: 4px;
	font-size: 1rem;
	width: 100%;
	box-sizing: border-box;
}

.psv-form-hint-muted {
	font-weight: 400;
	font-size: 0.9em;
	color: #5b6672;
	margin: 4px 0;
}
