/**
 * Appointment request form.
 *
 * Layout only — colours and typography come from the theme.
 */

.efy-form {
	max-width: 720px;
	margin: 2rem 0;
}

.efy-form__row {
	display: grid;
	gap: 0 1.25rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.efy-form__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.efy-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0 0 1.25rem;
}

.efy-form__field label {
	font-weight: 600;
}

.efy-form__field input,
.efy-form__field select,
.efy-form__field textarea {
	width: 100%;
	padding: 0.65em 0.8em;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	font: inherit;
	background: #fff;
}

.efy-form__field input:focus-visible,
.efy-form__field select:focus-visible,
.efy-form__field textarea:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 1px;
}

.efy-form__field [aria-invalid="true"] {
	border-color: #b32d2e;
}

.efy-form__error {
	color: #b32d2e;
	font-size: 0.875rem;
}

.efy-form__check {
	display: block;
	margin: 0 0 1rem;
}

.efy-form__check label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	line-height: 1.45;
}

.efy-form__check input {
	margin-top: 0.25rem;
	flex: 0 0 auto;
}

.efy-form__notice {
	padding: 0.9rem 1.1rem;
	border-radius: 4px;
	margin: 0 0 1.5rem;
	border-left: 4px solid;
}

.efy-form__notice p {
	margin: 0;
}

.efy-form__notice--success {
	border-color: #1a7f45;
	background: rgba(26, 127, 69, 0.08);
}

.efy-form__notice--error {
	border-color: #b32d2e;
	background: rgba(179, 45, 46, 0.08);
}

.efy-form__actions {
	margin: 1.5rem 0 0;
}

.efy-form__submit {
	padding: 0.8em 2em;
	border: 0;
	border-radius: 4px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.efy-form__note {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	opacity: 0.75;
}

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.efy-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
