/**
 * Only what the theme does not already style: the confirmation, the error, and
 * the honeypot that has to be invisible without being display:none (some bots
 * skip fields that are hidden that way, which defeats the point).
 */

.consult-form-done {
	border: 1px solid var(--stone, #e4d9c4);
	border-left: 4px solid var(--clay, #9c5031);
	background: var(--white, #fff);
	border-radius: 6px;
	padding: 22px 24px;
}

.consult-form-done h3 {
	margin: 0 0 6px;
	font-size: 1.15rem;
	color: var(--ink, #2b1b10);
}

.consult-form-done p {
	margin: 0;
	color: #5a4432;
}

.consult-form-error {
	border-radius: 6px;
	background: #fcf0d4;
	color: #7a5c00;
	padding: 12px 14px;
	margin-bottom: 16px;
	font-weight: 600;
}

/* Out of sight and out of the tab order, but still a real field on the page. */
.form-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.consult-form .form-note {
	display: block;
	font-size: 0.82rem;
	color: #7a6a58;
	margin: 6px 0 0;
}

/* The theme's .btn/.btn-primary classes style `.btn .wp-block-button__link`,
   which only exists inside a core Button block. A real <button> element gets
   nothing from them, so the submit is styled here to match: same padding,
   radius, weight and colour as a primary button elsewhere on the site. */
.consult-form .consult-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin-top: 8px;
	padding: 14px 28px;
	border: 1px solid var(--clay, #9c5031);
	border-radius: 2px;
	background: var(--clay, #9c5031);
	color: var(--white, #fff);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.consult-form .consult-submit:hover {
	background: var(--clay-dark, #7e3f26);
	transform: translateY(-1px);
}

.consult-form .consult-submit:focus-visible {
	outline: 2px solid var(--ink, #2b1b10);
	outline-offset: 2px;
}

/* A select is shorter than a text input by default; a file input shorter
   still. Both are things to tap. */
.consult-form .form-field select,
.consult-form .form-field input[type="file"] {
	min-height: 48px;
}

.consult-form .form-field input[type="file"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--stone, #e4d9c4);
	border-radius: 2px;
	background: var(--white, #fff);
	font-family: inherit;
	font-size: 0.92rem;
}

/* The full address, with Sundial Address (inc/address.php): the boxes take
   the theme's field styles (.form-field); here only the spacing between
   them matches the form's rows and the "(optional)" matches the other
   fields. */
.consult-form .consult-address .sa-row {
	column-gap: 18px;
}

.consult-form .consult-address .sa-optional {
	font-weight: 400;
	color: #8a7660;
	font-size: 0.8rem;
	opacity: 1;
}

/* The theme makes a text box 50px and a list 48px; in the address rows they
   sit side by side, so both are 50px. */
.consult-form .consult-address input[type="text"],
.consult-form .consult-address select {
	height: 50px;
	min-height: 50px;
}
