.cookie-consent-root {
	position: fixed;
	left: 24px;
	right: 24px;
	bottom: 24px;
	z-index: 10050;
	pointer-events: none;
}

.cookie-consent-card,
.cookie-settings-modal {
	pointer-events: auto;
}

.cookie-consent-card {
	max-width: 1180px;
	margin: 0 auto;
	background: rgba(15, 23, 42, 0.96);
	color: #f8fafc;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 22px;
	box-shadow: 0 28px 60px rgba(15, 23, 42, 0.35);
	padding: 22px 24px;
}

.cookie-consent-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.9fr);
	gap: 20px;
	align-items: center;
}

.cookie-consent-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #93c5fd;
	margin-bottom: 10px;
}

.cookie-consent-title {
	font-size: 24px;
	line-height: 1.2;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 10px;
}

.cookie-consent-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: #cbd5e1;
}

.cookie-consent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

.cookie-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	padding: 14px 18px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cookie-btn:hover {
	transform: translateY(-1px);
}

.cookie-btn-primary {
	background: linear-gradient(135deg, #2563eb 0%, #0f766e 100%);
	color: #ffffff;
	box-shadow: 0 16px 28px rgba(37, 99, 235, 0.28);
}

.cookie-btn-secondary {
	background: #ffffff;
	color: #0f172a;
}

.cookie-btn-ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.22);
	color: #e2e8f0;
}

.cookie-settings-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.62);
	z-index: 10060;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.cookie-settings-overlay.active {
	display: flex;
}

.cookie-settings-modal {
	width: min(880px, 100%);
	background: #ffffff;
	color: #0f172a;
	border-radius: 28px;
	box-shadow: 0 32px 90px rgba(15, 23, 42, 0.28);
	overflow: hidden;
}

.cookie-settings-head {
	padding: 26px 28px 18px;
	border-bottom: 1px solid #e2e8f0;
	background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.cookie-settings-title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 800;
}

.cookie-settings-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: #475569;
}

.cookie-settings-body {
	padding: 26px 28px;
	display: grid;
	gap: 16px;
}

.cookie-option {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	padding: 18px 18px;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	background: #ffffff;
}

.cookie-option input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 3px;
}

.cookie-option-title {
	display: block;
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 6px;
}

.cookie-option-text {
	display: block;
	font-size: 14px;
	line-height: 1.7;
	color: #475569;
}

.cookie-option-required {
	background: #f8fafc;
}

.cookie-settings-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px;
	padding: 20px 28px 28px;
	border-top: 1px solid #e2e8f0;
}

.cookie-settings-foot .cookie-btn {
	min-width: 170px;
}

@media only screen and (max-width: 991px) {
	.cookie-consent-root {
		left: 14px;
		right: 14px;
		bottom: 14px;
	}

	.cookie-consent-grid {
		grid-template-columns: 1fr;
	}

	.cookie-consent-actions {
		justify-content: flex-start;
	}

	.cookie-btn {
		width: 100%;
		min-width: 0;
	}

	.cookie-settings-head,
	.cookie-settings-body,
	.cookie-settings-foot {
		padding-left: 18px;
		padding-right: 18px;
	}

	.cookie-settings-foot {
		flex-direction: column;
	}
}
