/* ==========================================================================
   HCP Popup
   Site-entry confirmation popup for the HCP subsite.
   ========================================================================== */

.hcp-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgb(0 0 0 / 55%);
	padding: var(--space-md);
}

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

.hcp-popup {
	background-color: var(--color-white);
	border-radius: var(--radius-card);
	box-shadow: 0 8px 32px rgb(0 0 0 / 18%);
	max-width: 560px;
	width: 100%;
	padding: var(--space-xl) var(--space-lg);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-md);
}

.hcp-popup__logo img {
	max-width: 160px;
	height: auto;
}

.hcp-popup__heading {
	margin: 0;
}

.hcp-popup__body {
	margin: 0;
	color: var(--wp--preset--color--contrast-2);
}

.hcp-popup__confirm {
	width: 100%;
	max-width: 400px;
	cursor: pointer;
}

.hcp-popup__footer-text {
	font-size: var(--font-size-small);
}

.hcp-popup__footer-text a {
	color: inherit;
}

/* Prevent body scroll when popup is open */
body.hcp-popup-active {
	overflow: hidden;
}
