/* Accomar Cookie Consent — styles */
#accomar-cc, #accomar-cc * { box-sizing: border-box; }
#accomar-cc {
	--cc-bg: #ffffff;
	--cc-fg: #1c2733;
	--cc-muted: #5a6b7b;
	--cc-accent: #0e2a47;   /* deep marine navy */
	--cc-accent-2: #1f6f8b; /* teal */
	--cc-border: #e2e8ee;
	--cc-radius: 12px;
	--cc-shadow: 0 10px 40px rgba(14,42,71,.22);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--cc-fg);
	font-size: 15px;
	line-height: 1.55;
}
#accomar-cc .cc-overlay {
	position: fixed; inset: 0; z-index: 2147483646;
	background: rgba(14,42,71,.45);
	-webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
	opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
#accomar-cc.cc-show .cc-overlay { opacity: 1; pointer-events: auto; }

#accomar-cc .cc-panel {
	position: fixed; z-index: 2147483647;
	left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
	width: min(640px, calc(100vw - 32px));
	max-height: calc(100vh - 48px); overflow-y: auto;
	background: var(--cc-bg); border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius); box-shadow: var(--cc-shadow);
	padding: 26px 28px;
	opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
#accomar-cc.cc-show .cc-panel { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }

#accomar-cc .cc-title { font-size: 18px; font-weight: 700; color: var(--cc-accent); margin: 0 0 10px; letter-spacing: .2px; }
#accomar-cc .cc-text { margin: 0 0 18px; color: var(--cc-muted); }
#accomar-cc .cc-text a { color: var(--cc-accent-2); font-weight: 600; text-decoration: underline; }

#accomar-cc .cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#accomar-cc button {
	font: inherit; font-weight: 600; cursor: pointer;
	border-radius: 8px; padding: 11px 18px; border: 1.5px solid transparent;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
	flex: 1 1 auto; min-width: 140px; line-height: 1.2;
}
#accomar-cc .cc-btn-accept { background: var(--cc-accent); color: #fff; }
#accomar-cc .cc-btn-accept:hover { background: #163a5f; }
#accomar-cc .cc-btn-reject { background: #f1f4f8; color: var(--cc-fg); }
#accomar-cc .cc-btn-reject:hover { background: #e6ebf1; }
#accomar-cc .cc-btn-manage { background: #fff; color: var(--cc-accent); border-color: var(--cc-border); }
#accomar-cc .cc-btn-manage:hover { border-color: var(--cc-accent-2); color: var(--cc-accent-2); }
#accomar-cc .cc-btn-save { background: var(--cc-accent-2); color: #fff; }
#accomar-cc .cc-btn-save:hover { background: #195a72; }

#accomar-cc .cc-prefs { display: none; margin: 4px 0 18px; }
#accomar-cc.cc-managing .cc-prefs { display: block; }
#accomar-cc.cc-managing .cc-actions-main { display: none; }
#accomar-cc .cc-actions-prefs { display: none; }
#accomar-cc.cc-managing .cc-actions-prefs { display: flex; }

#accomar-cc .cc-cat {
	display: flex; align-items: flex-start; justify-content: space-between;
	gap: 14px; padding: 14px 0; border-top: 1px solid var(--cc-border);
}
#accomar-cc .cc-cat-info h4 { margin: 0 0 4px; font-size: 15px; color: var(--cc-accent); }
#accomar-cc .cc-cat-info p { margin: 0; font-size: 13px; color: var(--cc-muted); }

#accomar-cc .cc-switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; margin-top: 2px; }
#accomar-cc .cc-switch input { opacity: 0; width: 0; height: 0; }
#accomar-cc .cc-slider { position: absolute; inset: 0; cursor: pointer; background: #c5cfd9; border-radius: 26px; transition: background .2s ease; }
#accomar-cc .cc-slider::before { content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s ease; }
#accomar-cc .cc-switch input:checked + .cc-slider { background: var(--cc-accent-2); }
#accomar-cc .cc-switch input:checked + .cc-slider::before { transform: translateX(20px); }
#accomar-cc .cc-switch input:disabled + .cc-slider { background: var(--cc-accent); opacity: .65; cursor: not-allowed; }
#accomar-cc .cc-locked { font-size: 12px; color: var(--cc-accent-2); font-weight: 600; white-space: nowrap; align-self: center; }

#accomar-cc .cc-fab {
	position: fixed; left: 18px; bottom: 18px; z-index: 2147483645;
	width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
	background: var(--cc-accent); color: #fff; box-shadow: 0 4px 14px rgba(14,42,71,.3);
	display: none; align-items: center; justify-content: center; padding: 0;
}
#accomar-cc .cc-fab svg { width: 22px; height: 22px; }
#accomar-cc.cc-decided.cc-fab-on .cc-fab { display: flex; }

@media (max-width: 480px) {
	#accomar-cc .cc-panel { left: 0; right: 0; bottom: 0; transform: translateY(20px); width: 100%; border-radius: 14px 14px 0 0; max-height: 90vh; }
	#accomar-cc.cc-show .cc-panel { transform: translateY(0); }
	#accomar-cc button { flex-basis: 100%; }
}
