/**
 * Cookie consent banner — "We value your privacy" modal.
 */

.myh-cookie-banner {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 24px;
	pointer-events: none;
}

.myh-cookie-banner[hidden] {
	display: none !important;
}

.myh-cookie-banner__box {
	pointer-events: auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
	padding: 28px 28px 24px;
	max-width: 420px;
	width: 100%;
	font-family: "Gotham Book", sans-serif;
	animation: myh-cookie-slide-in 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

@keyframes myh-cookie-slide-in {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.myh-cookie-banner__heading {
	font-family: "Gotham Book", sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: #0a2540;
	margin: 0 0 0.85rem;
	line-height: 1.25;
}

.myh-cookie-banner__body {
	font-family: "Gotham Book", sans-serif;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #444;
	margin: 0 0 1.35rem;
}

.myh-cookie-banner__body a {
	color: #0070f3;
	text-decoration: underline;
}

.myh-cookie-banner__actions {
	display: flex;
	gap: 12px;
}

.myh-cookie-btn {
	flex: 1;
	padding: 0.65rem 1rem;
	border-radius: 6px;
	font-family: "Gotham Book", sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	border: 2px solid #0070f3;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
	line-height: 1.2;
}

.myh-cookie-btn--reject {
	background: #fff;
	color: #0070f3;
}

.myh-cookie-btn--reject:hover,
.myh-cookie-btn--reject:focus {
	background: #f0f6ff;
	border-color: #0060d8;
	color: #0060d8;
}

.myh-cookie-btn--accept {
	background: #0070f3;
	color: #fff;
}

.myh-cookie-btn--accept:hover,
.myh-cookie-btn--accept:focus {
	background: #0060d8;
	border-color: #0060d8;
}

@media (max-width: 480px) {
	.myh-cookie-banner {
		padding: 12px;
	}

	.myh-cookie-banner__box {
		max-width: 100%;
		padding: 22px 18px 18px;
	}

	.myh-cookie-banner__actions {
		flex-direction: column;
	}
}
