:root { --gds-cookie-accent: #c46b2b; }
.gds-cookie-hidden { display: none !important; }
.gds-cookie-consent { position: fixed; inset: 0; z-index: 999999; font-family: inherit; color: #222; }
.gds-cookie-consent[data-mode="modal"] { background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gds-cookie-consent[data-mode="banner"] { inset: auto 0 0 0; background: transparent; padding: 16px; }
.gds-cookie-consent[data-mode="banner"][data-position="top"] { top: 0; bottom: auto; }
.gds-cookie-panel { width: min(720px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.22); padding: 24px; border: 1px solid rgba(0,0,0,.08); position: relative; }
.gds-cookie-consent[data-mode="banner"] .gds-cookie-panel { width: min(1180px, calc(100% - 20px)); margin: 0 auto; border-radius: 14px; }
.gds-cookie-close { position: absolute; right: 14px; top: 10px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: #555; }
.gds-cookie-header { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.gds-cookie-badge { width: 46px; height: 46px; border-radius: 50%; background: var(--gds-cookie-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; flex: 0 0 46px; }
.gds-cookie-panel h2 { margin: 0; font-size: 24px; line-height: 1.2; }
.gds-cookie-brand { margin: 4px 0 0; color: #666; font-size: 14px; }
.gds-cookie-message, .gds-cookie-ccpa { margin: 10px 0; line-height: 1.55; }
.gds-cookie-ccpa { font-size: 13px; color: #555; }
.gds-cookie-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.gds-cookie-links a, .gds-cookie-settings-link { color: var(--gds-cookie-accent); text-decoration: underline; cursor: pointer; }
.gds-cookie-preferences { margin: 16px 0; border-top: 1px solid #eee; }
.gds-cookie-category { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid #eee; align-items: center; }
.gds-cookie-category p { margin: 5px 0 0; font-size: 13px; color: #666; line-height: 1.4; }
.gds-cookie-switch { position: relative; display: inline-block; width: 52px; height: 30px; flex: 0 0 52px; }
.gds-cookie-switch input { opacity: 0; width: 0; height: 0; }
.gds-cookie-switch span { position: absolute; cursor: pointer; inset: 0; background: #d1d5db; border-radius: 999px; transition: .2s; }
.gds-cookie-switch span:before { position: absolute; content: ""; height: 22px; width: 22px; left: 4px; bottom: 4px; background: white; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.gds-cookie-switch input:checked + span { background: var(--gds-cookie-accent); }
.gds-cookie-switch input:checked + span:before { transform: translateX(22px); }
.gds-cookie-switch input:disabled + span { opacity: .65; cursor: not-allowed; }
.gds-cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.gds-cookie-btn { border-radius: 999px; padding: 11px 18px; font-weight: 700; cursor: pointer; border: 1px solid var(--gds-cookie-accent); transition: .2s; }
.gds-cookie-btn-primary { background: var(--gds-cookie-accent); color: #fff; }
.gds-cookie-btn-secondary { background: #fff; color: var(--gds-cookie-accent); }
.gds-cookie-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.gds-cookie-floating { position: fixed; left: 18px; bottom: 18px; z-index: 999998; border: 1px solid var(--gds-cookie-accent); background: #fff; color: var(--gds-cookie-accent); border-radius: 999px; padding: 10px 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.14); cursor: pointer; }
.gds-cookie-settings-link { border: 0; background: transparent; padding: 0; font: inherit; }
@media (max-width: 640px) { .gds-cookie-panel { padding: 20px 16px; border-radius: 14px; } .gds-cookie-actions { flex-direction: column; } .gds-cookie-btn { width: 100%; } .gds-cookie-panel h2 { font-size: 20px; } }
