/* Cookie consent card (tripguide-consent.js). Shared by the Vaadin shell (AppShell) and the React shell; uses --pink, --pink-dark, --line and --muted. */
.tg-consent{position:fixed;left:20px;bottom:20px;z-index:1100;box-sizing:border-box;width:384px;max-width:calc(100vw - 40px);max-height:calc(100vh - 40px);overflow:auto;background:#fff;color:var(--ink);border-radius:16px;padding:18px 18px 14px;box-shadow:0 14px 50px rgba(29,39,50,.25),0 0 0 1px rgba(38,49,61,.08);font-size:14px;line-height:1.5}
.tg-consent:focus{outline:none}
.tg-consent *{box-sizing:border-box}
.tg-consent-head{display:flex;gap:12px;align-items:flex-start}
.tg-consent-badge{width:36px;height:36px;border-radius:11px;background:#fff0f4;color:var(--pink-dark);display:grid;place-items:center;flex:none}
.tg-consent-badge svg{width:20px;height:20px}
.tg-consent h2{margin:2px 0 4px;font-size:16px;line-height:1.2;letter-spacing:-.03em;font-weight:900}
.tg-consent p{margin:0;font-size:13px;color:#55626d}
.tg-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.tg-consent-btn{font:inherit;font-size:13px;font-weight:900;text-align:center;padding:10px 8px;border-radius:9px;border:1px solid #d9e0e4;background:#fff;color:#2e3945;cursor:pointer}
.tg-consent-btn:hover{background:#f4f7f8}
.tg-consent-btn.tg-consent-primary{background:var(--pink);border-color:var(--pink);color:#fff}
.tg-consent-btn.tg-consent-primary:hover{background:var(--pink-dark)}
.tg-consent-more{margin-top:6px;display:flex;justify-content:space-between;align-items:center}
.tg-consent-link{font:inherit;font-size:13px;font-weight:900;background:none;border:0;padding:6px 2px;color:var(--pink-dark);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.tg-consent-panel{margin-top:6px;border-top:1px solid var(--line)}
.tg-consent-panel[hidden]{display:none}
.tg-consent-panel .tg-consent-btn{width:100%;margin-top:6px}
.tg-consent-cat{display:flex;gap:14px;align-items:flex-start;padding:11px 0;border-top:1px solid var(--line);cursor:pointer}
.tg-consent-cat:first-child{border-top:0}
.tg-consent-cat-text{flex:1;min-width:0}
.tg-consent-cat strong{display:block;font-size:14px}
.tg-consent-cat em{font-style:normal;font-size:11px;font-weight:900;color:#2f7d55;background:#e8f6ee;border-radius:99px;padding:2px 8px;margin-left:6px;vertical-align:1px}
.tg-consent-cat-desc{display:block;font-size:12.5px;color:var(--muted);line-height:1.45;margin-top:1px}
.tg-consent-switch{position:relative;width:44px;height:26px;flex:none}
.tg-consent-switch input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer;z-index:1}
.tg-consent-switch i{position:absolute;inset:0;border-radius:99px;background:#c9d2d8;transition:background .15s}
.tg-consent-switch i::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .15s}
.tg-consent-switch input:checked+i{background:var(--pink)}
.tg-consent-switch input:checked+i::after{transform:translateX(18px)}
.tg-consent-switch input:disabled{cursor:not-allowed}
.tg-consent-switch input:disabled+i{opacity:.55}
.tg-consent-switch input:focus-visible+i,.tg-consent-btn:focus-visible,.tg-consent-link:focus-visible{outline:3px solid #80c9df;outline-offset:2px}
.tg-consent-toast{position:fixed;left:20px;bottom:20px;z-index:1100;display:flex;gap:14px;align-items:center;max-width:calc(100vw - 40px);background:#1d2732;color:#fff;border-radius:12px;padding:10px 14px 10px 16px;font-size:13px;box-shadow:0 10px 36px rgba(0,0,0,.3)}
.tg-consent-toast .tg-consent-link{color:#ffb3c4;padding:2px}
@media(max-width:520px){.tg-consent{left:10px;right:10px;bottom:10px;width:auto;max-width:none}.tg-consent-toast{left:10px;bottom:10px}}
@media(prefers-reduced-motion:reduce){.tg-consent-switch i,.tg-consent-switch i::after{transition:none}}
