/* 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;
}

.pgm-dismiss {
	display: inline-block;
	margin: 16px 0 0;
	padding: 4px;
	border: 0;
	background: transparent;
	color: #555;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: underline;
	cursor: pointer;
}
.pgm-dismiss:hover, .pgm-dismiss:focus-visible { color: #000; }
