/* Alessandra CCPA/CPRA Cookie Consent — frontend styles */

#accf-consent-root {
	--accf-accent: #1a4d8f;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: #1c1c1c;
}

/* ---------- Banner ---------- */
.accf-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	background: #ffffff;
	border-top: 3px solid var(--accf-accent);
	box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
	padding: 18px 20px;
}

.accf-banner[hidden] {
	display: none;
}

.accf-banner-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.accf-banner-copy {
	flex: 1 1 480px;
	min-width: 260px;
}

.accf-banner-heading {
	display: block;
	font-size: 16px;
	margin-bottom: 4px;
	color: #111;
}

.accf-banner-copy p {
	margin: 0;
	color: #3a3a3a;
	font-size: 14px;
}

.accf-banner-copy a {
	color: var(--accf-accent);
	text-decoration: underline;
}

.accf-banner-actions {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

/* ---------- Buttons ---------- */
.accf-btn {
	cursor: pointer;
	border-radius: 6px;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	border: 2px solid transparent;
	white-space: nowrap;
}

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

.accf-btn-outline {
	background: transparent;
	border-color: var(--accf-accent);
	color: var(--accf-accent);
}

.accf-btn-link {
	background: transparent;
	border: none;
	color: #444;
	text-decoration: underline;
	padding: 10px 4px;
}

/* ---------- Modal ---------- */
.accf-modal {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.accf-modal[hidden] {
	display: none;
}

.accf-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.accf-modal-panel {
	position: relative;
	background: #fff;
	max-width: 560px;
	width: calc(100% - 32px);
	max-height: calc(100vh - 64px);
	overflow-y: auto;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.accf-modal-panel h2 {
	margin-top: 0;
	font-size: 19px;
}

.accf-category {
	border-top: 1px solid #e6e6e6;
	padding: 14px 0;
}

.accf-category:first-of-type {
	border-top: none;
}

.accf-category-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.accf-category-title {
	font-weight: 600;
}

.accf-category-desc {
	margin: 6px 0 0;
	color: #555;
	font-size: 13.5px;
}

.accf-toggle {
	cursor: pointer;
	border: 2px solid var(--accf-accent);
	background: #fff;
	color: var(--accf-accent);
	border-radius: 20px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 700;
	min-width: 64px;
}

.accf-toggle[aria-checked="true"] {
	background: var(--accf-accent);
	color: #fff;
}

.accf-toggle-locked {
	cursor: default;
	background: #eee;
	border-color: #ccc;
	color: #777;
	border-radius: 20px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 700;
}

.accf-modal-actions {
	margin-top: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

/* ---------- Toasts ---------- */
.accf-toast {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	max-width: 480px;
	margin: 0 auto;
	background: #1c1c1c;
	color: #fff;
	border-radius: 8px;
	padding: 14px 40px 14px 16px;
	font-size: 13.5px;
	z-index: 1000001;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.accf-toast[hidden] {
	display: none;
}

.accf-toast-link {
	background: none;
	border: none;
	color: #9ecbff;
	text-decoration: underline;
	margin-left: 8px;
	cursor: pointer;
	padding: 0;
	font-size: 13px;
}

.accf-toast-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	line-height: 1;
}

/* ---------- Footer link ---------- */
.accf-auto-footer-link {
	text-align: center;
	padding: 10px 0;
	font-size: 12.5px;
}

.accf-footer-link {
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

@media (max-width: 640px) {
	.accf-banner-actions {
		width: 100%;
		justify-content: stretch;
	}
	.accf-banner-actions .accf-btn {
		flex: 1 1 auto;
		text-al