/* Province Geo Modal — self-contained so it looks the same on any theme. */
html.pgm-open { overflow: hidden; }

.pgm-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.6);
	box-sizing: border-box;
}

.pgm-modal {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 32px 28px 28px;
	background: #fff;
	color: #1d1d1f;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	box-sizing: border-box;
	outline: none;
}

.pgm-modal *, .pgm-modal *::before, .pgm-modal *::after { box-sizing: border-box; }

.pgm-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #555;
	font-size: 26px;
	line-height: 36px;
	cursor: pointer;
}
.pgm-close:hover, .pgm-close:focus-visible { background: #f0f0f0; color: #000; }

.pgm-title {
	margin: 0 0 12px;
	padding: 0;
	color: inherit;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: normal;
}

.pgm-message { margin: 0 0 20px; }
.pgm-message p { margin: 0 0 10px; color: inherit; font-size: inherit; }
.pgm-message p:last-child { margin-bottom: 0; }
.pgm-message a { color: var(--pgm-accent, #c8102e); }

.pgm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.pgm-button {
	display: inline-block;
	flex: 1 1 auto;
	min-width: 140px;
	margin: 0;
	padding: 12px 20px;
	border: 2px solid var(--pgm-accent, #c8102e);
	border-radius: 8px;
	background: var(--pgm-accent, #c8102e);
	color: #fff !important;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
}
.pgm-button:hover, .pgm-button:focus-visible { filter: brightness(0.9); }

.pgm-button--secondary {
	background: transparent;
	color: var(--pgm-accent, #c8102e) !important;
}

/* Province popup: heading, divider, then the ✔ / ✖ lines. */
.pgm-modal--province {
	max-width: 880px;
	padding: 44px 56px 40px;
	border: 1px solid #c8c8c8;
	border-radius: 8px;
	font-family: inherit;
	text-align: left;
}

.pgm-modal--province .pgm-title {
	margin: 0;
	padding-bottom: 32px;
	border-bottom: 1px solid #8a8a8a;
	color: #000;
	font-size: 26px;
	font-weight: 800;
	text-align: center;
}

.pgm-modal--province .pgm-message { margin: 24px 0 0; text-align: center; }

.pgm-rows { margin: 24px 0 0; padding: 0 0 0 40px; }

.pgm-row {
	display: flex;
	align-items: center;
	gap: 40px;
	margin: 0 0 22px;
}
.pgm-row:last-child { margin-bottom: 0; }

.pgm-icon { flex: 0 0 30px; width: 30px; height: 30px; }

.pgm-row p {
	margin: 0;
	padding: 0;
	color: #000;
	font-size: 22px;
	line-height: 1.35;
}

.pgm-row a {
	color: #1a3ee8 !important;
	text-decoration: underline !important;
}
.pgm-row a:hover, .pgm-row a:focus-visible { color: #0b24a8 !important; }

@media (max-width: 600px) {
	.pgm-modal--province { padding: 28px 20px 24px; }
	.pgm-modal--province .pgm-title { padding-bottom: 20px; font-size: 20px; }
	.pgm-rows { padding: 0; }
	.pgm-row { gap: 14px; margin-bottom: 16px; }
	.pgm-icon { flex-basis: 24px; width: 24px; height: 24px; }
	.pgm-row p { font-size: 17px; }
}
