.abroadz-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

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

.abroadz-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.abroadz-popup__dialog {
	position: relative;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	max-width: 520px;
	width: 100%;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 36px 28px 28px;
	animation: abroadz-popup-in 200ms ease-out;
}

.abroadz-popup__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #444;
	cursor: pointer;
	border-radius: 50%;
	transition: background 120ms ease;
}

.abroadz-popup__close:hover,
.abroadz-popup__close:focus-visible {
	background: rgba(0, 0, 0, 0.06);
	outline: none;
}

.abroadz-popup__title,
.abroadz-popup__success-title {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.3;
}

.abroadz-popup__content,
.abroadz-popup__success-text {
	font-size: 15px;
	line-height: 1.5;
}

.abroadz-popup__success {
	text-align: center;
	padding: 12px 0;
}

html.abroadz-popup-open,
body.abroadz-popup-open {
	overflow: hidden;
}

@keyframes abroadz-popup-in {
	from { opacity: 0; transform: translateY(8px) scale(0.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.abroadz-popup__dialog { animation: none; }
}
