/**
 * Public form styles.
 *
 * Falls back to brand values when the Honest Conversations theme is not
 * active, so the forms stay usable on any theme.
 */

.hc-form { margin: 0; }

/* Honeypot: hidden from people, still reachable by bots. */
.hc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hc-form-message {
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: .92rem;
	line-height: 1.6;
}

.hc-form-message--success {
	background: rgba(74, 184, 102, .12);
	border-left: 3px solid #4ab866;
	color: var(--hc-cream, #2c3e2f);
}

.hc-form-message--error {
	background: rgba(214, 54, 56, .12);
	border-left: 3px solid #d63638;
	color: var(--hc-cream, #6b2224);
}

.hc-form-message--notice {
	background: rgba(197, 164, 129, .16);
	border-left: 3px solid var(--hc-gold, #C5A481);
	color: var(--hc-cream, #5a4632);
}

/* Grid fallback when the theme is absent. */
.hc-form .hc-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.hc-form .hc-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.hc-form .hc-field--full { grid-column: 1 / -1; }

.hc-form .hc-field label {
	font-size: .66rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--hc-gold, #A8855F);
}

.hc-form .hc-field input,
.hc-form .hc-field select,
.hc-form .hc-field textarea {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(197, 164, 129, .35);
	border-radius: 8px;
	padding: 11px 14px;
	color: inherit;
	font: inherit;
	font-size: .92rem;
	width: 100%;
}

.hc-form .hc-field select option { color: #000; }

.hc-form .hc-field input:focus,
.hc-form .hc-field select:focus,
.hc-form .hc-field textarea:focus {
	outline: none;
	border-color: var(--hc-gold, #C5A481);
	box-shadow: 0 0 0 3px rgba(197, 164, 129, .2);
}

.hc-form .hc-consent {
	grid-column: 1 / -1;
	background: rgba(197, 164, 129, .1);
	border: 1px solid rgba(197, 164, 129, .4);
	border-radius: 10px;
	padding: 16px 18px;
}

.hc-form .hc-consent label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: .84rem;
	line-height: 1.6;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	color: inherit;
}

.hc-form .hc-consent input[type="checkbox"] {
	margin-top: 4px;
	width: 18px;
	height: 18px;
	flex: none;
	accent-color: var(--hc-gold, #C5A481);
}

.hc-form .hc-notify { display: flex; gap: 10px; }

.hc-form .hc-notify input {
	flex: 1;
	background: #fff;
	border: 1px solid var(--hc-stone, #DDD1C8);
	border-radius: 8px;
	padding: 11px 14px;
	font: inherit;
	font-size: .9rem;
	color: var(--hc-eggplant, #301E33);
}

.hc-form .hc-notify button {
	background: var(--hc-eggplant, #301E33);
	color: var(--hc-cream, #EBE4DD);
	border: none;
	border-radius: 8px;
	padding: 0 22px;
	font: inherit;
	font-size: .66rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	cursor: pointer;
}

.hc-form .hc-notify button:hover { background: var(--hc-royal, #482E4F); }

.hc-form .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

@media (max-width: 680px) {
	.hc-form .hc-form-grid { grid-template-columns: 1fr; }
	.hc-form .hc-notify { flex-direction: column; }
}

/* General contact form */
.hc-form__heading {
	font-family: var(--hc-font-display, Georgia, serif);
	font-size: 1.6rem;
	margin-bottom: 6px;
}

.hc-form__intro {
	margin-bottom: 20px;
	opacity: .9;
}

.hc-form--contact .hc-field textarea { min-height: 150px; }
