/**
 * REG Exit Intent Pop-up
 *
 * Brand tokens and the !important guards follow the existing REG Reviews
 * pop-up, so the two look like siblings and neither is overridden by
 * Elementor or the theme.
 *
 *   Navy        #0B1F3A
 *   Blue        #1EA7E1
 *   Body text   #d7e0ec
 *   Muted text  #9fb0c8
 */

.reg-exit-popup {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba( 11, 31, 58, 0.7 ) !important;
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.reg-exit-popup.is-visible {
	display: flex;
}

.reg-exit-popup__panel {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 10px;
	background: #0b1f3a !important;
	box-shadow: 0 8px 40px rgba( 0, 0, 0, 0.4 );
	box-sizing: border-box;
}

/* The link fills the whole panel, so any click on the pop-up navigates. */
.reg-exit-popup__link {
	display: block;
	padding: 44px 40px 38px;
	box-sizing: border-box;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

.reg-exit-popup__link:hover,
.reg-exit-popup__link:focus,
.reg-exit-popup__link:active,
.reg-exit-popup__link:visited {
	text-decoration: none !important;
}

.reg-exit-popup__link:focus-visible {
	outline: 3px solid #1ea7e1;
	outline-offset: -3px;
}

.reg-exit-popup__eyebrow {
	display: block;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #1ea7e1 !important;
	margin: 0 0 14px 0;
}

.reg-exit-popup__heading {
	display: block;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff !important;
	margin: 0 0 16px 0;
}

.reg-exit-popup__body {
	display: block;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #d7e0ec !important;
	margin: 0 0 20px 0;
}

.reg-exit-popup__list {
	list-style: none !important;
	margin: 0 0 24px 0 !important;
	padding: 0 !important;
}

.reg-exit-popup__list li {
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #ffffff !important;
	margin: 0 0 12px 0 !important;
	padding-left: 26px !important;
	position: relative;
	list-style: none !important;
}

.reg-exit-popup__list li:before {
	content: '';
	position: absolute;
	left: 0;
	top: 5px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #1ea7e1 !important;
}

.reg-exit-popup__cta {
	display: inline-block;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	padding: 15px 30px;
	border-radius: 6px;
	background: #1ea7e1 !important;
	color: #ffffff !important;
	transition: background 0.18s ease;
}

.reg-exit-popup__cta:after {
	content: ' \2192';
	white-space: pre;
}

.reg-exit-popup__link:hover .reg-exit-popup__cta,
.reg-exit-popup__link:focus .reg-exit-popup__cta {
	background: #1791c4 !important;
}

.reg-exit-popup__foot {
	display: block;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: #9fb0c8 !important;
	font-style: italic;
	margin: 20px 0 0 0;
}

.reg-exit-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: rgba( 0, 0, 0, 0.35 ) !important;
	color: #ffffff !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: background 0.18s ease;
}

.reg-exit-popup__close:hover,
.reg-exit-popup__close:focus {
	background: rgba( 0, 0, 0, 0.6 ) !important;
	outline: none;
}

.reg-exit-popup__close:focus-visible {
	box-shadow: 0 0 0 3px #1ea7e1 !important;
}

.reg-exit-popup__close svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	fill: none;
	display: block;
}

@media ( max-width: 760px ) {
	.reg-exit-popup__link {
		padding: 40px 28px 32px;
	}

	.reg-exit-popup__heading {
		font-size: 22px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.reg-exit-popup__cta,
	.reg-exit-popup__close {
		transition: none;
	}
}
