.popup-pack {
	display: none !important;
}

.npc-consent[hidden],
.npc-consent-settings[hidden],
.npc-consent [hidden] {
	display: none !important;
}

.npc-consent {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 20px;
	background: rgba(23, 35, 73, 0.42);
	font-family: Montserrat, Arial, sans-serif;
}

.npc-consent__panel {
	width: min(900px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 24px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 45px rgba(23, 35, 73, 0.28);
	color: #414141;
}

.npc-consent__title {
	margin: 0 0 12px;
	text-align: left;
	font-size: 24px;
	line-height: 1.25;
	color: #48506e;
}

.npc-consent__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

.npc-consent__text a {
	color: #384e98;
	text-decoration: underline;
}

.npc-consent__choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 18px;
}

.npc-consent__choice {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px;
	border: 1px solid #d8dbea;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.35;
}

.npc-consent__choice input {
	width: 20px;
	height: 20px;
	margin-top: 1px;
	accent-color: #465072;
}

.npc-consent__choice span,
.npc-consent__choice small {
	display: block;
}

.npc-consent__choice small {
	margin-top: 3px;
	color: #676b78;
}

.npc-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.npc-consent__button,
.npc-map-notice button {
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid #465072;
	border-radius: 22px;
	background: #fff;
	color: #354064;
	cursor: pointer;
	font: 600 14px/1.2 Montserrat, Arial, sans-serif;
}

.npc-consent__button--primary {
	background: #465072;
	color: #fff;
}

.npc-consent__button:focus-visible,
.npc-consent-settings:focus-visible,
.npc-map-notice button:focus-visible {
	outline: 3px solid #91a8f6;
	outline-offset: 2px;
}

.npc-consent-settings {
	position: static;
	display: inline-block;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
	text-decoration: none;
}

.npc-map-notice {
	display: flex;
	min-height: 260px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 24px;
	border: 1px solid #d8dbea;
	border-radius: 12px;
	background: #f4f4f9;
	text-align: center;
}

.npc-map-notice p {
	max-width: 620px;
	margin: 0;
}

@media (max-width: 680px) {
	.npc-consent {
		padding: 10px;
	}

	.npc-consent__panel {
		max-height: calc(100vh - 20px);
		padding: 18px;
	}

	.npc-consent__choices {
		grid-template-columns: 1fr;
	}

	.npc-consent__actions,
	.npc-consent__button {
		width: 100%;
	}
}
