/* Escola admissions form.
   Inherits the theme's fonts and colours on purpose - no web fonts are loaded,
   and the container reserves height so adding the form causes no layout shift. */

.escola-adm-wrap {
	min-height: 420px;
	max-width: 860px;
	margin: 0 auto;
}

.escola-adm-form .escola-group {
	border: 1px solid rgba( 0, 0, 0, 0.12 );
	border-radius: 8px;
	padding: 1.25rem 1.25rem 0.5rem;
	margin: 0 0 1.25rem;
}

.escola-adm-form legend {
	font-weight: 600;
	padding: 0 0.5rem;
	font-size: 1rem;
}

.escola-adm-form .escola-field {
	display: flex;
	flex-direction: column;
	margin: 0 0 1rem;
}

.escola-adm-form label {
	font-size: 0.9rem;
	margin-bottom: 0.3rem;
	font-weight: 500;
}

.escola-adm-form input[type="text"],
.escola-adm-form input[type="tel"],
.escola-adm-form input[type="email"],
.escola-adm-form input[type="date"],
.escola-adm-form select,
.escola-adm-form textarea {
	width: 100%;
	padding: 0.6rem 0.7rem;
	border: 1px solid rgba( 0, 0, 0, 0.25 );
	border-radius: 6px;
	font: inherit;
	background: #fff;
	box-sizing: border-box;
}

.escola-adm-form input:focus,
.escola-adm-form select:focus,
.escola-adm-form textarea:focus {
	outline: 2px solid #0b6b3a;
	outline-offset: 1px;
}

.escola-req {
	color: #b3261e;
}

.escola-error {
	color: #b3261e;
	font-size: 0.82rem;
	margin-top: 0.25rem;
	min-height: 1em;
}

.escola-has-error input,
.escola-has-error select,
.escola-has-error textarea {
	border-color: #b3261e;
}

.escola-check {
	margin: 0 0 1rem;
	font-size: 0.9rem;
}

.escola-check label {
	display: inline;
	font-size: inherit;
	font-weight: normal;
	cursor: pointer;
}

.escola-button {
	display: inline-block;
	padding: 0.85rem 1.6rem;
	border: 0;
	border-radius: 6px;
	background: #0b6b3a;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	font-size: 1rem;
	transition: background 0.15s ease-in-out;
}

.escola-button:hover {
	background: #08552e;
}

.escola-button:disabled {
	opacity: 0.6;
	cursor: progress;
}

.escola-form-message {
	margin-top: 0.75rem;
	font-size: 0.92rem;
	min-height: 1.2em;
}

.escola-form-message.is-error {
	color: #b3261e;
}

.escola-done {
	padding: 1.75rem;
	border: 1px solid #0b6b3a;
	background: #f4faf6;
	border-radius: 8px;
}

.escola-done h3 {
	margin-top: 0;
	color: #0b6b3a;
}

.escola-done .escola-ref {
	font-size: 1.15rem;
	color: #0b6b3a;
	background: #e3f5eb;
	padding: 0.6rem 0.9rem;
	border-radius: 6px;
	display: inline-block;
	margin: 0.75rem 0;
}

.escola-done .escola-lead-id {
	font-size: 0.9rem;
	color: #555;
	font-weight: normal;
}

/* Honeypot */
.escola-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.escola-grid-2,
.escola-grid-3 {
	display: flex;
	flex-direction: column;
}

@media ( min-width: 650px ) {
	.escola-grid-2 {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 1.25rem;
	}

	.escola-grid-3 {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 0 1.25rem;
	}
}

/* --- Application Fee Section (Mobile First) --- */
.escola-fee-group {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.escola-fee-card {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
}

.escola-fee-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px dashed #e2e8f0;
}

.escola-fee-tag {
	display: inline-block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	color: #0b6b3a;
	background: #e8f5e9;
	padding: 0.25rem 0.65rem;
	border-radius: 4px;
}

.escola-fee-price {
	font-size: 1.65rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.escola-fee-price-sub {
	font-size: 1.1rem;
	font-weight: 600;
	color: #64748b;
}

.escola-fee-instruction {
	margin: 0.25rem 0 0.85rem;
	font-size: 0.95rem;
	color: #1e293b;
	line-height: 1.45;
}

/* UPI ID Box */
.escola-upi-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 0.85rem 1rem;
	margin-bottom: 0.85rem;
}

.escola-upi-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 0.35rem;
}

.escola-upi-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 0.35rem 0.5rem 0.35rem 0.75rem;
}

.escola-upi-id {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	user-select: all;
	word-break: break-all;
}

.escola-copy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0.4rem 0.85rem;
	background: #e2e8f0;
	color: #0f172a;
	border: 0;
	border-radius: 5px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.15s ease-in-out;
}

.escola-copy-btn:hover {
	background: #cbd5e1;
}

.escola-copy-btn.is-copied {
	background: #0b6b3a !important;
	color: #ffffff !important;
}

.escola-upi-meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin-top: 0.5rem;
	font-size: 0.82rem;
	color: #475569;
	line-height: 1.4;
}

.escola-upi-meta-name strong {
	color: #0f172a;
}

.escola-upi-meta-bank {
	color: #64748b;
}

/* QR Code Pane */
.escola-qr-pane {
	display: flex;
	align-items: center;
	justify-content: center;
}

.escola-qr-card-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 0.85rem;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
	text-align: center;
	max-width: 270px;
	width: 100%;
	box-sizing: border-box;
}

.escola-qr-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 0 auto;
}

.escola-qr-subtext {
	font-size: 0.82rem;
	font-weight: 700;
	color: #1e40af;
	margin-top: 0.6rem;
	letter-spacing: 0.02em;
}

/* Warning Box */
.escola-fee-warning {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-left: 4px solid #d97706;
	border-radius: 6px;
	padding: 0.85rem 1rem;
	margin: 1.15rem 0 1.25rem;
}

.escola-warning-icon {
	color: #d97706;
	flex-shrink: 0;
	margin-top: 2px;
}

.escola-warning-body {
	font-size: 0.9rem;
	line-height: 1.45;
	color: #92400e;
}

.escola-warning-body strong {
	color: #78350f;
	margin-right: 0.25rem;
}

.escola-fee-ack {
	font-size: 0.88rem;
	color: #334155;
	margin: 0.5rem 0 0.5rem;
	font-weight: 500;
}

/* Responsive (Tablet & Desktop) */
@media ( min-width: 650px ) {
	.escola-fee-card {
		display: grid;
		grid-template-columns: 1.35fr 1fr;
		gap: 1.5rem;
		align-items: center;
	}

}

/* --- theme guard --- */
.escola-adm-wrap button.escola-button {
	text-decoration: none;
	box-shadow: none;
	border: 0;
}

.escola-adm-wrap button.escola-button:hover,
.escola-adm-wrap button.escola-button:focus {
	text-decoration: none;
	color: #fff;
}

.escola-adm-wrap input[type="text"],
.escola-adm-wrap input[type="tel"],
.escola-adm-wrap input[type="email"],
.escola-adm-wrap input[type="date"],
.escola-adm-wrap select,
.escola-adm-wrap textarea {
	box-shadow: none;
	margin: 0;
	max-width: 100%;
}

.escola-adm-wrap p {
	line-height: 1.55;
}

/* --- Parent-first form experience ---
   These presentation rules deliberately do not alter the form fields or payment
   content. They make a longer application easier to scan and complete on a phone. */
.escola-adm-wrap {
	max-width: 900px;
	padding: 0 0.25rem;
	color: #1f2937;
}

.escola-adm-form {
	counter-reset: admission-section;
}

.escola-adm-form .escola-group {
	position: relative;
	margin: 0 0 1rem;
	padding: 1.15rem 1rem 0.35rem;
	border: 1px solid #dbe4e1;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 8px rgba( 15, 52, 38, 0.05 );
	counter-increment: admission-section;
}

.escola-adm-form legend {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	max-width: calc( 100% - 0.5rem );
	padding: 0 0.45rem;
	color: #174c35;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.35;
}

.escola-adm-form legend::before {
	display: inline-grid;
	flex: 0 0 auto;
	width: 1.55rem;
	height: 1.55rem;
	place-items: center;
	border-radius: 50%;
	background: #e7f3ec;
	color: #0b6b3a;
	content: counter( admission-section );
	font-size: 0.78rem;
	font-weight: 800;
}

.escola-adm-form .escola-field {
	margin: 0 0 1.1rem;
}

.escola-adm-form label {
	margin-bottom: 0.42rem;
	color: #344054;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.35;
}

.escola-adm-form input[type="text"],
.escola-adm-form input[type="tel"],
.escola-adm-form input[type="email"],
.escola-adm-form input[type="date"],
.escola-adm-form select,
.escola-adm-form textarea {
	min-height: 48px;
	padding: 0.7rem 0.8rem;
	border: 1px solid #b9c7c0;
	border-radius: 9px;
	color: #17221d;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.escola-adm-form textarea {
	min-height: 112px;
	resize: vertical;
}

.escola-adm-form input::placeholder,
.escola-adm-form textarea::placeholder {
	color: #748178;
	opacity: 1;
}

.escola-adm-form input:hover,
.escola-adm-form select:hover,
.escola-adm-form textarea:hover {
	border-color: #719782;
}

.escola-adm-form input:focus,
.escola-adm-form select:focus,
.escola-adm-form textarea:focus {
	border-color: #0b6b3a;
	outline: 0;
	box-shadow: 0 0 0 3px rgba( 11, 107, 58, 0.17 );
}

.escola-adm-form .escola-check {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	margin: 0.25rem 0 1.25rem;
	padding: 0.85rem 0.9rem;
	border-radius: 10px;
	background: #f5f8f6;
	color: #344054;
	line-height: 1.45;
}

.escola-adm-form .escola-check input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.12rem 0 0;
	accent-color: #0b6b3a;
}

.escola-adm-form .escola-check label {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 500;
}

.escola-adm-form .escola-has-error input,
.escola-adm-form .escola-has-error select,
.escola-adm-form .escola-has-error textarea {
	border-color: #b3261e;
	box-shadow: 0 0 0 3px rgba( 179, 38, 30, 0.12 );
}

.escola-adm-form .escola-error {
	margin-top: 0.35rem;
	font-size: 0.84rem;
	font-weight: 600;
}

.escola-adm-form .escola-submit {
	margin: 1.5rem 0 0.75rem;
}

.escola-adm-wrap button.escola-button {
	width: 100%;
	min-height: 52px;
	padding: 0.85rem 1.25rem;
	border-radius: 10px;
	background: linear-gradient( 135deg, #0b6b3a, #07562e );
	box-shadow: 0 4px 12px rgba( 11, 107, 58, 0.22 );
	font-size: 1rem;
	letter-spacing: 0.01em;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.escola-adm-wrap button.escola-button:hover,
.escola-adm-wrap button.escola-button:focus-visible {
	background: linear-gradient( 135deg, #08552e, #064022 );
	box-shadow: 0 6px 16px rgba( 11, 107, 58, 0.28 );
	transform: translateY( -1px );
}

.escola-adm-wrap button.escola-button:focus-visible,
.escola-adm-wrap .escola-copy-btn:focus-visible {
	outline: 3px solid #174c35;
	outline-offset: 3px;
}

.escola-form-message {
	padding: 0.25rem 0;
	font-weight: 600;
}

.escola-form-message.is-error {
	padding: 0.8rem 0.95rem;
	border-radius: 9px;
	background: #fff1f0;
	color: #a61b15;
}

.escola-done {
	border: 1px solid #9acdb0;
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba( 11, 107, 58, 0.08 );
}

@media ( min-width: 650px ) {
	.escola-adm-wrap {
		padding: 0;
	}

	.escola-adm-form .escola-group {
		padding: 1.35rem 1.4rem 0.45rem;
		margin-bottom: 1.25rem;
	}

	.escola-adm-wrap button.escola-button {
		width: auto;
		min-width: 260px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.escola-adm-form input,
	.escola-adm-form select,
	.escola-adm-form textarea,
	.escola-adm-wrap button.escola-button {
		transition: none;
	}
}

/* Match the quieter, document-style layout used by the careers application. */
.escola-adm-wrap {
	max-width: 820px;
	padding: 0;
	color: #333;
}

.escola-adm-form .escola-group {
	border: 0;
	border-top: 1px solid #e4e4e4;
	border-radius: 0;
	box-shadow: none;
	padding: 1.5rem 0 0.5rem;
	margin: 0 0 1.25rem;
	background: transparent;
}

.escola-adm-form .escola-group:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.escola-adm-form legend {
	display: block;
	padding: 0;
	margin-bottom: 1rem;
	color: #333;
	font-size: 1.02rem;
	font-weight: 600;
}

.escola-adm-form legend::before {
	display: none;
}

.escola-adm-form label {
	margin-bottom: 0.35rem;
	color: #333;
	font-size: 0.88rem;
	font-weight: 400;
}

.escola-adm-form input[type="text"],
.escola-adm-form input[type="tel"],
.escola-adm-form input[type="email"],
.escola-adm-form input[type="date"],
.escola-adm-form select,
.escola-adm-form textarea {
	min-height: 0;
	padding: 0.62rem 0.75rem;
	border: 1px solid #cdcdcd;
	border-radius: 6px;
}

.escola-adm-form .escola-check {
	padding: 0;
	border-radius: 0;
	background: transparent;
}

.escola-adm-wrap button.escola-button {
	width: auto;
	min-height: 0;
	padding: 0.85rem 1.7rem;
	border-radius: 6px;
	background: #0b6b3a;
	box-shadow: none;
}

.escola-adm-wrap button.escola-button:hover,
.escola-adm-wrap button.escola-button:focus-visible {
	background: #095830;
	box-shadow: none;
	transform: none;
}

@media ( min-width: 650px ) {
	.escola-adm-form .escola-group {
		padding: 1.5rem 0 0.5rem;
	}
}
