.consent-banner { position: fixed; z-index: 90; left: 24px; right: 24px; bottom: max(20px, env(safe-area-inset-bottom, 0px)); margin: auto; max-width: 1200px; border: 1px solid #d9e3f2; border-radius: 18px; background: #fff; color: #03193a; box-shadow: 0 12px 55px #03193a28; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; font-family: Inter, Arial, sans-serif; }
.consent-banner[hidden] { display: none !important; }
.consent-copy { display: flex; gap: 16px; align-items: center; }
.consent-symbol { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #edf2ff; color: #2347d8; font-size: 22px; }
.consent-copy h2 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 0 0 7px; letter-spacing: -.25px; }
.consent-copy p { font-size: 12px; color: #63728a; line-height: 1.75; max-width: 610px; margin: 0; text-wrap: pretty; }
.consent-copy a, .consent-detail a { color: #2347d8; text-decoration: underline; text-underline-offset: 3px; }
.consent-actions, .consent-dialog-actions { display: flex; gap: 9px; flex-shrink: 0; flex-wrap: wrap; }
.consent-button { font: 500 12px Inter, Arial, sans-serif; border: 1px solid #cbd7ef; border-radius: 9px; padding: 11px 14px; min-height: 42px; background: #fff; color: #2347d8; cursor: pointer; transition: background .2s; }
.consent-button:hover { background: #edf2ff; }
.consent-button:focus-visible, .consent-close:focus-visible { outline: 3px solid #8cabff; outline-offset: 3px; }
.consent-dialog { width: min(580px, calc(100vw - 32px)); max-height: calc(100svh - 40px); overflow-y: auto; border: 1px solid #dae3f3; border-radius: 24px; padding: 32px; background: #fff; color: #03193a; box-shadow: 0 24px 100px #03193a40; font-family: Inter, Arial, sans-serif; margin: auto; }
.consent-dialog::backdrop { background: #03193a66; backdrop-filter: blur(5px); }
.consent-dialog-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.consent-eyebrow { color: #2347d8; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; }
.consent-close { border: 1px solid #e0e7f1; background: #f7f9fc; border-radius: 9px; width: 34px; height: 34px; color: #63728a; font-size: 24px; cursor: pointer; line-height: 1; }
.consent-dialog h2 { font-size: 29px; line-height: 1.2; letter-spacing: -.8px; margin: 0 0 14px; font-weight: 600; text-wrap: pretty; }
.consent-dialog #cookie-description { font-size: 13px; color: #63728a; line-height: 1.9; margin: 0 0 25px; }
.consent-category { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; border-top: 1px solid #e6ecf5; }
.consent-category h3 { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 0 0 6px; }
.consent-category p { font-size: 12px; color: #63728a; line-height: 1.85; margin: 0; max-width: 370px; }
.consent-always, .consent-inactive { flex-shrink: 0; font-size: 10px; padding: 5px 8px; border-radius: 6px; background: #edf6f1; color: #257755; }
.consent-inactive { background: #f2f5fa; color: #63728a; }
.consent-switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; cursor: pointer; }
.consent-switch input { position: absolute; opacity: 0; width: 42px; height: 24px; margin: 0; }
.consent-switch > span[aria-hidden] { display: block; width: 42px; height: 24px; border-radius: 20px; background: #c7d1e0; transition: background .2s; }
.consent-switch > span[aria-hidden]::after { content: ''; display: block; position: absolute; width: 18px; height: 18px; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 6px #03193a20; }
.consent-switch input:checked + span { background: #2347d8; }
.consent-switch input:checked + span::after { transform: translateX(18px); }
.consent-switch input:focus-visible + span { outline: 3px solid #8cabff; outline-offset: 3px; }
.consent-sr { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.consent-detail { font-size: 11px; line-height: 1.9; color: #63728a; border-top: 1px solid #e6ecf5; padding-top: 19px; margin: 0 0 20px; }
.consent-status { font-size: 11px; color: #63728a; line-height: 1.7; margin: 0 0 15px; }
.consent-status:empty { display: none; }
.consent-dialog-actions { justify-content: space-between; }
.footer-bottom .cookie-settings { border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.footer-bottom .cookie-settings:hover { color: #fff; text-decoration: underline; }
@media (max-width: 1050px) { .consent-banner { flex-direction: column; align-items: flex-start; gap: 16px; } .consent-copy p { max-width: none; } .consent-actions { margin-left: 60px; } }
@media (max-width: 600px) { .consent-banner { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); padding: 18px; border-radius: 15px; } .consent-copy { gap: 12px; align-items: flex-start; } .consent-symbol { width: 34px; height: 34px; font-size: 18px; } .consent-copy p { font-size: 11px; } .consent-actions { margin-left: 0; width: 100%; gap: 6px; } .consent-actions .consent-button { flex: 1; padding: 10px 7px; font-size: 10px; } .consent-dialog { padding: 24px; } .consent-dialog h2 { font-size: 26px; } .consent-category { gap: 15px; } }
@media (prefers-reduced-motion: reduce) { .consent-switch > span[aria-hidden], .consent-switch > span[aria-hidden]::after { transition: none; } }
