/**
 * @package geoscanners-core | CMP-FIX-001 | First-party consent interface.
 */
.gsc-consent[hidden],
.gsc-consent[data-gsc-inquiry-suspended="true"],
.gsc-consent-open[hidden],
.gsc-consent__preferences[hidden],
.gsc-consent__button[hidden] {
	display: none !important;
}

.gsc-consent {
	position: fixed;
	z-index: 2147483000;
	right: 18px;
	bottom: 18px;
	left: auto;
	width: calc(100% - 36px);
	font-family: inherit;
	color: #172033;
}

.gsc-consent,
.gsc-consent *,
.gsc-consent-open {
	box-sizing: border-box;
}

.gsc-consent__card {
	width: min(100%, 560px);
	margin-left: auto;
	padding: 16px;
	background: rgba(255, 255, 255, .98);
	border: 1px solid rgba(23, 32, 51, .12);
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(16, 24, 40, .16);
}

.gsc-consent__copy h2 {
	margin: 0 0 5px;
	font-size: 1.08rem;
	line-height: 1.3;
	color: #172033;
}

.gsc-consent__copy p {
	margin: 0;
	font-size: .84rem;
	line-height: 1.45;
	color: #3f4b5f;
}

.gsc-consent__privacy {
	display: inline-block;
	margin-top: 5px;
	font-size: .79rem;
	font-weight: 600;
	color: #174ea6;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.gsc-consent__preferences {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-top: 12px;
}

.gsc-consent__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 54px;
	padding: 9px 11px;
	background: #f7f8fa;
	border: 1px solid #e2e6ec;
	border-radius: 9px;
	cursor: pointer;
}

.gsc-consent__option:first-child {
	cursor: default;
}

.gsc-consent__option strong,
.gsc-consent__option small,
.gsc-consent__option span {
	display: block;
}

.gsc-consent__option strong {
	font-size: .84rem;
	color: #172033;
}

.gsc-consent__option small,
.gsc-consent__option > div > span {
	margin-top: 2px;
	font-size: .75rem;
	line-height: 1.3;
	color: #596579;
}

.gsc-consent__option input {
	width: 19px;
	height: 19px;
	margin: 0;
	flex: 0 0 auto;
	accent-color: #174ea6;
}

.gsc-consent__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 7px;
	margin-top: 12px;
}

.gsc-consent__button,
.gsc-consent-open {
	min-height: 38px;
	padding: 8px 12px;
	font: inherit;
	font-size: .8rem;
	font-weight: 700;
	line-height: 1.2;
	border: 1px solid #174ea6;
	border-radius: 9px;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.gsc-consent__button--primary {
	color: #fff;
	background: #174ea6;
}

.gsc-consent__button--secondary {
	color: #174ea6;
	background: #fff;
}

.gsc-consent__button:hover,
.gsc-consent-open:hover {
	filter: none;
	transform: translateY(-1px);
	box-shadow: 0 5px 12px rgba(23, 78, 166, .16);
}

.gsc-consent__button:focus-visible,
.gsc-consent__option input:focus-visible,
.gsc-consent__privacy:focus-visible,
.gsc-consent-open:focus-visible {
	outline: 3px solid #f5b700;
	outline-offset: 3px;
}

.gsc-consent-open {
	position: fixed;
	z-index: 2147482999;
	left: 12px;
	bottom: 12px;
	min-height: 34px;
	padding: 7px 10px;
	color: #fff;
	background: #172033;
	border-color: #fff;
	box-shadow: 0 4px 14px rgba(16, 24, 40, .2);
}

.gsc-consent-noscript {
	position: fixed;
	z-index: 2147483000;
	right: 12px;
	bottom: 12px;
	left: 12px;
	margin: 0;
	padding: 12px;
	color: #172033;
	background: #fff;
	border: 1px solid #dce2eb;
}

@media (max-width: 760px) {
	.gsc-consent {
		right: 10px;
		bottom: 10px;
		left: 10px;
		width: auto;
	}

	.gsc-consent__card {
		max-height: calc(100vh - 20px);
		max-height: calc(100dvh - 20px);
		padding: 13px;
		border-radius: 14px;
		overflow-y: auto;
	}

	.gsc-consent__copy h2 {
		font-size: 1rem;
	}

	.gsc-consent__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gsc-consent__button {
		width: 100%;
		min-height: 38px;
		padding: 7px 8px;
		font-size: .76rem;
	}

	.gsc-consent__button[data-gsc-consent-action="reject"] {
		order: 1;
	}

	.gsc-consent__button[data-gsc-consent-action="accept"] {
		order: 2;
	}

	.gsc-consent__button[data-gsc-consent-action="customize"] {
		grid-column: 1 / -1;
		order: 3;
	}

	.gsc-consent__button[data-gsc-consent-action="save"] {
		grid-column: 1 / -1;
		order: 4;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gsc-consent *,
	.gsc-consent-open {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
