.cookie-panel { position: fixed; right: 24px; bottom: 24px; z-index: 200; width: min(510px, calc(100% - 48px)); max-height: calc(100svh - 48px); overflow-y: auto; padding: 28px; background: rgb(250 252 255 / 96%); border: 1px solid rgb(255 255 255 / 90%); border-radius: 24px; box-shadow: 0 18px 80px rgb(3 26 44 / 22%), 0 2px 10px rgb(3 26 44 / 6%); backdrop-filter: blur(24px); color: #17374c; font-family: 'Segoe UI', 'Helvetica Neue', system-ui, sans-serif; animation: cookie-enter .5s cubic-bezier(.22,.61,.36,1) both; }
.cookie-panel[hidden],.cookie-panel [hidden],.cookie-feedback[hidden],.footer-cookie-preferences[hidden] { display: none; }
.cookie-panel-heading { display: flex; align-items: center; gap: 14px; }
.cookie-symbol { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dde9f1; border-radius: 14px; background: #edf3f9; color: #4388ad; flex-shrink: 0; }
.cookie-symbol svg { height: 23px; width: 23px; }
.cookie-eyebrow { display: block; color: #648197; font-size: .5625rem; font-weight: 500; letter-spacing: .12em; margin-bottom: 5px; }
.cookie-panel h2 { font-size: 1.375rem; font-weight: 500; line-height: 1.3; letter-spacing: -.035em; }
.cookie-description { font-size: .8125rem; line-height: 1.85; color: #6c7f8e; margin-top: 20px; }
.cookie-policy-link { display: inline-flex; gap: 12px; align-items: center; font-size: .75rem; color: #28678c; margin-top: 10px; }
.cookie-policy-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.cookie-button { flex: 1; min-width: 100px; min-height: 42px; border: 1px solid #dce5ed; border-radius: 10px; padding: 10px 12px; font-size: .6875rem; line-height: 1.4; font-weight: 500; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.cookie-button-secondary { background: #fff; color: #345a74; }
.cookie-button-secondary:hover { background: #edf3f8; border-color: #b6ccd9; }
.cookie-button-primary { background: #173e58; color: white; border-color: #173e58; }
.cookie-button-primary:hover { background: #216a92; border-color: #216a92; }
.cookie-options { margin-top: 22px; padding-top: 2px; border-top: 1px solid #e0e7ee; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 17px; border-bottom: 1px solid #e0e7ee; }
.cookie-option strong { font-size: .8125rem; font-weight: 500; display: block; }
.cookie-option small { font-size: .6875rem; line-height: 1.7; color: #7b8c99; display: block; margin-top: 5px; max-width: 310px; }
.cookie-required { font-size: .625rem; white-space: nowrap; color: #6c8a9e; }
.cookie-switch { position: relative; width: 42px; height: 25px; flex-shrink: 0; }
.cookie-switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cookie-switch > span { display: block; height: 25px; width: 42px; background: #cbd5de; border-radius: 30px; transition: background .3s; }
.cookie-switch > span::after { content: ''; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgb(0 0 0 / 10%); transition: transform .3s; }
.cookie-switch input:checked + span { background: #238caf; }
.cookie-switch input:checked + span::after { transform: translateX(17px); }
.cookie-switch input:focus-visible + span { outline: 2px solid #247fa6; outline-offset: 4px; }
.cookie-options-note { font-size: .625rem; line-height: 1.7; margin-top: 14px; color: #8294a1; }
.cookie-dismiss { display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: #ecf1f5; color: #7890a1; cursor: pointer; }
.cookie-dismiss svg { width: 16px; height: 16px; }
.cookie-feedback { position: fixed; right: 24px; bottom: 24px; z-index: 201; width: min(420px,calc(100% - 48px)); color: #315d74; background: #f8fcff; box-shadow: 0 8px 35px rgb(7 38 58 / 16%); border: 1px solid #deebf2; border-radius: 14px; padding: 16px 20px; font: .8125rem/1.7 'Segoe UI',system-ui,sans-serif; animation: cookie-enter .4s ease both; }
.footer-cookie-preferences { background: transparent; border: 0; padding: 10px 0 0; color: #7691a4; font: .6875rem/1.5 'Segoe UI',system-ui,sans-serif; cursor: pointer; transition: color .3s; }
.footer-cookie-preferences:hover { color: #2478a3; }
.traffic-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; text-align: center; background: linear-gradient(135deg,#f4f8fb,#e8f0f7); z-index: 2; }
.traffic-consent[hidden] { display: none; }
#traffic-map[hidden] { display: none; }
.traffic-consent svg { width: 42px; height: 42px; color: #6b95b1; margin-bottom: 20px; }
.traffic-consent h2 { font: 500 1.5rem/1.3 'Segoe UI',system-ui,sans-serif; color: #234b66; letter-spacing: -.03em; }
.traffic-consent p { font-size: .875rem; line-height: 1.85; max-width: 450px; margin-top: 16px; }
.traffic-consent button { margin-top: 22px; flex: none; padding-inline: 24px; font-size: .8125rem; }
@keyframes cookie-enter { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media(max-width:760px) { .cookie-panel { right: 14px; bottom: 14px; width: calc(100% - 28px); max-height: calc(100svh - 28px); padding: 22px; border-radius: 20px; } .cookie-actions { gap: 7px; } .cookie-button { min-width: 80px; padding-inline: 8px; font-size: .625rem; } .cookie-feedback { right: 14px; bottom: 14px; width: calc(100% - 28px); } .traffic-consent { padding: 24px; } }
@media(prefers-reduced-motion:reduce) { .cookie-panel,.cookie-feedback { animation: none; } .cookie-panel * { transition: none; } }
@media print { .cookie-panel,.cookie-feedback,.footer-cookie-preferences { display: none !important; } }
