#nps-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

#nps-popup-overlay.nps-hidden {
	display: none !important;
}

.nps-popup-modal {
	background: #fff;
	border-radius: 8px;
	max-width: 620px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	animation: npsPopupIn 0.25s ease;
}

@keyframes npsPopupIn {
	from { opacity: 0; transform: scale(0.95) translateY(-10px); }
	to   { opacity: 1; transform: scale(1) translateY(0); }
}

.nps-popup-modal.nps-popup-fade-out {
	animation: npsPopupOut 0.2s ease forwards;
}

@keyframes npsPopupOut {
	from { opacity: 1; transform: scale(1) translateY(0); }
	to   { opacity: 0; transform: scale(0.95) translateY(-8px); }
}

.nps-popup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
}

.nps-popup-title {
	font-size: 17px;
	font-weight: 600;
	margin: 0;
	color: #222;
	line-height: 1.3;
}

.nps-popup-close {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #888;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 4px;
	flex-shrink: 0;
	margin-left: 12px;
	font-family: inherit;
}

.nps-popup-close:hover {
	background: #f5f5f5;
	color: #333;
}

.nps-popup-body {
	padding: 20px;
}

.nps-popup-body img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

.nps-popup-body iframe.nps-popup-pdf {
	width: 100%;
	min-height: 500px;
	border: 1px solid #ddd;
	border-radius: 4px;
	display: block;
}

.nps-popup-body p.nps-popup-text {
	font-size: 15px;
	line-height: 1.7;
	color: #444;
	margin: 0;
	white-space: pre-wrap;
}
