.cookie-consent{position:fixed;z-index:1000;inset:auto 18px 18px auto;direction:ltr;pointer-events:none;color:#fff8e9;font-family:inherit;animation:cookie-enter .35s ease-out both}
.cookie-consent[dir="rtl"] .cookie-consent-glass{direction:rtl}
.cookie-consent-glass{pointer-events:auto;position:relative;width:min(680px,calc(100vw - 36px));padding:18px 22px;border:1px solid rgba(243,218,158,.74);border-radius:22px;background:linear-gradient(135deg,rgba(12,49,37,.8),rgba(7,38,29,.8));box-shadow:0 20px 48px rgba(0,17,11,.31),inset 0 1px 1px rgba(255,249,218,.55),inset 0 -1px 2px rgba(235,196,109,.3),0 0 20px rgba(190,153,80,.11);-webkit-backdrop-filter:blur(6px) saturate(1.1);backdrop-filter:blur(6px) saturate(1.1);overflow:hidden}
.cookie-consent-glass:before{content:"";position:absolute;inset:3px;pointer-events:none;border:1px solid rgba(255,252,230,.14);border-radius:24px;background:linear-gradient(115deg,rgba(255,255,255,.12),transparent 30%,transparent 74%,rgba(230,191,111,.08));opacity:.65;transition:opacity .25s}
.cookie-consent-glass:hover:before{opacity:1}
.cookie-consent-glass:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(105deg,transparent 15%,rgba(255,255,255,.12) 31%,transparent 43%);opacity:.5;transform:translateX(-23%);transition:transform .5s ease,opacity .5s ease}
.cookie-consent-glass:hover:after{transform:translateX(19%);opacity:.7}
.cookie-consent-glass h2{position:relative;z-index:1;margin:0 0 6px;font-size:clamp(1.25rem,2vw,1.55rem);line-height:1.25;font-weight:650;color:#fff8e9;text-shadow:0 2px 9px rgba(0,18,12,.95)}
.cookie-consent-intro{position:relative;z-index:1;margin:0 0 12px;line-height:1.5;font-size:.88rem;color:#fff9eb;text-shadow:0 1px 6px rgba(0,18,12,.95)}
.cookie-consent-actions{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cookie-consent-actions button{min-height:44px;border-radius:12px;border:1px solid rgba(246,219,158,.78);background:rgba(7,44,33,.47);color:#fff9e8;cursor:pointer;padding:7px 9px;font:inherit;font-size:.82rem;font-weight:650;text-shadow:0 1px 3px rgba(0,22,15,.6);transition:transform .18s,background .18s,box-shadow .18s}
.cookie-consent-actions button:first-child{background:#dec185;color:#143329;border-color:#f1d89a;text-shadow:none}
.cookie-consent-actions button:last-child{background:rgba(9,46,36,.33)}
.cookie-consent-actions button:hover{transform:translateY(-2px);box-shadow:0 5px 16px rgba(0,0,0,.2)}
.cookie-consent-actions button:active{transform:translateY(1px)}
.cookie-consent button:focus-visible,.cookie-settings-link:focus-visible{outline:3px solid #fff;outline-offset:3px}
.cookie-consent-options{position:relative;z-index:1;margin:0 0 17px;border:1px solid rgba(245,223,168,.54);border-radius:13px;overflow:hidden;background:rgba(4,31,24,.32);text-shadow:0 1px 5px rgba(0,18,12,.8)}
.cookie-consent-options>div,.cookie-consent-options>label{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 13px}
.cookie-consent-options>label{border-top:1px solid rgba(245,223,168,.3);cursor:pointer}
.cookie-consent-options strong,.cookie-consent-options small{display:block}.cookie-consent-options strong{font-size:.9rem}.cookie-consent-options small{margin-top:2px;color:#fff8e9;font-size:.76rem;line-height:1.4}
.cookie-consent-options input{width:20px;height:20px;flex:none;accent-color:#d8b777}.cookie-consent-always{white-space:nowrap;font-size:.75rem;color:#ffe0a0}
.cookie-consent-back{position:relative;z-index:1;margin-top:8px;color:#fff1c8;border:0;background:none;cursor:pointer;font:inherit;text-decoration:underline}
.cookie-settings-link{border:0;background:none;color:inherit;font:inherit;font-size:.82rem;text-decoration:underline;cursor:pointer;padding:0}
.cookie-footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
@keyframes cookie-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.cookie-consent{inset:auto 10px 10px}.cookie-consent-glass{width:calc(100vw - 20px);padding:14px 15px;border-radius:18px;max-height:min(65dvh,520px);overflow:auto}.cookie-consent-glass:before{border-radius:15px}.cookie-consent-glass h2{font-size:1.17rem}.cookie-consent-intro{font-size:.78rem;line-height:1.45;margin-bottom:10px}.cookie-consent-actions{grid-template-columns:1fr 1fr;gap:6px}.cookie-consent-actions button{min-height:39px;padding:6px;font-size:.73rem}.cookie-consent-actions button:last-child{grid-column:1 / -1}}
@media(prefers-reduced-motion:reduce){.cookie-consent{animation:none}.cookie-consent-glass:before,.cookie-consent-glass:after,.cookie-consent-actions button{transition:none}.cookie-consent-actions button:hover,.cookie-consent-actions button:active{transform:none}}

.medical-insight-consent{inset:auto 12px max(12px,env(safe-area-inset-bottom)) auto;margin:0;padding:0;border:0;background:transparent;max-width:calc(100vw - 24px);max-height:75dvh;overflow:auto;pointer-events:auto}.medical-insight-consent:not([open]){display:none}.medical-insight-consent::backdrop{background:#041c1466}.medical-insight-consent .cookie-consent-glass{box-sizing:border-box;width:min(600px,calc(100vw - 24px));max-height:70dvh;overflow:auto;background:#103c30}.medical-insight-consent .cookie-consent-actions{grid-template-columns:1fr 1fr}.medical-insight-consent .cookie-consent-actions button{min-height:44px;background:#fff8e9;color:#143329;text-shadow:none}.medical-insight-consent .cookie-consent-actions button:last-child{grid-column:auto}.medical-insight-consent [role=alert]{color:#fff8e9;line-height:1.6}.medical-insight-consent .cookie-consent-glass::before,.medical-insight-consent .cookie-consent-glass::after{display:none}.medical-insight-consent-settings{min-height:44px;padding:8px;color:#173f35}.medical-insight-consent-settings:focus-visible{outline:3px solid #2468a1;outline-offset:3px}
