/* Inline fallback when the configured GP Popup is unavailable. */
.swm-gfcp-popup-shell .gp-popup__dialog,
.swm-gfcp-popup-shell iframe {
	border-radius: 18px;
}

.swm-gfcp-popup-shell .gp-popup__dialog {
	background: #fff;
}

.swm-gfcp-popup-shell iframe {
	border: 0;
	display: block;
}

.swm-gfcp-popup-shell .gp-popup__close,
.swm-gfcp-popup-shell .gpp-popup-close,
.swm-gfcp-popup-shell .gpp-close-button,
.swm-gfcp-popup-shell button[aria-label="Close"],
.swm-gfcp-popup-shell button[aria-label="Close popup"] {
	align-items: center;
	background: rgba(255, 255, 255, 0.2);
	border: 0;
	border-radius: 50%;
	color: #fff;
	display: flex;
	height: 42px;
	justify-content: center;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 42px;
	z-index: 3;
}

.swm-gfcp-popup-shell .gp-popup__close:focus-visible,
.swm-gfcp-popup-shell .gpp-popup-close:focus-visible,
.swm-gfcp-popup-shell .gpp-close-button:focus-visible,
.swm-gfcp-popup-shell button[aria-label="Close"]:focus-visible,
.swm-gfcp-popup-shell button[aria-label="Close popup"]:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.swm-gfcp-popup-shell .gp-popup__close:hover,
.swm-gfcp-popup-shell .gpp-popup-close:hover,
.swm-gfcp-popup-shell .gpp-close-button:hover,
.swm-gfcp-popup-shell button[aria-label="Close"]:hover,
.swm-gfcp-popup-shell button[aria-label="Close popup"]:hover {
	background: rgba(255, 255, 255, 0.32);
	color: #fff;
}

.swm-gfcp-confirmation {
	background: #f9f2f0;
	border-left: 4px solid #353a3c;
	margin: 1rem 0;
	padding: 1rem 1.25rem;
}

.swm-gfcp-confirmation p {
	margin: 0;
}

@media (max-width: 700px) {
	.swm-gfcp-popup-shell .gp-popup__dialog,
	.swm-gfcp-popup-shell iframe {
		border-radius: 14px;
	}

	.swm-gfcp-popup-shell .gp-popup__close,
	.swm-gfcp-popup-shell .gpp-popup-close,
	.swm-gfcp-popup-shell .gpp-close-button,
	.swm-gfcp-popup-shell button[aria-label="Close"],
	.swm-gfcp-popup-shell button[aria-label="Close popup"] {
		right: 14px;
		top: 14px;
	}
}
