/**
 * Local Educational Infrastructure Locator — scoped styles.
 */

.pac-container {
	z-index: 999999 !important;
	border: 2px solid #B87F0D !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
	font-family: 'IBM Plex Sans', sans-serif !important;
	border-radius: 4px !important;
}

.fp-educational-locator-scope {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	font-family: 'IBM Plex Sans', sans-serif;
	color: #0C0C30;
}

.fp-educational-locator-scope .fpp-section-wrapper {
	width: 100%;
	padding: 0 15px;
	box-sizing: border-box;
	margin: 0 auto 50px auto;
}

.fp-interactive-wrapper.fp-tool-root .fp-educational-locator-scope .fpp-section-wrapper {
	margin-bottom: 50px;
}

.fp-interactive-wrapper.fp-tool-root .fp-educational-locator-scope .fpp-calc-wrapper {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: auto;
	min-height: 0;
	margin-bottom: 0;
}

.fp-educational-locator-scope .fpp-calc-wrapper {
	--fp-gold: #B87F0D;
	--fp-navy: #0C0C30;
	--border-light: #E6E6E3;
	--fp-bg-light: #fcfcfc;
	--fp-safe: #B87F0D;
	--fp-danger: #ef4444;
	--shadow-card: 0 12px 40px rgba(0, 0, 0, 0.06);
	width: 100%;
	box-sizing: border-box;
	font-family: 'IBM Plex Sans', sans-serif;
	background: #fff;
	border: 1px solid var(--border-light);
	border-radius: 4px;
	box-shadow: var(--shadow-card);
	overflow: hidden;
	container-type: inline-size;
	container-name: fp-educational;
}

.fp-educational-locator-scope .fpp-calc-wrapper * {
	box-sizing: border-box;
}

.fp-educational-locator-scope .fpp-calc-header {
	background-color: var(--fp-navy);
	border-bottom: 3px solid var(--fp-gold);
	padding: 30px 40px;
	display: flex;
	flex-direction: column;
}

.fp-educational-locator-scope .fpp-calc-header h2 {
	font-family: 'Vollkorn', serif;
	font-size: 2.2rem;
	color: #ffffff;
	margin: 0 0 5px 0 !important;
	text-transform: none !important;
	line-height: 1.2;
}

.fp-educational-locator-scope .fpp-calc-header p {
	font-size: 0.95rem;
	color: var(--fp-gold);
	margin: 0;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.fp-educational-locator-scope .fpp-calc-grid {
	display: grid;
	grid-template-columns: 4fr 6fr;
	align-items: stretch;
	min-width: 0;
}

.fp-educational-locator-scope .fpp-calc-inputs {
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.fp-educational-locator-scope .fpp-input-group {
	display: flex;
	flex-direction: column;
}

.fp-educational-locator-scope .fpp-input-group label {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--fp-navy);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 8px;
	white-space: nowrap;
}

.fp-educational-locator-scope .fpp-input-row {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid var(--border-light);
	border-radius: 4px;
	overflow: hidden;
	transition: 0.3s border;
}

.fp-educational-locator-scope .fpp-input-row:focus-within {
	border-color: var(--fp-gold);
	box-shadow: 0 0 0 4px rgba(184, 127, 13, 0.1);
}

.fp-educational-locator-scope .fpp-input-row input {
	flex: 1;
	border: none;
	padding: 12px 15px;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 1rem;
	color: var(--fp-navy);
	font-weight: 600;
	width: 100%;
	outline: none;
}

.fp-educational-locator-scope .fpp-selection-status-bar {
	background: #f8f8f8;
	border: 1px solid var(--border-light);
	border-radius: 4px;
	padding: 12px 20px;
	font-size: 0.85rem;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 5px;
}

.fp-educational-locator-scope .fpp-edu-status-label {
	color: var(--fp-navy);
}

.fp-educational-locator-scope .fpp-counter-badge {
	background: var(--fp-navy);
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-weight: 700;
	font-size: 0.75rem;
	border: 1px solid var(--fp-gold);
}

.fp-educational-locator-scope .fpp-counter-badge.active-selections {
	background: var(--fp-safe);
	border-color: var(--fp-safe);
}

.fp-educational-locator-scope .fpp-service-fluid-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 45vh;
	overflow-y: auto;
	padding-right: 5px;
}

.fp-educational-locator-scope .fpp-service-fluid-list::-webkit-scrollbar {
	width: 6px;
}

.fp-educational-locator-scope .fpp-service-fluid-list::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.fp-educational-locator-scope .fpp-service-fluid-list::-webkit-scrollbar-thumb {
	background: var(--fp-gold);
	border-radius: 3px;
}

.fp-educational-locator-scope .fpp-service-card {
	border: 1px solid var(--border-light);
	border-radius: 4px;
	padding: 15px 20px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	background: #fcfcfc;
	transition: all 0.2s ease;
	user-select: none;
}

.fp-educational-locator-scope .fpp-card-main-row {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	width: 100%;
}

.fp-educational-locator-scope .fpp-service-card:hover {
	border-color: var(--fp-gold);
	background: #fff;
}

.fp-educational-locator-scope .fpp-service-card.selected {
	border-color: var(--fp-gold);
	background: rgba(184, 127, 13, 0.04);
	box-shadow: inset 0 0 0 1px var(--fp-gold);
}

.fp-educational-locator-scope .fpp-checkbox-mock {
	width: 18px;
	height: 18px;
	border: 2px solid var(--border-light);
	border-radius: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
	transition: 0.2s;
	background: #fff;
}

.fp-educational-locator-scope .fpp-service-card.selected .fpp-checkbox-mock {
	border-color: var(--fp-gold);
	background: var(--fp-gold);
}

.fp-educational-locator-scope .fpp-service-card.selected .fpp-checkbox-mock::after {
	content: '';
	width: 8px;
	height: 4px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg) translateY(-1px);
}

.fp-educational-locator-scope .fpp-card-details {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.fp-educational-locator-scope .fpp-card-title {
	font-family: 'Vollkorn', serif;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--fp-navy);
}

.fp-educational-locator-scope .fpp-card-subtext {
	font-size: 0.9rem;
	color: #333;
	line-height: 1.4;
	margin-top: 4px;
}

.fp-educational-locator-scope .fpp-footer-utilities {
	display: flex;
	width: 100%;
	margin-top: 10px;
}

.fp-educational-locator-scope .fpp-btn-core {
	font-family: 'IBM Plex Sans', sans-serif;
	padding: 14px 24px;
	border-radius: 4px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 1px;
	transition: all 0.2s ease;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
}

.fp-educational-locator-scope .fpp-btn-primary {
	background-color: #0C0C30 !important;
	color: #ffffff !important;
	border: 1px solid #0C0C30 !important;
}

.fp-educational-locator-scope .fpp-btn-primary:hover:not(:disabled) {
	background-color: #B87F0D !important;
	border-color: #B87F0D !important;
	color: #0C0C30 !important;
}

.fp-educational-locator-scope .fpp-btn-primary:disabled {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
}

.fp-educational-locator-scope .fpp-results-column {
	position: relative;
	height: 100%;
	width: 100%;
	min-width: 0;
}

.fp-educational-locator-scope .fpp-calc-results {
	background: var(--fp-navy);
	padding: 40px;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	position: absolute;
	top: 40px;
	bottom: 40px;
	left: 0;
	right: 40px;
	border-radius: 4px;
}

.fp-educational-locator-scope .fpp-grand-total {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(184, 127, 13, 0.4);
	border-radius: 4px;
	padding: 25px;
	text-align: center;
	margin-bottom: 25px;
	flex-shrink: 0;
}

.fp-educational-locator-scope .fpp-grand-total span {
	display: block;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #fff;
	font-weight: 700;
	margin-bottom: 10px;
}

.fp-educational-locator-scope .fpp-grand-total .fpp-big-number {
	font-family: 'Vollkorn', serif;
	font-size: 2.2rem;
	color: var(--fp-gold);
	margin: 0;
	line-height: 1.1;
}

.fp-educational-locator-scope .fpp-placeholder-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: auto;
	max-width: 320px;
	color: rgba(255, 255, 255, 0.4);
	height: 100%;
}

.fp-educational-locator-scope .fpp-placeholder-state svg {
	width: 48px;
	height: 48px;
	fill: rgba(184, 127, 13, 0.3);
	margin-bottom: 20px;
}

.fp-educational-locator-scope .fpp-placeholder-state p {
	font-family: 'Vollkorn', serif;
	font-size: 1.15rem;
	line-height: 1.4;
	margin: 0;
}

.fp-educational-locator-scope .fpp-active-results-space {
	display: none;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

.fp-educational-locator-scope .fpp-edu-scan-location-label {
	margin: 0 0 15px 0;
	color: var(--fp-gold);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	flex-shrink: 0;
	font-weight: 600;
}

.fp-educational-locator-scope .fpp-grid-results {
	display: flex;
	flex-direction: column;
	gap: 15px;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	padding-right: 5px;
}

.fp-educational-locator-scope .fpp-grid-results::-webkit-scrollbar {
	width: 4px;
}

.fp-educational-locator-scope .fpp-grid-results::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
}

.fp-educational-locator-scope .fpp-grid-results::-webkit-scrollbar-thumb {
	background: var(--fp-gold);
	border-radius: 4px;
}

.fp-educational-locator-scope .fpp-result-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(184, 127, 13, 0.25);
	border-radius: 4px;
	padding: 18px;
	position: relative;
	flex-shrink: 0;
}

.fp-educational-locator-scope .fpp-result-card h4 {
	font-family: 'Vollkorn', serif;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--fp-gold);
	margin: 0 0 8px 0;
}

.fp-educational-locator-scope .fpp-result-list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.85rem;
}

.fp-educational-locator-scope .fpp-result-list li {
	border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.fp-educational-locator-scope .fpp-result-list li:last-child {
	border-bottom: none;
}

.fp-educational-locator-scope .fpp-result-item {
	display: flex;
	justify-content: space-between;
	padding: 10px 12px;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	transition: 0.2s ease;
	margin: 4px 0;
}

.fp-educational-locator-scope .fpp-result-item:hover {
	background-color: var(--fp-gold);
	color: var(--fp-navy);
}

.fp-educational-locator-scope .fpp-result-list span.status {
	font-size: 0.75rem;
	color: var(--fp-safe);
	font-weight: 600;
	transition: 0.2s ease;
}

.fp-educational-locator-scope .fpp-result-item:hover span.status {
	color: var(--fp-navy);
}

.fp-educational-locator-scope .fpp-edu-hidden-map {
	display: none;
}

@container fp-educational (max-width: 850px) {
	.fp-educational-locator-scope .fpp-calc-grid {
		grid-template-columns: 1fr;
	}

	.fp-educational-locator-scope .fpp-calc-header {
		padding: 20px 16px;
	}

	.fp-educational-locator-scope .fpp-calc-header h2 {
		font-size: clamp(1.35rem, 5vw, 1.65rem);
		line-height: 1.15;
		margin-bottom: 4px !important;
	}

	.fp-educational-locator-scope .fpp-calc-header p {
		font-size: 0.78rem;
		letter-spacing: 0.6px;
		line-height: 1.35;
	}

	.fp-educational-locator-scope .fpp-calc-inputs {
		padding: 24px 16px;
		gap: 16px;
	}

	.fp-educational-locator-scope .fpp-input-group label {
		white-space: normal;
		font-size: 0.72rem;
		line-height: 1.35;
	}

	.fp-educational-locator-scope .fpp-selection-status-bar {
		flex-wrap: wrap;
		gap: 8px;
		padding: 10px 14px;
		font-size: 0.8rem;
	}

	.fp-educational-locator-scope .fpp-edu-status-label {
		flex: 1 1 auto;
		min-width: 0;
		line-height: 1.35;
	}

	.fp-educational-locator-scope .fpp-counter-badge {
		flex-shrink: 0;
		padding: 3px 10px;
		font-size: 0.68rem;
	}

	.fp-educational-locator-scope .fpp-service-fluid-list {
		max-height: none;
		overflow-y: visible;
		padding-right: 0;
	}

	.fp-educational-locator-scope .fpp-service-card {
		padding: 12px 14px;
	}

	.fp-educational-locator-scope .fpp-card-main-row {
		gap: 12px;
	}

	.fp-educational-locator-scope .fpp-card-title {
		font-size: 0.98rem;
		line-height: 1.25;
	}

	.fp-educational-locator-scope .fpp-card-subtext {
		font-size: 0.82rem;
		line-height: 1.35;
	}

	.fp-educational-locator-scope .fpp-results-column {
		height: auto;
		border-top: 3px solid var(--fp-gold);
	}

	.fp-educational-locator-scope .fpp-calc-results {
		position: relative;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		margin: 0;
		border-radius: 0;
		padding: 24px 16px;
		min-height: 360px;
		max-height: min(75vh, 560px);
		overflow: hidden;
	}

	.fp-educational-locator-scope .fpp-active-results-space {
		flex: 1;
		min-height: 0;
		overflow: hidden;
	}

	.fp-educational-locator-scope .fpp-grid-results {
		flex: 1;
		min-height: 0;
		max-height: min(48vh, 380px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}

	.fp-educational-locator-scope .fpp-grand-total {
		padding: 18px 16px;
		margin-bottom: 18px;
	}

	.fp-educational-locator-scope .fpp-grand-total .fpp-big-number {
		font-size: 1.65rem;
	}

	.fp-educational-locator-scope .fpp-edu-scan-location-label {
		font-size: 0.75rem;
		line-height: 1.4;
		margin-bottom: 12px;
	}

	.fp-educational-locator-scope .fpp-btn-core {
		padding: 12px 16px;
		font-size: 0.8rem;
	}

	.fp-educational-locator-scope .fpp-placeholder-state {
		max-width: 280px;
		padding: 0 8px;
	}

	.fp-educational-locator-scope .fpp-placeholder-state p {
		font-size: 1rem;
	}
}

@container fp-educational (max-width: 480px) {
	.fp-educational-locator-scope .fpp-section-wrapper {
		padding: 0 10px;
	}

	.fp-educational-locator-scope .fpp-calc-header {
		padding: 16px 14px;
	}

	.fp-educational-locator-scope .fpp-calc-header h2 {
		font-size: clamp(1.2rem, 6vw, 1.45rem);
	}

	.fp-educational-locator-scope .fpp-calc-header p {
		font-size: 0.72rem;
	}

	.fp-educational-locator-scope .fpp-calc-inputs {
		padding: 18px 14px;
		gap: 14px;
	}

	.fp-educational-locator-scope .fpp-input-row input {
		font-size: 0.95rem;
		padding: 11px 12px;
	}

	.fp-educational-locator-scope .fpp-selection-status-bar {
		padding: 10px 12px;
	}

	.fp-educational-locator-scope .fpp-service-card {
		padding: 11px 12px;
	}

	.fp-educational-locator-scope .fpp-checkbox-mock {
		width: 16px;
		height: 16px;
		margin-top: 1px;
	}

	.fp-educational-locator-scope .fpp-card-title {
		font-size: 0.92rem;
	}

	.fp-educational-locator-scope .fpp-card-subtext {
		font-size: 0.78rem;
	}

	.fp-educational-locator-scope .fpp-calc-results {
		padding: 20px 14px;
		min-height: 320px;
		max-height: min(70vh, 500px);
	}

	.fp-educational-locator-scope .fpp-grid-results {
		max-height: min(42vh, 300px);
	}

	.fp-educational-locator-scope .fpp-result-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 10px;
	}

	.fp-educational-locator-scope .fpp-result-list span.status {
		font-size: 0.72rem;
	}
}

@media (max-width: 850px) {
	.fp-educational-locator-scope .fpp-section-wrapper {
		padding: 0 12px;
	}

	.fp-educational-locator-scope .fpp-calc-grid {
		grid-template-columns: 1fr;
	}

	.fp-educational-locator-scope .fpp-calc-header {
		padding: 20px 16px;
	}

	.fp-educational-locator-scope .fpp-calc-header h2 {
		font-size: clamp(1.35rem, 5vw, 1.65rem);
		line-height: 1.15;
		margin-bottom: 4px !important;
	}

	.fp-educational-locator-scope .fpp-calc-header p {
		font-size: 0.78rem;
		letter-spacing: 0.6px;
		line-height: 1.35;
	}

	.fp-educational-locator-scope .fpp-calc-inputs {
		padding: 24px 16px;
		gap: 16px;
	}

	.fp-educational-locator-scope .fpp-input-group label {
		white-space: normal;
		font-size: 0.72rem;
		line-height: 1.35;
	}

	.fp-educational-locator-scope .fpp-selection-status-bar {
		flex-wrap: wrap;
		gap: 8px;
		padding: 10px 14px;
		font-size: 0.8rem;
	}

	.fp-educational-locator-scope .fpp-edu-status-label {
		flex: 1 1 auto;
		min-width: 0;
		line-height: 1.35;
	}

	.fp-educational-locator-scope .fpp-counter-badge {
		flex-shrink: 0;
		padding: 3px 10px;
		font-size: 0.68rem;
	}

	.fp-educational-locator-scope .fpp-service-fluid-list {
		max-height: none;
		overflow-y: visible;
		padding-right: 0;
	}

	.fp-educational-locator-scope .fpp-service-card {
		padding: 12px 14px;
	}

	.fp-educational-locator-scope .fpp-card-main-row {
		gap: 12px;
	}

	.fp-educational-locator-scope .fpp-card-title {
		font-size: 0.98rem;
		line-height: 1.25;
	}

	.fp-educational-locator-scope .fpp-card-subtext {
		font-size: 0.82rem;
		line-height: 1.35;
	}

	.fp-educational-locator-scope .fpp-results-column {
		height: auto;
		border-top: 3px solid var(--fp-gold);
	}

	.fp-educational-locator-scope .fpp-calc-results {
		position: relative;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		margin: 0;
		border-radius: 0;
		padding: 24px 16px;
		min-height: 360px;
		max-height: min(75vh, 560px);
		overflow: hidden;
	}

	.fp-educational-locator-scope .fpp-active-results-space {
		flex: 1;
		min-height: 0;
		overflow: hidden;
	}

	.fp-educational-locator-scope .fpp-grid-results {
		flex: 1;
		min-height: 0;
		max-height: min(48vh, 380px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}

	.fp-educational-locator-scope .fpp-grand-total {
		padding: 18px 16px;
		margin-bottom: 18px;
	}

	.fp-educational-locator-scope .fpp-grand-total .fpp-big-number {
		font-size: 1.65rem;
	}

	.fp-educational-locator-scope .fpp-edu-scan-location-label {
		font-size: 0.75rem;
		line-height: 1.4;
		margin-bottom: 12px;
	}

	.fp-educational-locator-scope .fpp-btn-core {
		padding: 12px 16px;
		font-size: 0.8rem;
	}

	.fp-educational-locator-scope .fpp-placeholder-state {
		max-width: 280px;
		padding: 0 8px;
	}

	.fp-educational-locator-scope .fpp-placeholder-state p {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.fp-educational-locator-scope .fpp-section-wrapper {
		padding: 0 10px;
		margin-bottom: 40px;
	}

	.fp-interactive-wrapper.fp-tool-root .fp-educational-locator-scope .fpp-section-wrapper {
		padding: 0 10px !important;
		margin-bottom: 40px;
	}

	.fp-educational-locator-scope .fpp-calc-header {
		padding: 16px 14px;
	}

	.fp-educational-locator-scope .fpp-calc-header h2 {
		font-size: clamp(1.2rem, 6vw, 1.45rem);
	}

	.fp-educational-locator-scope .fpp-calc-header p {
		font-size: 0.72rem;
	}

	.fp-educational-locator-scope .fpp-calc-inputs {
		padding: 18px 14px;
		gap: 14px;
	}

	.fp-educational-locator-scope .fpp-input-row input {
		font-size: 0.95rem;
		padding: 11px 12px;
	}

	.fp-educational-locator-scope .fpp-selection-status-bar {
		padding: 10px 12px;
	}

	.fp-educational-locator-scope .fpp-service-card {
		padding: 11px 12px;
	}

	.fp-educational-locator-scope .fpp-checkbox-mock {
		width: 16px;
		height: 16px;
		margin-top: 1px;
	}

	.fp-educational-locator-scope .fpp-card-title {
		font-size: 0.92rem;
	}

	.fp-educational-locator-scope .fpp-card-subtext {
		font-size: 0.78rem;
	}

	.fp-educational-locator-scope .fpp-calc-results {
		padding: 20px 14px;
		min-height: 320px;
		max-height: min(70vh, 500px);
	}

	.fp-educational-locator-scope .fpp-grid-results {
		max-height: min(42vh, 300px);
	}

	.fp-educational-locator-scope .fpp-result-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 10px;
	}

	.fp-educational-locator-scope .fpp-result-list span.status {
		font-size: 0.72rem;
	}
}
