#cookie-consent [hidden] { display:none !important; }
#cookie-consent { --cookie-blue:#16a2d4; font-family:var(--rs-ff-body,Arial,sans-serif); color:#414141; }
.cookie-banner { position:fixed; bottom:12px; left:12px; z-index:5000; width:min(900px,calc(100% - 24px)); padding:16px; background:#fff; color:#333; border:1px solid #e0e0e0; border-radius:3px; box-shadow:0 1px 8px #0003; }
.cookie-banner h2 { margin:0 30px 8px 0; font-size:14px; font-weight:600; }
.cookie-banner p { font-size:12px; line-height:1.5; margin:0; }
#cookie-consent a { color:#397fa5; text-decoration:none; }
#cookie-consent a:hover { text-decoration:underline; }
.cookie-banner-close { position:absolute; right:12px; top:8px; background:none; border:0; color:#444; font-size:22px; cursor:pointer; }
.cookie-banner-actions { display:flex; align-items:center; justify-content:flex-end; gap:18px; margin-top:12px; }
.cookie-primary { padding:10px 23px; background:var(--cookie-blue); border:1px solid var(--cookie-blue); border-radius:3px; color:#fff; font-size:14px; font-weight:600; cursor:pointer; }
.cookie-primary:hover { background:#078cbe; }
.cookie-link-button { padding:10px 6px; color:#397fa5; background:transparent; border:0; font-size:14px; cursor:pointer; }
.cookie-reopen { position:fixed; bottom:10px; left:16px; z-index:1300; background:white; color:#444; border:1px solid #ddd; border-radius:3px; padding:6px 10px; font-size:12px; cursor:pointer; }
#cookie-preferences:not([open]) { display:none; }
#cookie-preferences[open] { display:flex; flex-direction:column; }
#cookie-preferences { position:fixed; inset:0; margin:auto; padding:0; width:min(600px,calc(100% - 24px)); max-height:calc(100dvh - 40px); border:1px solid #555; border-radius:5px; overflow:hidden; background:#fff; color:#414141; box-shadow:0 2px 10px #0006; }
#cookie-preferences::backdrop { background:rgba(0,0,0,.5); }
.cookie-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:20px; background:#edf2f6; padding:19px 20px; flex-shrink:0; }
.cookie-dialog-header h2 { margin:0; font-size:19px; line-height:1.3; font-weight:500; color:#3d4558; }
.cookie-dialog-header>button { border:0; background:transparent; font-size:21px; color:#3d4558; cursor:pointer; }
.cookie-dialog-body { padding:16px 15px 28px; overflow-y:auto; }
.cookie-intro { font-size:15px; line-height:1.3; margin:0 0 10px; }
.cookie-policy-links { font-size:15px; line-height:1.4; margin:0 0 8px; }
.cookie-accept-all { margin-bottom:13px; }
.cookie-dialog-body h3 { font-size:16px; font-weight:600; line-height:1.4; margin:0 0 12px; }
.cookie-category { border:1px solid #dcdcdc; margin-top:14px; }
.cookie-category-header { position:relative; display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:40px; padding-right:7px; }
.cookie-expand { flex:1; text-align:left; background:transparent; border:0; color:#656565; padding:9px 8px; font-size:15px; line-height:1.4; cursor:pointer; }
.cookie-expand::before { content:'+'; display:inline-block; width:22px; }
.cookie-expand[aria-expanded="true"]::before { content:'−'; }
.cookie-always-active { color:#228cc2; font-size:14px; font-weight:600; white-space:nowrap; }
.cookie-category-description { padding:10px 12px 14px; border-top:1px solid #eee; font-size:13px; line-height:1.6; color:#666; }
.cookie-switch { position:relative; display:block; flex:0 0 52px; width:52px; height:26px; margin:0; cursor:pointer; }
#cookie-preferences .cookie-switch input[type=checkbox] { display:block; position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; z-index:1; }
.cookie-switch>span { display:block; height:100%; background:#c4c8cc; border-radius:20px; transition:background .15s; }
.cookie-switch>span::after { content:''; position:absolute; width:22px; height:22px; top:2px; left:2px; border:1px solid #aaa; border-radius:50%; background:#fff; box-shadow:0 1px 3px #0003; transition:transform .15s; }
.cookie-switch input:checked+span { background:#55bd85; }
.cookie-switch input:checked+span::after { transform:translateX(26px); border-color:#299759; }
.cookie-switch input:focus-visible+span { outline:2px solid #218fc1; outline-offset:3px; }
.cookie-dialog-footer { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:24px; padding:15px; border-top:1px solid #ddd; flex-shrink:0; }
.cookie-reject { color:#414141; }
#cookie-consent button:disabled { opacity:.6; cursor:wait; }
.cookie-error { color:#b00020; font-size:13px; margin-top:10px; }
@media(max-width:575px) { #cookie-preferences { max-height:calc(100dvh - 24px); } .cookie-banner { max-height:60dvh; overflow-y:auto; } .cookie-dialog-header { padding:16px; } .cookie-dialog-body { padding:16px 12px 20px; } .cookie-expand { font-size:13px; padding-left:7px; } .cookie-expand::before { width:16px; } .cookie-always-active { font-size:11px; } .cookie-dialog-footer { gap:6px; } .cookie-dialog-footer button { flex:1 1 auto; font-size:12px; padding-inline:10px; } }
