/* Global Color Palette */
:root {
	/* Brand & Accent Colors */
	--color-primary: #8DA399; /* Sage Green - Calming, Nature */
	--color-secondary: #D4C5B0; /* Warm Sand - Grounding */
	--color-accent: #D4C5B0; /* Using Sand as accent for now, or maybe a soft terracotta if needed? Let's stick to Sand/Sage */
	
	/* Text Colors */
	--text-primary: #374151; /* Dark Charcoal - Softer than black */
	--text-secondary: #5F6A76; /* Muted Blue-Grey */
	--text-on-primary: #FFFFFF;
	--text-on-accent: #374151;
	--text-muted: #8D9093;

	/* Background Colors */
	--bg-body: #FAF9F6; /* Off-White / Paper */
	--bg-surface: #FFFFFF; /* Pure White */
	--bg-subtle: #F2F0EB; /* Light Beige for sections */
}

/* Basic cookie banner and modal styles */
.cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--color-primary);
	color: var(--text-on-primary);
	padding: 1rem 0;
	z-index: 9999;
	transform: translateY(100%);
	transition: transform 220ms ease;
}
.cookie-banner[aria-hidden="false"] {
	transform: translateY(0);
}
.cookie-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.cookie-text p {
	margin: 0;
	font-size: 0.95rem;
}
.cookie-actions { display:flex; gap:0.5rem; align-items:center; }

/* Modal */
.cookie-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.45);
	z-index: 10000;
}
.cookie-modal[aria-hidden="false"] {
	display: flex;
}
.cookie-modal-content {
	background: var(--bg-body);
	color: var(--text-primary);
	max-width: 600px;
	width: calc(100% - 2rem);
	padding: 1rem 1.25rem;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.cookie-modal-content header {
	display:flex;
	justify-content:space-between;
	align-items:center;
}
.cookie-modal-content h2 { margin: 0; font-size: 1.1rem; }
.modal-close {
	background: transparent;
	border: none;
	font-size: 1.4rem;
	cursor: pointer;
}
.pref-row { margin: 0.75rem 0; }
.pref-row label { font-weight:500; }
.pref-row .muted { margin: 0.25rem 0 0; font-size:0.85rem; color: var(--text-muted); }

/* simple utility */
.muted { color: var(--text-muted); font-size: 0.9rem; }
.btn { background:var(--color-accent); color:var(--text-on-accent); border:none; padding:0.5rem 0.75rem; border-radius:4px; cursor:pointer; }
.btn.ghost { background:transparent; color:inherit; border:1px solid rgba(255,255,255,0.25); }
.cookie-modal .btn.ghost { border:1px solid var(--text-muted); color:var(--text-primary); background:transparent; }
.modal-actions { display:flex; gap:0.5rem; justify-content:flex-end; margin-top:0.5rem; }
@media (max-width:700px) {
	.cookie-inner { flex-direction: column; align-items:flex-start; }
	.cookie-actions { width:100%; justify-content:space-between; }
}
