/* Happy Life Leads — cookie banner. Brand orange #FF7518, readable text, buttons of equal size and weight. */
.hll-cc,
.hll-cc * {
	box-sizing: border-box;
}

.hll-cc {
	position: fixed;
	z-index: 99999;
	left: 16px;
	bottom: 16px;
	width: calc(100% - 32px);
	max-width: 460px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: #fff;
	color: #222;
	border-radius: 12px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28);
	font: 15px/1.5 Arial, Helvetica, sans-serif;
	animation: hll-cc-in 0.25s ease-out;
}

.hll-cc[hidden],
.hll-cc-fab[hidden],
.hll-cc [hidden] {
	display: none !important;
}

.hll-cc:focus {
	outline: none;
}

.hll-cc-card {
	padding: 20px 20px 18px;
}

.hll-cc-title {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: #111;
}

.hll-cc-text {
	margin: 0 0 14px;
	color: #333;
}

.hll-cc-link {
	color: #b4470a;
	text-decoration: underline;
	white-space: nowrap;
}

.hll-cc-panel {
	margin: 0 0 14px;
	padding: 4px 0 0;
	border-top: 1px solid #e6e6e6;
}

.hll-cc-cat {
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
}

.hll-cc-cat p {
	margin: 4px 0 0 30px;
	font-size: 13.5px;
	color: #555;
}

.hll-cc-check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: #111;
	cursor: pointer;
}

.hll-cc-check input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #ff7518;
	flex: none;
}

.hll-cc-check input[disabled] {
	cursor: not-allowed;
}

.hll-cc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hll-cc-btn {
	flex: 1 1 140px;
	min-height: 44px;
	padding: 10px 14px;
	border: 2px solid transparent;
	border-radius: 8px;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
}

/* "Accept" and "Reject" have the same size, weight and contrast: neither is easier to press than the other. */
.hll-cc-accept {
	background: #ff7518;
	border-color: #ff7518;
	color: #111;
}

.hll-cc-reject {
	background: #222;
	border-color: #222;
	color: #fff;
}

.hll-cc-save {
	background: #ff7518;
	border-color: #ff7518;
	color: #111;
}

.hll-cc-more {
	flex: 1 1 100%;
	min-height: 40px;
	background: transparent;
	border-color: transparent;
	color: #b4470a;
	text-decoration: underline;
}

.hll-cc-btn:hover {
	filter: brightness(0.95);
}

.hll-cc-btn:focus-visible,
.hll-cc-check input:focus-visible,
.hll-cc-fab:focus-visible,
.hll-cc-link:focus-visible {
	outline: 3px solid #1a56db;
	outline-offset: 2px;
}

.hll-cc-fab {
	position: fixed;
	z-index: 99998;
	left: 16px;
	bottom: 16px;
	width: 44px;
	height: 44px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: #222;
	color: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: opacity 0.2s, visibility 0.2s;
}

/* Out of the way near the bottom of the page, where the footer has its own link. */
.hll-cc-fab-away {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.hll-cc-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.hll-cc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.hll-cc-table th,
.hll-cc-table td {
	padding: 8px 10px;
	border: 1px solid #ddd;
	text-align: left;
	vertical-align: top;
}

@keyframes hll-cc-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 600px) {
	/* Cookie table: one card per row, the column name above each value. */
	.hll-cc-table,
	.hll-cc-table tbody,
	.hll-cc-table tr,
	.hll-cc-table td {
		display: block;
		width: 100%;
	}

	.hll-cc-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.hll-cc-table tr {
		margin: 0 0 12px;
		padding: 4px 0;
		border: 1px solid #ddd;
		border-radius: 8px;
	}

	.hll-cc-table td {
		padding: 6px 12px;
		border: 0;
		overflow-wrap: anywhere;
	}

	.hll-cc-table td::before {
		content: attr(data-label);
		display: block;
		font-size: 12px;
		font-weight: 700;
		color: #555;
	}

	.hll-cc {
		left: 0;
		bottom: 0;
		width: 100%;
		max-width: none;
		max-height: 88vh;
		border-radius: 14px 14px 0 0;
	}

	.hll-cc-card {
		padding: 16px 16px 16px;
	}

	.hll-cc-btn {
		flex-basis: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hll-cc {
		animation: none;
	}
}
