.gsp-open {
	overflow: hidden;
}

.gsp-overlay {
	align-items: center !important;
	background: rgba(0, 0, 0, 0.72);
	box-sizing: border-box;
	display: flex;
	inset: 0;
	justify-content: center !important;
	opacity: 0;
	overflow-y: auto;
	padding: 24px;
	position: fixed;
	transition: opacity 180ms ease;
	z-index: 999999;
}

.gsp-overlay[hidden] {
	display: none;
}

.gsp-overlay.gsp-visible {
	opacity: 1;
}

.gsp-dialog {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
	color: #222;
	max-height: calc(100vh - 48px);
	max-width: var(--gsp-width, 640px);
	overflow-y: auto;
	position: relative;
	transform: translateY(10px) scale(0.985);
	transition: transform 180ms ease;
	width: 100%;
}

.gsp-visible .gsp-dialog {
	transform: translateY(0) scale(1);
}

.gsp-dialog > .gsp-close-button {
	-webkit-appearance: none !important;
	appearance: none !important;
	align-items: center !important;
	background: #052f6e !important;
	border: 3px solid #fcca5d !important;
	border-radius: 50% !important;
	box-shadow: 0 2px 9px rgba(0, 0, 0, 0.28) !important;
	box-sizing: border-box !important;
	color: #fff !important;
	cursor: pointer;
	display: flex !important;
	font: 700 28px/1 Arial, sans-serif !important;
	height: 44px !important;
	justify-content: center !important;
	left: auto !important;
	margin: 0 !important;
	min-height: 0 !important;
	min-width: 0 !important;
	opacity: 1 !important;
	padding: 0 0 3px !important;
	position: absolute !important;
	right: 14px !important;
	top: 14px !important;
	transform: none !important;
	width: 44px !important;
	z-index: 5 !important;
}

.gsp-dialog > .gsp-close-button:hover,
.gsp-dialog > .gsp-close-button:focus-visible {
	background: #fcca5d !important;
	color: #052f6e !important;
	outline: 3px solid #052f6e !important;
	outline-offset: 2px;
}

.gsp-content {
	font-size: 18px;
	line-height: 1.55;
	padding: 34px;
}

.gsp-content > :first-child {
	margin-top: 0;
}

.gsp-content > :last-child {
	margin-bottom: 0;
}

.gsp-content img {
	height: auto;
	max-width: 100%;
}

.gsp-action {
	margin-top: 24px;
	text-align: center;
}

.gsp-button {
	background: #1d4f91;
	border-radius: 4px;
	color: #fff !important;
	display: inline-block;
	font-weight: 700;
	padding: 11px 22px;
	text-decoration: none;
}

.gsp-button:hover,
.gsp-button:focus-visible {
	background: #153a6b;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.gsp-overlay {
		padding: 14px;
	}

	.gsp-dialog {
		max-height: calc(100vh - 28px);
	}

	.gsp-content {
		font-size: 16px;
		padding: 28px 20px 22px;
	}

	.gsp-dialog > .gsp-close-button {
		height: 40px !important;
		right: 8px !important;
		top: 8px !important;
		width: 40px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gsp-overlay,
	.gsp-dialog {
		transition: none;
	}
}
