.high-school-widget {
	width: min(100%, 580px);
	margin-left: auto;
}

.high-school-widget__card {
	position: relative;
	height: 640px;
	background: #fff;
	border-radius: 16px;
	border: 1px solid #bfdbfe;
	box-shadow: 0 12px 48px rgba(59,130,246,0.12), 0 2px 8px rgba(59,130,246,0.06);
	overflow: hidden;
}

.high-school-widget__top-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #3b82f6;
	z-index: 20;
}

.high-school-widget__logo {
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 18px;
	font-weight: 900;
	letter-spacing: -0.02em;
	z-index: 20;
	display: flex;
	gap: 1px;
	animation: highSchoolWidgetLogoSlideIn 0.4s ease-out;
}

.high-school-widget__logo-a { color: #3b82f6; }
.high-school-widget__logo-b { color: #1e293b; }

.high-school-widget__badge {
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 4px 12px;
	background: #3b82f6;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	border-radius: 999px;
	z-index: 20;
	animation: highSchoolWidgetBadgeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s backwards;
}

.high-school-widget__panel {
	position: absolute;
	inset: 0;
	padding: 48px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.38s ease-out;
}

.high-school-widget__panel.active {
	opacity: 1;
	pointer-events: auto;
	animation: highSchoolWidgetContentFadeIn 0.38s ease-out;
}

.high-school-widget__header { flex-shrink: 0; }

.high-school-widget__header-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #93c5fd;
}

.high-school-widget__header-title {
	font-size: 16px;
	font-weight: 900;
	color: #1e293b;
	letter-spacing: -0.01em;
	margin-top: 2px;
}

.high-school-widget__header-sub {
	font-size: 11px;
	color: #64748b;
	margin-top: 2px;
}

.high-school-widget__count-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
	margin-top: 8px;
	animation: highSchoolWidgetScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}

.high-school-widget__count-number {
	font-size: 12px;
	font-weight: 900;
	color: #3b82f6;
}

.high-school-widget__count-label {
	font-size: 9px;
	color: #64748b;
}

.high-school-widget__cert-preview {
	height: 160px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 12px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	animation: highSchoolWidgetScaleIn 0.4s ease-out 0.1s backwards;
}

.high-school-widget__cert-inner {
	width: 100%;
	height: 100%;
	background: #fff;
	border: 2px solid #93c5fd;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(59,130,246,0.10);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	animation: highSchoolWidgetSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s backwards;
}

.high-school-widget__cert-seal {
	width: 48px;
	height: 48px;
	border: 2px solid #3b82f6;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
	animation: highSchoolWidgetRotateIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s backwards;
}

.high-school-widget__cert-title {
	font-size: 11px;
	font-family: Georgia, serif;
	color: #1e3a8a;
	font-weight: 600;
	animation: highSchoolWidgetFadeIn 0.4s ease-out 0.65s backwards;
}

.high-school-widget__cert-name {
	margin-top: 8px;
	padding: 4px 12px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 4px;
	animation: highSchoolWidgetExpandWidth 0.4s ease-out 0.75s backwards;
}

.high-school-widget__cert-name-text {
	font-size: 10px;
	font-weight: 800;
	color: #3b82f6;
}

.high-school-widget__cert-lines {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.high-school-widget__cert-line {
	height: 1.5px;
	background: #bfdbfe;
	border-radius: 1px;
	animation: highSchoolWidgetExpandX 0.3s ease-out backwards;
	transform-origin: left;
}

.high-school-widget__cert-check {
	position: absolute;
	bottom: -8px;
	right: -8px;
	width: 32px;
	height: 32px;
	background: #10b981;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(16,185,129,0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: highSchoolWidgetCheckBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1s backwards;
}

.high-school-widget__feature-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	flex-shrink: 0;
}

.high-school-widget__feature-item,
.high-school-widget__school-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 12px;
	animation: highSchoolWidgetScaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.high-school-widget__feature-item { justify-content: center; }

.high-school-widget__feature-icon,
.high-school-widget__school-icon {
	width: 20px;
	height: 20px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.high-school-widget__feature-icon {
	animation: highSchoolWidgetIconRotate 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.high-school-widget__school-icon {
	width: 24px;
	height: 24px;
}

.high-school-widget__feature-label,
.high-school-widget__school-name {
	font-size: 10px;
	font-weight: 700;
}

.high-school-widget__school-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex-shrink: 0;
}

.high-school-widget__school-item {
	background: #f0f9ff;
	border: 1px solid #bae6fd;
}

.high-school-widget__school-name {
	font-size: 11px;
	color: #334155;
	flex: 1;
}

.high-school-widget__school-state {
	font-size: 9px;
	color: #94a3b8;
}

.high-school-widget__center-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #64748b;
	animation: highSchoolWidgetScaleIn 0.4s ease-out 0.2s backwards;
}

.high-school-widget__center-icon {
	margin: 0 auto 16px;
	color: #3b82f6;
}

.high-school-widget__center-title {
	font-size: 14px;
	font-weight: 700;
}

.high-school-widget__cta-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px;
	background: #eff6ff;
	border: 1.5px solid #bfdbfe;
	border-radius: 12px;
	flex-shrink: 0;
	animation: highSchoolWidgetSlideUp 0.4s ease-out backwards;
	cursor: pointer;
	transition: all 0.2s;
}

.high-school-widget__cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59,130,246,0.15);
}

.high-school-widget__cta-button--gradient {
	background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
	border: none;
}

.high-school-widget__cta-text {
	font-size: 12px;
	font-weight: 900;
	color: #3b82f6;
}

.high-school-widget__cta-text--white { color: #fff; }

.high-school-widget__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 16px;
}

.high-school-widget__dot-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.high-school-widget__dot {
	height: 6px;
	width: 6px;
	border-radius: 3px;
	background: #bfdbfe;
	transition: all 0.3s ease;
}

.high-school-widget__dot.active {
	width: 28px;
	background: #3b82f6;
}

.high-school-widget__dot-label {
	font-size: 9px;
	font-weight: 600;
	color: #bfdbfe;
	transition: color 0.3s ease;
}

.high-school-widget__dot-label.active { color: #3b82f6; }

@keyframes highSchoolWidgetLogoSlideIn {
	from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
	to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes highSchoolWidgetBadgeIn { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }
@keyframes highSchoolWidgetContentFadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes highSchoolWidgetScaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes highSchoolWidgetSlideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes highSchoolWidgetRotateIn { from { transform: scale(0) rotate(-180deg); } to { transform: scale(1) rotate(0deg); } }
@keyframes highSchoolWidgetFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes highSchoolWidgetExpandWidth { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes highSchoolWidgetExpandX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes highSchoolWidgetCheckBounce { from { opacity: 0; transform: scale(0) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes highSchoolWidgetIconRotate { from { transform: scale(0) rotate(-90deg); } to { transform: scale(1) rotate(0deg); } }

@media (max-width: 921px) {
	.high-school-widget {
		width: min(100%, 540px);
		margin: 0 auto;
	}

	.high-school-widget__card {
		height: 620px;
	}
}

@media (max-width: 640px) {
	.high-school-widget {
		width: 100%;
	}

	.high-school-widget__card {
		height: 600px;
	}

	.high-school-widget__panel {
		padding: 44px 16px 16px;
	}

	.high-school-widget__feature-grid {
		grid-template-columns: 1fr;
	}

	.high-school-widget__dots {
		gap: 10px;
	}
}
