@charset "utf-8";

/* Cookie consent banner — site-wide */

.tzm-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10050;
	padding: 1rem;
	pointer-events: none;
}

.tzm-consent[hidden] {
	display: none !important;
}

.tzm-consent__panel {
	pointer-events: auto;
	max-width: 42rem;
	margin: 0 auto;
	padding: 1.15rem 1.25rem 1.25rem;
	border: 1px solid #cbd5e1;
	border-radius: 0.75rem;
	background: #0f172a;
	color: #e2e8f0;
	box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.28);
	font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.tzm-consent__title {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #f8fafc;
	line-height: 1.3;
}

.tzm-consent__text {
	margin: 0 0 1rem;
	font-size: 0.925rem;
	line-height: 1.5;
	color: #cbd5e1;
}

.tzm-consent__text a {
	color: #93c5fd;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tzm-consent__text a:hover {
	color: #bfdbfe;
}

.tzm-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.6rem;
	align-items: center;
}

.tzm-consent__btn {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 0.5rem;
	padding: 0.55rem 0.95rem;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tzm-consent__btn--accept {
	background: #2563eb;
	color: #fff;
}

.tzm-consent__btn--accept:hover {
	background: #1d4ed8;
}

.tzm-consent__btn--reject {
	background: transparent;
	border-color: #64748b;
	color: #e2e8f0;
}

.tzm-consent__btn--reject:hover {
	border-color: #94a3b8;
	background: rgba(148, 163, 184, 0.12);
}

.tzm-consent__btn:focus-visible {
	outline: 2px solid #93c5fd;
	outline-offset: 2px;
}

@media (max-width: 480px) {
	.tzm-consent {
		padding: 0.75rem;
	}

	.tzm-consent__btn {
		flex: 1 1 auto;
		text-align: center;
	}
}
