/* Conseo Cookie Consent — banner styles. Uses a CSS variable for the
   primary color so admin.js / inline style can theme it per site. */

#ccc-banner-root {
	--ccc-primary: #1a4d3e;
	position: fixed;
	z-index: 999999;
	inset: auto 0 0 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: #1c1c1c;
}

.ccc-hidden {
	display: none !important;
}

.ccc-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 999998;
}

.ccc-panel {
	position: relative;
	background: #fff;
	max-width: 720px;
	margin: 0 auto;
	border-radius: 12px 12px 0 0;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
	padding: 20px 24px 24px;
}

@media (min-width: 782px) {
	#ccc-banner-root .ccc-panel {
		margin: 0 24px 24px auto;
		border-radius: 12px;
	}
}

.ccc-panel h2 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
}

.ccc-panel p {
	margin: 0 0 16px;
	color: #444;
}

.ccc-panel a {
	color: var(--ccc-primary);
}

.ccc-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ccc-btn {
	appearance: none;
	border: 2px solid var(--ccc-primary);
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	background: #fff;
	color: var(--ccc-primary);
	transition: opacity 0.15s ease;
}

.ccc-btn:hover {
	opacity: 0.85;
}

.ccc-btn-primary {
	background: var(--ccc-primary);
	color: #fff;
}

.ccc-btn-text {
	border-color: transparent;
	background: transparent;
	text-decoration: underline;
	padding-left: 6px;
	padding-right: 6px;
}

.ccc-categories {
	margin: 4px 0 18px;
	border-top: 1px solid #eee;
}

.ccc-category {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid #eee;
}

.ccc-category-info strong {
	display: block;
	margin-bottom: 2px;
}

.ccc-category-info span {
	color: #666;
	font-size: 13px;
}

.ccc-switch {
	position: relative;
	flex: 0 0 auto;
	width: 44px;
	height: 24px;
}

.ccc-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.ccc-switch-track {
	position: absolute;
	inset: 0;
	background: #ccc;
	border-radius: 24px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.ccc-switch-track::before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.15s ease;
}

.ccc-switch input:checked + .ccc-switch-track {
	background: var(--ccc-primary);
}

.ccc-switch input:checked + .ccc-switch-track::before {
	transform: translateX(20px);
}

.ccc-switch input:disabled + .ccc-switch-track {
	opacity: 0.6;
	cursor: not-allowed;
}

.ccc-reopen-banner {
	background: none;
	border: none;
	padding: 0;
	text-decoration: underline;
	cursor: pointer;
	color: inherit;
	font: inherit;
}

.ccc-blocked-iframe {
	background: #f2f2f2;
}

table.ccc-policy-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 24px;
	font-size: 14px;
}

table.ccc-policy-table th,
table.ccc-policy-table td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid #e2e2e2;
	vertical-align: top;
}

table.ccc-policy-table th {
	background: #f7f7f7;
}
