@charset "UTF-8";
/*
  teacher-form.css - 2-step lead form (checkboxes, address, buy/sell).
  Continue/Back never POST. Loaded after teacher-theme.css.
*/

.ctu-name-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
@media (min-width: 521px) {
	.ctu-name-row { grid-template-columns: 1fr 1fr; }
}

.teacher-svc-fieldset {
	border: 0;
	margin: 0 0 14px;
	padding: 0;
	min-width: 0;
}
.teacher-svc-fieldset legend,
.teacher-svc-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #222222;
	padding: 0;
}

.teacher-ts-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 13px;
	color: #4a5568;
}
.teacher-ts-progress .teacher-ts-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ced4da;
	flex-shrink: 0;
}
.teacher-ts-progress .teacher-ts-dot.is-active,
.teacher-ts-progress .teacher-ts-dot.is-done {
	background: #13294B;
}
.teacher-ts-progress .teacher-ts-label {
	font-weight: 600;
	letter-spacing: 0.02em;
}
.teacher-ts-panel { display: none; }
.teacher-ts-panel.is-active {
	display: block;
}
.teacher-ts-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 4px;
}
.btn-teacher-back {
	width: 100%;
	padding: 12px;
	min-height: 44px;
	background: #ffffff;
	color: #13294B;
	font-weight: 700;
	font-size: 15px;
	border: 2px solid #13294B;
	border-radius: 10px;
	cursor: pointer;
}
.btn-teacher-back:hover,
.btn-teacher-back:focus-visible {
	background: #f8f9fa;
}

@media (prefers-reduced-motion: reduce) {
	.teacher-ts-panel.is-active { animation: none; }
}
.teacher-svc-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 14px;
}
.teacher-svc-options label {
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	margin: 0 !important;
	font-size: 14px;
	font-weight: 400;
	color: #222222;
	cursor: pointer;
}
#teacher_lead_form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	max-width: 18px;
	max-height: 18px;
	margin: 2px 0 0;
	padding: 0;
	flex-shrink: 0;
	accent-color: #003a70;
	-webkit-appearance: checkbox;
	appearance: checkbox;
}

.teacher-svc-options input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	padding: 0;
	flex-shrink: 0;
	accent-color: #003a70;
}

.teacher-addr-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
@media (min-width: 521px) {
	.teacher-addr-row { grid-template-columns: 1fr 80px; }
}

/* Step: buy/sell extra blocks stay in the same form; JS only toggles display */
.teacher-extra-block {
	display: none;
	margin-bottom: 8px;
	padding: 12px 12px 4px;
	border: 1px solid #d2d3d4;
	border-radius: 8px;
	background: #f8f9fa;
}
.teacher-extra-block.is-open { display: block; }

/* Step: checkbox always sits under the Your Home Address label on step 2. */
.teacher-sell-same-wrap {
	display: block;
	margin: 4px 0 10px;
}
.teacher-sell-same-wrap .ctu-optin { margin-bottom: 0; }

@media (max-width: 900px) {
	/* Step: hide the bottom Sign Up bar on step 2 so it cannot cover Submit. */
	body.teacher-on-step-2 .mobile-cta-bar { display: none !important; }
}
.teacher-extra-block .interest-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #222222;
}

.teacher-consent-copy {
	font-size: .6em;
	margin-top: 12px;
	margin-bottom: 12px;
	color: #222222;
	line-height: 1.5;
}
.required-mark { color: var(--required-asterisk); }

.teacher-other-wrap { margin-bottom: 14px; }
.teacher-other-wrap.is-hidden { display: none; }

/* Step: popup chrome is hidden on all viewports so phones look the same. */
.teacher-form-popup-backdrop,
.teacher-form-popup-close,
.teacher-form-start-hint {
	display: none;
}

/* Step: desktop only (two-column hero). Overlay the existing form card. */
@media (min-width: 901px) {
	.teacher-form-popup-backdrop {
		position: fixed;
		inset: 0;
		z-index: 1040;
		border: 0;
		padding: 0;
		margin: 0;
		background: rgba(0, 20, 40, 0.55);
		cursor: pointer;
	}
	body.teacher-form-popup-open {
		overflow: hidden;
	}
	body.teacher-form-popup-open .teacher-form-popup-backdrop {
		display: block;
	}
	body.teacher-form-popup-open .ctu-form-card {
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		z-index: 1050;
		width: min(480px, calc(100vw - 48px));
		max-height: 90vh;
		overflow: auto;
		box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
	}
	body.teacher-form-popup-open .ctu-form-card-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		text-align: left;
	}
	body.teacher-form-popup-open .teacher-form-popup-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		width: 36px;
		height: 36px;
		padding: 0;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: #ffffff;
		cursor: pointer;
	}
	body.teacher-form-popup-open .teacher-form-popup-close:hover,
	body.teacher-form-popup-open .teacher-form-popup-close:focus-visible {
		background: rgba(255, 255, 255, 0.18);
	}
	body.teacher-form-popup-open .teacher-form-start-hint {
		display: block;
		margin: 0 0 12px;
		padding: 8px 12px;
		border-radius: 8px;
		background: #e8f1fb;
		color: #003a70;
		font-size: 14px;
		font-weight: 700;
		line-height: 1.4;
	}
}
