/* Nexus Popup Manager — Frontend Styles */

.nexus-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background-color: rgba(0, 0, 0, .6);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .3s ease;
}
.nexus-popup-overlay.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.nexus-popup {
	position: relative;
	width: 100%;
	max-width: 940px;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	display: flex;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
	transform: scale(.94);
	transition: transform .3s ease;
	max-height: 90vh;
}
.nexus-popup-overlay.is-visible .nexus-popup {
	transform: scale(1);
}

.nexus-popup--layout-left {
	flex-direction: row;
}
.nexus-popup--layout-left .nexus-popup__media {
	flex: 0 0 44%;
}
.nexus-popup--layout-left .nexus-popup__content {
	flex: 1;
}

.nexus-popup--layout-top {
	flex-direction: column;
}
.nexus-popup--layout-top .nexus-popup__media {
	height: 240px;
}

.nexus-popup__media {
	background-color: #f0f0f0;
	background-size: cover;
	background-position: center;
}

.nexus-popup__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 48px 44px;
	overflow-y: auto;
}

.nexus-popup__headline {
	color: #1a1a1a;
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 14px;
}

.nexus-popup__body {
	color: #555;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 26px;
}
.nexus-popup__body p { margin: 0 0 10px; }
.nexus-popup__body p:last-child { margin-bottom: 0; }

.nexus-popup__cta.btn-yellow {
	display: inline-block;
	background: #FED906;
	color: #111;
	font-size: 15px;
	font-weight: 700;
	padding: 13px 32px;
	border-radius: 8px;
	text-decoration: none;
	transition: background .2s ease;
}
.nexus-popup__cta.btn-yellow:hover {
	background: #c8a800;
	color: #111;
}

.nexus-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	color: #555;
	font-size: 20px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	transition: background .2s ease, color .2s ease;
}
.nexus-popup__close:hover {
	background: #FED906;
	color: #111;
}

@media (max-width: 720px) {
	.nexus-popup--layout-left {
		flex-direction: column;
		max-height: 92vh;
		overflow-y: auto;
	}
	.nexus-popup--layout-left .nexus-popup__media {
		flex: 0 0 200px;
		height: 200px;
	}
	.nexus-popup__content {
		padding: 32px 24px;
	}
}
