/**
 * Contact form styles.
 *
 * Deliberately mirrors the enrollment form rather than importing it, so the two
 * plugins stay independent — the contact form must keep working if enrollment
 * is ever deactivated out of season. Same design tokens, same visual language.
 */

.tsgs-contact {
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	max-width: 44rem;
}

.tsgs-contact .tsgs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

@media (max-width: 40rem) {
	.tsgs-contact .tsgs-grid {
		grid-template-columns: 1fr;
	}
}

.tsgs-contact .tsgs-field {
	margin: 0 0 1.25rem;
}

.tsgs-contact .tsgs-field label {
	display: block;
	font-weight: bold;
	margin-bottom: 0.25rem;
}

.tsgs-contact input[type="text"],
.tsgs-contact input[type="email"],
.tsgs-contact input[type="tel"],
.tsgs-contact select,
.tsgs-contact textarea {
	width: 100%;
	padding: 0.6rem;
	border: 1px solid #767676;
	border-radius: 2px;
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
	color: #000;
}

.tsgs-contact input:focus,
.tsgs-contact select:focus,
.tsgs-contact textarea:focus,
.tsgs-contact button:focus {
	outline: 3px solid #000;
	outline-offset: 2px;
}

.tsgs-contact [aria-invalid="true"] {
	border-color: #b00000;
	border-width: 2px;
}

.tsgs-contact .tsgs-req {
	color: #b00000;
}

.tsgs-contact .tsgs-hint {
	display: block;
	color: #555;
	font-size: 0.9rem;
	margin-top: 0.25rem;
	font-weight: normal;
}

.tsgs-contact .tsgs-button {
	background: #ffcc00;
	color: #000;
	border: 2px solid #000;
	border-radius: 2px;
	padding: 0.85rem 2rem;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: bold;
	cursor: pointer;
}

.tsgs-contact .tsgs-button:hover {
	background: #000;
	color: #fff;
}

.tsgs-contact .tsgs-submit {
	margin: 1.5rem 0 1rem;
}

.tsgs-contact .tsgs-field-error {
	display: block;
	color: #b00000;
	font-size: 0.9rem;
	font-weight: bold;
	margin-top: 0.25rem;
}

.tsgs-contact .tsgs-error-summary {
	border: 2px solid #b00000;
	background: #fff5f5;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
}

.tsgs-contact .tsgs-error-summary h3 {
	margin-top: 0;
}

.tsgs-contact .tsgs-success {
	background: #f0f7f0;
	border-left: 4px solid #2e7d32;
	padding: 1rem 1.25rem;
	font-weight: bold;
}

.tsgs-contact .tsgs-notice {
	background: #fff5d6;
	border-left: 4px solid #ffcc00;
	padding: 1rem 1.25rem;
}

/* Hidden from people, reachable by bots that fill every field. */
.tsgs-contact .tsgs-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
