/* Rétractation Vente — styles de base (structure).
   Les couleurs et typographies sont injectées dynamiquement depuis les réglages. */

.rv-form-wrapper {
	max-width: 560px;
	margin: 0 auto;
	padding: 24px;
	border-radius: 10px;
	box-sizing: border-box;
}

.rv-form .rv-field {
	margin-bottom: 18px;
}

.rv-form .rv-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.rv-form input[type="text"],
.rv-form input[type="email"],
.rv-form textarea {
	width: 100%;
	padding: 10px 12px;
	border-radius: 6px;
	box-sizing: border-box;
	transition: none !important;
}

.rv-form textarea {
	resize: vertical;
}

.rv-required {
	color: #dc2626;
}

/* Case à cocher RGPD */
.rv-field-checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	cursor: pointer;
}

.rv-field-checkbox input[type="checkbox"] {
	margin-top: 3px;
	flex: 0 0 auto;
}

.rv-field-checkbox a {
	text-decoration: underline;
}

/* Bouton — pas d'effet, structure uniquement.
   Couleurs et neutralisation des états gérées dans le CSS dynamique. */
.rv-button {
	display: inline-block;
	border: none;
	padding: 12px 22px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.rv-field-submit {
	margin-top: 8px;
}

/* Honeypot : champ masqué aux humains */
.rv-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Alertes */
.rv-alert {
	padding: 14px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 15px;
}

.rv-alert-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.rv-alert-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.rv-alert ul {
	margin: 0;
	padding-left: 18px;
}
