/* Cookie banner: self-contained, used on the website and on login / register. Fixed, so it never shifts the page. */
.cc {
    position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 2147483000;
    width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; box-sizing: border-box;
    padding: 20px; border-radius: 16px; background: #fff; color: #334155; border: 1px solid #E2E8F0;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .22); font: 400 14px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.cc[hidden], .cc [hidden] { display: none !important; }
/* The panel theme styles h2 with !important on login / register */
.cc .cc__title { margin: 0 0 6px !important; font-size: 16px !important; line-height: 1.3 !important; font-weight: 700 !important; color: #0F172A !important; letter-spacing: 0; }
.cc__text { margin: 0 0 14px; }
.cc__text a { color: #4338CA; text-decoration: underline; }
.cc__prefs { margin: 0 0 14px; border-top: 1px solid #E2E8F0; }
.cc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 10px 0; border-bottom: 1px solid #E2E8F0; font-weight: 400; }
label.cc__row { cursor: pointer; }
.cc__row strong { display: block; color: #0F172A; font-size: 14px; }
.cc__row span { display: block; font-size: 13px; line-height: 1.4; }
.cc__row input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: #4338CA; cursor: pointer; }
.cc__always { flex: none; font-size: 12px !important; font-weight: 600; color: #15803D; }
.cc__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
/* Accept and reject look the same: neither choice is pushed */
.cc__btn { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 6px; border-radius: 10px; border: 1px solid #4338CA; background: #fff; color: #4338CA; text-align: center; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.cc__btn:hover { background: #4338CA; color: #fff; }
.cc__btn:focus-visible, .cc__row input:focus-visible, .cc__text a:focus-visible { outline: 2px solid #4338CA; outline-offset: 2px; }
.cc-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
