/**
 * Geo region popup.
 *
 * Its own file rather than charity-style.css, which is compiled from charity-style.scss by
 * prepros — hand edits there get overwritten on the next build.
 */

.ak-region-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, .55);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease;
}

.ak-region-popup.is-open {
	opacity: 1;
	visibility: visible;
}

.ak-region-popup__content {
	position: relative;
	width: 100%;
	max-width: 420px;
	padding: 32px 28px 28px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
	text-align: center;
	transform: translateY(12px);
	transition: transform .2s ease;
}

.ak-region-popup.is-open .ak-region-popup__content {
	transform: translateY(0);
}

.ak-region-popup__close {
	position: absolute;
	top: 8px;
	right: 12px;
	padding: 4px 8px;
	border: 0;
	background: none;
	font-size: 26px;
	line-height: 1;
	color: #666;
	cursor: pointer;
}

.ak-region-popup__close:hover {
	color: #000;
}

.ak-region-popup__title {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.3;
}

.ak-region-popup__body {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.5;
	color: #444;
}

.ak-region-popup__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ak-region-popup__go,
.ak-region-popup__stay {
	display: block;
	width: 100%;
	padding: 12px 18px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.ak-region-popup__go {
	border: 1px solid transparent;
	background: #0b6b3a;
	color: #fff;
}

.ak-region-popup__go:hover,
.ak-region-popup__go:focus {
	background: #08542d;
	color: #fff;
}

.ak-region-popup__stay {
	border: 1px solid #ccc;
	background: #fff;
	color: #333;
}

.ak-region-popup__stay:hover,
.ak-region-popup__stay:focus {
	border-color: #999;
	background: #f5f5f5;
}

@media (min-width: 480px) {
	.ak-region-popup__actions {
		flex-direction: row;
	}
}
