.wpns-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba( 17, 24, 39, 0.6 );
	animation: wpns-popup-fade .18s ease;
}

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

body.wpns-popup-open {
	overflow: hidden;
}

.wpns-popup-box {
	position: relative;
	width: 100%;
	max-width: 440px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 12px;
	padding: 32px 28px 28px;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.25 );
	animation: wpns-popup-pop .2s ease;
}

.wpns-popup-box .wpns-form-wrap {
	max-width: none;
}

.wpns-popup-description {
	margin: 0 0 16px;
	color: #4b5563;
	font-size: 14px;
}

.wpns-popup-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	color: #6b7280;
	cursor: pointer;
	border-radius: 6px;
}

.wpns-popup-close:hover,
.wpns-popup-close:focus-visible {
	background: #f3f4f6;
	color: #111827;
}

@keyframes wpns-popup-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes wpns-popup-pop {
	from { opacity: 0; transform: translateY(8px) scale(.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media ( max-width: 480px ) {
	.wpns-popup-box {
		padding: 26px 20px 22px;
	}
}
