.gpa-curso {
	font-family: inherit;
	margin: 1em 0;
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 1.2em;
	align-items: stretch;
	box-sizing: border-box;
	width: 100%;
	text-align: left;
}

@media (max-width: 420px) {
	.gpa-curso {
		grid-template-columns: 1fr !important;
	}
}

.gpa-curso * {
	box-sizing: border-box;
	text-align: left;
}

.gpa-curso--admin-warning {
	color: #a94442;
	background: #f2dede;
	padding: 0.5em 1em;
	border-radius: 4px;
	width: 100%;
}

.gpa-curso__card {
	background: #ffffff;
	border-radius: 20px;
	padding: 4px;
	box-shadow: 0 12px 32px rgba(30, 27, 75, 0.1);
	display: flex;
	flex-direction: column;
}

.gpa-curso__card--preventa {
	border: 1px solid rgba(220, 38, 38, 0.16);
	box-shadow: 0 14px 34px rgba(220, 38, 38, 0.13);
}

.gpa-curso__accent {
	height: 6px;
	border-radius: 999px;
	margin-bottom: 1em;
}

.gpa-curso__accent--flat {
	background: #e2e8f0;
}

.gpa-curso__accent--preventa {
	background: linear-gradient(90deg, #f97316 0%, #dc2626 100%);
}

.gpa-curso__inner {
	padding: 0 1.2em 1.2em;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.gpa-curso__top-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.6em;
	margin-bottom: 1em;
}

.gpa-curso__sede-title {
	font-size: 1.15em;
	font-weight: 800;
	color: #1e1b4b;
	margin: 0;
}

.gpa-curso__preventa-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
	font-size: 0.7em;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.3em 0.6em;
	border-radius: 999px;
	white-space: nowrap;
}

.gpa-curso__preventa-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #dc2626;
	flex-shrink: 0;
	animation: gpa-curso-preventa-pulse 1.6s ease-in-out infinite;
}

@keyframes gpa-curso-preventa-pulse {
	0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35); }
	50% { opacity: 0.75; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0); }
}

.gpa-curso__countdown {
	display: flex;
	gap: 0.6em;
	margin-bottom: 1em;
}

.gpa-curso__countdown-unit {
	flex: 1;
	text-align: center;
	background: #f8fafc;
	border-radius: 10px;
	padding: 0.45em 0.25em;
}

.gpa-curso__countdown-unit--preventa {
	background: #fff1f2;
	border: 1px solid #fecdd3;
}

.gpa-curso__countdown-value {
	display: block;
	text-align: center;
	font-size: 0.95em;
	font-weight: 800;
	color: #1e1b4b;
	font-variant-numeric: tabular-nums;
}

.gpa-curso__countdown-unit--preventa .gpa-curso__countdown-value {
	color: #dc2626;
}

.gpa-curso__countdown-label {
	display: block;
	text-align: center;
	font-size: 0.55em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
	margin-top: 0.1em;
}

.gpa-curso__countdown-unit--preventa .gpa-curso__countdown-label {
	color: #f87171;
}

.gpa-curso__info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.9em;
	margin-bottom: 1em;
}

.gpa-curso__info-item {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
}

.gpa-curso__info-item--full {
	grid-column: 1 / -1;
}

.gpa-curso__info-icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: #eef2ff;
	color: #4338ca;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gpa-curso__info-icon svg {
	width: 16px;
	height: 16px;
}

.gpa-curso__info-label {
	display: block;
	font-size: 0.68em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #94a3b8;
}

.gpa-curso__info-value {
	display: block;
	font-size: 0.92em;
	font-weight: 700;
	color: #1e293b;
	margin-top: 0.1em;
	line-height: 1.3;
}

.gpa-curso__info-value--muted {
	font-style: italic;
	font-weight: 500;
	color: #6b7280;
	margin-top: 0;
}

.gpa-curso__price-panel {
	background: #f8fafc;
	border-radius: 14px;
	padding: 0.9em 1em;
	margin-bottom: 1em;
}

.gpa-curso__price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.6em;
	margin-bottom: 0.5em;
}

.gpa-curso__price-row:last-child {
	margin-bottom: 0;
}

.gpa-curso__price-group-label {
	font-size: 0.72em;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #94a3b8;
	margin-bottom: 0.4em;
}

.gpa-curso__price-divider {
	border-top: 1px dashed #cbd5e1;
	margin: 0.75em 0;
}

.gpa-curso__price-row-label {
	font-size: 0.82em;
	font-weight: 600;
	color: #64748b;
}

.gpa-curso__price-row-value {
	font-size: 1em;
	font-weight: 800;
	white-space: nowrap;
}

.gpa-curso__price-strike {
	color: #cbd5e1;
	text-decoration: line-through;
	font-weight: 600;
	font-size: 0.82em;
	margin-right: 0.35em;
}

.gpa-curso__price-promo {
	color: #dc2626;
}

.gpa-curso__price-regular {
	color: #0f766e;
}

.gpa-curso__cta {
	margin-top: auto;
}

.gpa-curso__cta a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	text-decoration: none !important;
	background: #1e1b4b !important;
	color: #fff !important;
	font-weight: 800;
	font-size: 0.9em;
	padding: 0.85em 1.1em;
	border-radius: 12px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gpa-curso__cta a svg {
	width: 15px;
	height: 15px;
}

.gpa-curso__cta a:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(30, 27, 75, 0.28);
	color: #fff !important;
}

.gpa-sync-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gpa-sync-popup[hidden] {
	display: none;
}

.gpa-sync-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.gpa-sync-popup__box {
	position: relative;
	background: linear-gradient(160deg, #4c1d95 0%, #7c3aed 55%, #d946ef 100%);
	color: #fff;
	max-width: 460px;
	width: 90%;
	padding: 2.5em 1.75em 2em;
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(76, 29, 149, 0.5);
	animation: gpa-sync-popup-in 0.35s ease-out;
}

@keyframes gpa-sync-popup-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.gpa-sync-popup__close {
	position: absolute;
	top: 0.6em;
	right: 0.8em;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	width: 2em;
	height: 2em;
	border-radius: 50%;
	font-size: 1.3em;
	line-height: 1;
	cursor: pointer;
	color: #fff;
}

.gpa-sync-popup__close:hover {
	background: rgba(255, 255, 255, 0.28);
}

.gpa-sync-popup__badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff;
	font-size: 0.75em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.35em 0.9em;
	border-radius: 999px;
	margin-bottom: 0.9em;
}

.gpa-sync-popup__title {
	font-size: 1.8em;
	font-weight: 800;
	margin: 0 0 0.4em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gpa-sync-popup__text {
	margin: 0 0 1.4em;
	opacity: 0.92;
	line-height: 1.4;
}

.gpa-sync-popup__countdown {
	display: flex;
	justify-content: center;
	gap: 0.6em;
	margin-bottom: 1.6em;
}

.gpa-sync-popup__countdown-unit {
	background: rgba(0, 0, 0, 0.22);
	border-radius: 10px;
	padding: 0.6em 0.4em;
	min-width: 3.4em;
	flex: 1;
	max-width: 4.5em;
}

.gpa-sync-popup__countdown-value {
	display: block;
	font-size: 1.6em;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.gpa-sync-popup__countdown-label {
	display: block;
	font-size: 0.65em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.8;
	margin-top: 0.2em;
}

.gpa-sync-popup__cta {
	display: inline-block;
	background: #fff;
	color: #7c3aed;
	font-weight: 700;
	text-decoration: none;
	padding: 0.85em 2em;
	border-radius: 999px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gpa-sync-popup__cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
	color: #6d28d9;
}
