/* Formulaire de prise de rendez-vous — design system Gohealt (v2). */
.gohealt-rdv-form{
	width:100%;max-width:none;box-sizing:border-box;
	background:var(--wp--preset--color--surface,#fff);
	border:1px solid var(--wp--preset--color--line,#D3E6DD);
	border-radius:22px;
	padding:clamp(1.35rem,1.1rem + 1.6vw,2.1rem)!important;
	box-shadow:0 14px 38px rgba(6,78,59,.08);
}
.gohealt-rdv-form > *:first-child{margin-top:0}

.gohealt-rdv-row{margin:0 0 1.15rem}
.gohealt-rdv-row:last-child{margin-bottom:0}
.gohealt-rdv-row label{
	display:block;font-weight:600;font-size:.9rem;letter-spacing:.01em;
	margin-bottom:.4rem;color:var(--wp--preset--color--ink,#0A1512);
}

.gohealt-rdv-row input,
.gohealt-rdv-row select,
.gohealt-rdv-row textarea{
	width:100%;box-sizing:border-box;font:inherit;font-size:1rem;
	min-height:52px;padding:.75rem 1rem;
	border:1.5px solid var(--wp--preset--color--border-strong,#9BB3AB);
	border-radius:14px;background:#fff;color:var(--wp--preset--color--ink,#0A1512);
	transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.gohealt-rdv-row textarea{min-height:110px;resize:vertical;line-height:1.5}

/* Menu déroulant : flèche personnalisée, aspect cohérent */
.gohealt-rdv-row select{
	appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;padding-right:2.6rem;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064E3B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat:no-repeat;background-position:right 1rem center;background-size:18px;
}

.gohealt-rdv-row input:hover,
.gohealt-rdv-row select:hover,
.gohealt-rdv-row textarea:hover{border-color:var(--wp--preset--color--brand,#10B981)}
.gohealt-rdv-row input:focus,
.gohealt-rdv-row select:focus,
.gohealt-rdv-row textarea:focus{
	outline:none;border-color:var(--wp--preset--color--brand-strong,#097A55);
	box-shadow:0 0 0 4px rgba(9,122,85,.16);
}
.gohealt-rdv-row select:disabled{
	opacity:.6;cursor:not-allowed;
	background-color:var(--wp--preset--color--mist,#EAF5F0);
}

/* Consentement RGPD — encadré discret */
.gohealt-rdv-consent{
	background:var(--wp--preset--color--mist,#EFF7F3);
	border:1px solid var(--wp--preset--color--line,#D3E6DD);
	border-radius:12px;padding:.85rem 1rem;
}
.gohealt-rdv-consent label{
	display:flex;gap:.65rem;align-items:flex-start;
	font-weight:400;font-size:.9rem;line-height:1.45;margin:0;
	color:var(--wp--preset--color--ink-muted,#46615A);
}
.gohealt-rdv-consent input[type=checkbox]{
	width:20px;height:20px;flex:none;margin:.05rem 0 0;
	accent-color:var(--wp--preset--color--brand-strong,#097A55);cursor:pointer;
}

/* Bouton d'envoi */
.gohealt-rdv-submit{
	font:inherit;font-weight:700;font-size:1.02rem;cursor:pointer;border:0;width:100%;
	background:var(--wp--preset--color--brand,#10B981);color:var(--wp--preset--color--ink,#0A1512);
	padding:.95rem 1.6rem;border-radius:999px;
	box-shadow:0 12px 26px rgba(16,185,129,.28);
	transition:transform .12s ease,box-shadow .15s ease,background .15s ease;
}
.gohealt-rdv-submit:hover{background:var(--wp--preset--color--brand-hover,#0EA372);transform:translateY(-1px)}
.gohealt-rdv-submit:active{transform:translateY(0)}
.gohealt-rdv-submit:focus-visible{outline:3px solid var(--wp--preset--color--brand-strong,#097A55);outline-offset:2px}

/* Messages de retour */
.gohealt-rdv-notice{
	border-radius:14px;padding:.95rem 1.15rem;margin-bottom:1.3rem;font-weight:600;
	border-left:4px solid transparent;
}
.gohealt-rdv-notice--ok{background:var(--wp--preset--color--brand-tint,#D8F5E8);color:var(--wp--preset--color--brand-strong,#097A55);border-left-color:var(--wp--preset--color--brand,#10B981)}
.gohealt-rdv-notice--err{background:#F7E1DD;color:var(--wp--preset--color--garde,#C23A2B);border-left-color:#C23A2B}

@media(min-width:640px){
	.gohealt-rdv-submit{width:auto;min-width:250px}
}
