/**
 * Cookie banner + form personal-data consent.
 */

.cookie-banner {
	position: fixed;
	z-index: 10000;
	right: 24px;
	bottom: 24px;
	left: 24px;
	display: none;
	pointer-events: none;
}

.cookie-banner.is-visible {
	display: block;
	pointer-events: auto;
}

.cookie-banner__inner {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	max-width: 980px;
	margin: 0 auto;
	padding: 22px 28px;
	background: #0a1c4a;
	box-shadow: 0 18px 40px rgba(10, 28, 74, 0.28);
	clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
	color: #fff;
}

.cookie-banner__text {
	margin: 0;
	max-width: 720px;
	font-family: "Inter Tight", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
}

.cookie-banner__text a {
	color: #ed912c;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie-banner__button {
	flex: none;
	min-width: 140px;
	min-height: 48px;
	border: 0;
	padding: 0 28px;
	background: #ed912c;
	clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
	color: #fff;
	cursor: pointer;
	font-family: "Inter Tight", sans-serif;
	font-size: 16px;
	font-weight: 600;
}

.cookie-banner__button:hover {
	filter: brightness(1.05);
}

.industrial-consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	color: var(--industrial-muted, #778299);
	cursor: pointer;
	font-family: "Inter Tight", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
}

.industrial-consent__input {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: #ed912c;
	cursor: pointer;
}

.industrial-consent__text a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.industrial-consent.is-invalid .industrial-consent__text {
	color: #c0392b;
}

.industrial-request__bottom {
	align-items: center;
}

.industrial-request__bottom .industrial-consent {
	max-width: 520px;
}

.industrial-request__status {
	margin: 18px 0 0;
	font-family: "Inter Tight", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

.industrial-request__status.is-success {
	color: #1f7a3f;
}

.industrial-request__status.is-error {
	color: #c0392b;
}

@media (max-width: 820px) {
	.cookie-banner {
		right: 12px;
		bottom: 12px;
		left: 12px;
	}

	.cookie-banner__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 18px 18px 20px;
		clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
	}

	.cookie-banner__button {
		width: 100%;
	}

	.industrial-request__bottom .industrial-consent {
		max-width: none;
	}
}
