/**
 * Scholarship application form styles.
 *
 * Mirrors the contact and enrollment forms rather than importing either, so the
 * three plugins stay independent — this form must keep working if the others
 * are deactivated between seasons. Same design tokens, same visual language.
 */

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

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

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

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

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

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

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

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

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

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

/* The yes/no question. Matches the enrollment form's returning-student field. */
.tsgs-scholarship .tsgs-inline-choice {
	border: 0;
	padding: 0;
	margin: 0 0 1.25rem;
}

.tsgs-scholarship .tsgs-inline-choice legend {
	font-weight: bold;
	margin-bottom: 0.4rem;
	padding: 0;
}

.tsgs-scholarship .tsgs-inline-choice label {
	display: inline-block;
	margin-right: 1.25rem;
	font-weight: normal;
}

.tsgs-scholarship .tsgs-inline-choice input {
	margin-right: 0.35rem;
}

.tsgs-scholarship .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-scholarship .tsgs-button:hover {
	background: #000;
	color: #fff;
}

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

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

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

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

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

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

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