/**
 * Public submission form styles.
 */

.hc-sub { margin: 0; }

.hc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px; overflow: hidden;
}

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

.hc-sub__message--error {
	background: rgba(214, 54, 56, .14);
	border-left: 3px solid #d63638;
}

.hc-sub--closed {
	text-align: center;
	padding: 30px 20px;
	border: 1px dashed var(--hc-mauve, #715565);
	border-radius: 14px;
}

.hc-sub__adminhint {
	margin-top: 14px;
	font-size: .78rem;
	opacity: .75;
	font-style: italic;
}

/* Gate and consent blocks */
.hc-sub__gate,
.hc-sub__credit {
	border: 1px solid rgba(197, 164, 129, .45);
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 22px;
	background: rgba(197, 164, 129, .08);
}

.hc-sub__gate legend,
.hc-sub__credit legend {
	font-size: .66rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--hc-gold, #A8855F);
	padding: 0 8px;
}

.hc-sub__consent { display: grid; gap: 12px; margin: 22px 0; }

.hc-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: .86rem;
	line-height: 1.65;
	cursor: pointer;
	padding: 12px 14px;
	border-radius: 8px;
	background: rgba(197, 164, 129, .08);
	border: 1px solid rgba(197, 164, 129, .3);
}

.hc-check--optional { background: transparent; border-style: dashed; }

.hc-check input[type="checkbox"],
.hc-check input[type="radio"] {
	margin-top: 3px;
	width: 20px;
	height: 20px;
	flex: none;
	accent-color: var(--hc-gold, #C5A481);
}

.hc-req { color: var(--hc-gold, #C5A481); }

.hc-sub__credit .hc-check { background: transparent; border: none; padding: 8px 0; }

/* Fields */
.hc-sub .hc-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 20px;
}

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

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

.hc-sub .hc-field input,
.hc-sub .hc-field select,
.hc-sub .hc-field textarea {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(197, 164, 129, .35);
	border-radius: 8px;
	padding: 13px 14px;
	color: inherit;
	font: inherit;
	/* 16px minimum: iOS Safari zooms the page on focus below this. */
	font-size: 16px;
	min-height: 48px;
	width: 100%;
}

.hc-sub .hc-field textarea { min-height: 220px; line-height: 1.7; resize: vertical; }
.hc-sub .hc-field select option { color: #000; }

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

.hc-field__hint { font-size: .76rem; opacity: .8; }

.hc-sub__actions { margin: 24px 0 14px; }
.hc-sub__note { font-size: .78rem; opacity: .85; text-align: center; }

/* Care note — always visible, never dismissible. */
.hc-sub__care {
	margin-top: 22px;
	padding: 16px 18px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .07);
	border-left: 3px solid var(--hc-gold, #C5A481);
	font-size: .84rem;
	line-height: 1.7;
}

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