/* Hostmap GDPR consent banner styles.
 * Neutral defaults; safe on any theme. Site owners can override any rule with
 * higher specificity from their theme's stylesheet. */

.hmgdpr-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	max-width: 640px;
	margin: 0 auto;
	background: #ffffff;
	color: #1a1a1a;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
	padding: 20px 22px 18px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	z-index: 2147483000;
	transform: translateY(120%);
	transition: transform .25s ease-out;
}
.hmgdpr-banner.is-open {
	transform: translateY(0);
}
.hmgdpr-banner[data-position="bottom-left"] {
	left: 16px;
	right: auto;
	margin: 0;
}
.hmgdpr-banner[data-position="bottom-right"] {
	left: auto;
	right: 16px;
	margin: 0;
}
.hmgdpr-title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
}
.hmgdpr-body {
	margin: 0 0 12px;
	color: #333;
}
.hmgdpr-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}
.hmgdpr-btn {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 9px 14px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	line-height: 1;
	transition: background .12s, border-color .12s, color .12s;
}
.hmgdpr-btn-primary {
	background: #1a1a1a;
	color: #ffffff;
}
.hmgdpr-btn-primary:hover {
	background: #333333;
}
.hmgdpr-btn-secondary {
	background: transparent;
	border-color: #d1d5db;
	color: #1a1a1a;
}
.hmgdpr-btn-secondary:hover {
	background: #f3f4f6;
}
.hmgdpr-link {
	margin: 10px 0 0;
	font-size: 12px;
}
.hmgdpr-link a {
	color: #4b5563;
	text-decoration: underline;
}
.hmgdpr-categories {
	margin: 12px 0 4px;
	padding: 12px;
	background: #f9fafb;
	border-radius: 8px;
	max-height: 220px;
	overflow-y: auto;
}
.hmgdpr-cat {
	display: block;
	padding: 8px 0;
	border-top: 1px solid #e5e7eb;
	cursor: pointer;
}
.hmgdpr-cat:first-child {
	border-top: 0;
}
.hmgdpr-cat.is-locked {
	cursor: default;
	opacity: 0.75;
}
.hmgdpr-cat-head {
	display: flex;
	align-items: center;
	gap: 8px;
}
.hmgdpr-cat-head input[type=checkbox] {
	width: 16px;
	height: 16px;
	margin: 0;
}
.hmgdpr-cat-name {
	font-weight: 600;
	font-size: 13px;
}
.hmgdpr-cat-name em {
	font-weight: 400;
	color: #6b7280;
	font-size: 12px;
}
.hmgdpr-cat-desc {
	margin-top: 4px;
	margin-left: 24px;
	font-size: 12px;
	color: #4b5563;
	line-height: 1.4;
}
.hmgdpr-reopen {
	position: fixed;
	left: 16px;
	bottom: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #d1d5db;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	padding: 0;
	z-index: 2147482999;
}
.hmgdpr-reopen:hover {
	background: #f3f4f6;
}
@media (max-width: 480px) {
	.hmgdpr-banner {
		left: 8px;
		right: 8px;
		bottom: 8px;
		padding: 16px;
	}
	.hmgdpr-actions .hmgdpr-btn {
		flex: 1 1 auto;
	}
}
