@charset "utf-8";
/* Formulaires d'inscription (_inscription.php) — couleurs de la charte Sheva Center :
   orange #FF9E11, crème #F5E5CF, brun-rouge du logo #823b2d, taupe du menu #5d5647 */

.form-sheva {
	--sheva-orange: #FF9E11;
	--sheva-orange-fonce: #e68a00;
	--sheva-creme: #F5E5CF;
	--sheva-brun: #823b2d;
	--sheva-taupe: #5d5647;
	--sheva-bordure: #d9c3a3;
	--sheva-erreur: #b3261e;

	clear: both;
	max-width: 560px;
	margin: 10px auto 30px;
	padding: 24px 28px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: var(--sheva-taupe);
}

.form-sheva .form-sheva-table {
	float: none;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 10px;
}

.form-sheva .form-sheva-table td {
	padding: 0;
	vertical-align: middle;
}

/* Colonne des libellés */
.form-sheva .form-sheva-table td:first-child {
	width: 32%;
	padding-right: 14px;
	text-align: right;
	font-weight: bold;
	color: var(--sheva-brun);
	white-space: nowrap;
}

/* Lignes pleine largeur (conditions d'inscription) */
.form-sheva .form-sheva-table td[colspan] {
	width: auto;
	padding: 0;
	text-align: left;
	font-weight: normal;
	color: var(--sheva-taupe);
	white-space: normal;
}

/* Champs texte, liste des pays, conditions */
.form-sheva input[type="text"],
.form-sheva input[type="email"],
.form-sheva select,
.form-sheva textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--sheva-bordure);
	border-radius: 1px;
	background-color: #fff;
	font-family: inherit;
	font-size: 14px;
	color: #3d372c;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.form-sheva input[type="text"]:hover,
.form-sheva select:hover,
.form-sheva textarea:hover {
	border-color: var(--sheva-orange);
}

.form-sheva input[type="text"]:focus,
.form-sheva select:focus,
.form-sheva textarea:focus {
	outline: none;
	border-color: var(--sheva-orange);
	box-shadow: 0 0 0 3px rgba(255, 158, 17, 0.25);
}

/* Liste des pays : flèche personnalisée aux couleurs du site */
.form-sheva select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 36px;
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23823b2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

.form-sheva select::-ms-expand {
	display: none;
}

/* Texte des conditions (lecture seule) */
.form-sheva textarea {
	min-height: 160px;
	resize: vertical;
	background-color: var(--sheva-creme);
	font-size: 12px;
	line-height: 1.5;
	text-align: left;
}

/* Cases à cocher */
.form-sheva input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0 8px 0 0;
	vertical-align: middle;
	cursor: pointer;
	accent-color: var(--sheva-orange);
}

/* Bouton d'inscription */
.form-sheva input[type="submit"] {
	display: inline-block;
	margin-top: 8px;
	padding: 11px 32px;
	border: none;
	border-radius: 1px;
	background: var(--sheva-taupe);
	color: #fff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.5px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(130, 59, 45, 0.25);
	transition: color 0.15s, transform 0.1s, box-shadow 0.15s;
}

/* Même survol que les liens du menu (#menu a:hover dans style.css) */
.form-sheva input[type="submit"]:hover {
	color: #ffad1e;
	box-shadow: 0 3px 10px rgba(130, 59, 45, 0.35);
}

.form-sheva input[type="submit"]:active {
	transform: translateY(1px);
}

.form-sheva input[type="submit"]:focus-visible {
	outline: 3px solid rgba(255, 158, 17, 0.5);
	outline-offset: 2px;
}

/* Validation Spry : champ obligatoire vide ou e-mail invalide */
.form-sheva .textfieldRequiredState input,
.form-sheva .textfieldInvalidFormatState input,
.form-sheva .checkboxRequiredState input {
	border-color: var(--sheva-erreur);
	background-color: #fdf0ef;
}

.form-sheva .textfieldRequiredState .textfieldRequiredMsg,
.form-sheva .textfieldInvalidFormatState .textfieldInvalidFormatMsg,
.form-sheva .checkboxRequiredState .checkboxRequiredMsg {
	display: block;
	margin-top: 4px;
	padding: 0;
	border: none;
	background: none;
	color: var(--sheva-erreur);
	font-size: 11px;
}

.form-sheva .textfieldValidState input {
	border-color: #6b9e4a;
	background-color: #fff;
}

/* Smartphones : libellés au-dessus des champs */
@media (max-width: 600px) {
	.form-sheva {
		padding: 16px;
	}
	.form-sheva .form-sheva-table,
	.form-sheva .form-sheva-table tbody,
	.form-sheva .form-sheva-table tr,
	.form-sheva .form-sheva-table td {
		display: block;
		width: 100%;
	}
	.form-sheva .form-sheva-table td:first-child {
		padding: 10px 0 4px;
		text-align: left;
	}
	.form-sheva input[type="submit"] {
		width: 100%;
	}
}
