/**
 * AIFORYA Booking Clinics — widget public de réservation.
 * Autonome (n'hérite pas du thème), sobre, mobile-first, accessible.
 */
.aiforya-clinics-booking {
	--acl-accent: #3858e9;
	--acl-radius: 12px;
	max-width: 720px;
	margin: 0 auto;
	font-family: inherit;
	color: inherit;
}
.aiforya-clinics-booking * { box-sizing: border-box; }

.aclb-steps {
	display: flex;
	gap: 6px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}
.aclb-step {
	flex: 1;
	min-width: 60px;
	height: 4px;
	border-radius: 999px;
	background: rgba( 120, 120, 140, 0.25 );
}
.aclb-step.is-active { background: var( --acl-accent ); }

.aclb-card {
	border: 1px solid rgba( 120, 120, 140, 0.2 );
	border-radius: var( --acl-radius );
	padding: 18px;
	margin-bottom: 14px;
}
.aclb-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 12px; }

.aclb-list { display: grid; gap: 10px; }
.aclb-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	text-align: left;
	border: 1px solid rgba( 120, 120, 140, 0.25 );
	border-radius: 10px;
	padding: 12px 14px;
	background: transparent;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
	color: inherit;
	font: inherit;
}
.aclb-option:hover,
.aclb-option:focus-visible { border-color: var( --acl-accent ); background: rgba( 56, 88, 233, 0.06 ); outline: none; }
.aclb-option.is-selected { border-color: var( --acl-accent ); background: rgba( 56, 88, 233, 0.1 ); }
.aclb-option__meta { font-size: 0.85rem; opacity: 0.75; }
.aclb-option__badge {
	font-size: 0.72rem;
	font-weight: 700;
	color: var( --acl-accent );
	border: 1px solid var( --acl-accent );
	border-radius: 999px;
	padding: 2px 8px;
	white-space: nowrap;
}

.aclb-orient { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.aclb-orient textarea {
	width: 100%;
	min-height: 72px;
	border-radius: 10px;
	border: 1px solid rgba( 120, 120, 140, 0.3 );
	padding: 10px 12px;
	font: inherit;
	resize: vertical;
}

.aclb-days { display: flex; flex-direction: column; gap: 12px; }
.aclb-day__label { font-weight: 600; margin-bottom: 6px; text-transform: capitalize; }
.aclb-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.aclb-slot {
	border: 1px solid rgba( 120, 120, 140, 0.3 );
	border-radius: 8px;
	padding: 8px 12px;
	background: transparent;
	cursor: pointer;
	font: inherit;
	color: inherit;
	font-variant-numeric: tabular-nums;
}
.aclb-slot:hover,
.aclb-slot.is-selected { border-color: var( --acl-accent ); background: rgba( 56, 88, 233, 0.1 ); }

.aclb-field { margin-bottom: 12px; }
.aclb-field label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 0.9rem; }
.aclb-field input, .aclb-field textarea {
	width: 100%;
	border-radius: 8px;
	border: 1px solid rgba( 120, 120, 140, 0.3 );
	padding: 10px 12px;
	font: inherit;
}
.aclb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media ( max-width: 480px ) { .aclb-grid-2 { grid-template-columns: 1fr; } }
.aclb-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.88rem; }

.aclb-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.aclb-btn {
	border: none;
	border-radius: 999px;
	padding: 11px 22px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	background: var( --acl-accent );
	color: #fff;
}
.aclb-btn:disabled { opacity: 0.55; cursor: default; }
.aclb-btn--ghost { background: transparent; color: inherit; border: 1px solid rgba( 120, 120, 140, 0.35 ); }

.aclb-message { border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; font-size: 0.9rem; }
.aclb-message--error { background: rgba( 214, 69, 69, 0.12 ); }
.aclb-message--success { background: rgba( 34, 160, 107, 0.14 ); }

.aclb-loading { opacity: 0.6; }
.aclb-empty { opacity: 0.7; font-size: 0.9rem; padding: 8px 0; }
