/* Public-site cookie notice: compact, nonmodal, and independent of icon fonts. */
#cookieBanner.backx-cookie-banner {
    position: fixed;
    z-index: 100;
    left: max(24px, env(safe-area-inset-left));
    bottom: max(24px, env(safe-area-inset-bottom));
    width: min(440px, calc(100vw - 48px));
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    padding: 22px;
    border: 1px solid #d9e3f0;
    border-radius: 20px;
    background: radial-gradient(ellipse at 100% 0, #edf4ff 0, transparent 65%), #fff;
    color: #172c48;
    box-shadow: 0 16px 54px -22px #17375b52, 0 2px 8px #17375b08;
    font-family: "Backx Public Inter", Inter, system-ui, sans-serif;
    text-align: left;
    animation: backx-cookie-enter .35s cubic-bezier(.22,1,.36,1) both;
}
#cookieBanner.backx-cookie-banner[hidden] { display: none; }
#cookieBanner .backx-cookie-heading { display: flex; align-items: center; gap: 11px; }
#cookieBanner .backx-cookie-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border: 1px solid #dce9ff;
    border-radius: 11px;
    background: #edf4ff;
    color: #0864e9;
}
#cookieBanner .backx-cookie-icon svg { width: 20px; height: 20px; }
#cookieBanner h2 {
    margin: 0;
    color: #172c48;
    font-family: inherit;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: -.25px;
}
#cookieBanner .backx-cookie-copy {
    margin: 12px 0 0;
    color: #566a83;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.75;
}
#cookieBanner .backx-cookie-policy {
    display: inline;
    color: #335c8f;
    font-size: inherit;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
#cookieBanner .backx-cookie-policy:hover { color: #0756cb; }
#cookieBanner .backx-cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
#cookieBanner .backx-cookie-choice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 11px 14px;
    border: 1px solid #cbd8ea;
    border-radius: 10px;
    background: #fff;
    color: #23405f;
    font: 600 12px/1.5 "Backx Public Inter", Inter, system-ui, sans-serif;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
#cookieBanner .backx-cookie-choice:hover { border-color: #a7c2e8; background: #f3f7fd; }
#cookieBanner .backx-cookie-choice--accept { border-color: #0066ff; background: #0066ff; color: #fff; }
#cookieBanner .backx-cookie-choice--accept:hover { border-color: #0756cb; background: #0756cb; color: #fff; }
#cookieBanner :is(a, button):focus-visible { outline: 3px solid #81b5ff; outline-offset: 3px; }
.backx-public-footer .backx-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
.backx-public-footer .backx-cookie-preferences {
    min-height: 36px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: #c4d1e4;
    font: 500 11px/1.5 "Backx Public Inter", Inter, system-ui, sans-serif;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}
.backx-public-footer .backx-cookie-preferences:hover { color: #fff; }
.backx-public-footer .backx-cookie-preferences:focus-visible { outline: 2px solid #9cc6ff; outline-offset: 4px; border-radius: 2px; }
@keyframes backx-cookie-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
    #cookieBanner.backx-cookie-banner {
        left: max(16px, env(safe-area-inset-left));
        bottom: max(16px, env(safe-area-inset-bottom));
        right: max(16px, env(safe-area-inset-right));
        width: auto;
        max-height: calc(100dvh - 32px);
        padding: 18px;
        border-radius: 18px;
    }
    #cookieBanner .backx-cookie-heading { gap: 10px; }
    #cookieBanner h2 { font-size: 14px; }
    #cookieBanner .backx-cookie-copy { margin-top: 10px; }
    #cookieBanner .backx-cookie-actions { margin-top: 15px; gap: 8px; }
    #cookieBanner .backx-cookie-choice { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    #cookieBanner.backx-cookie-banner { animation: none; }
    #cookieBanner .backx-cookie-choice { transition: none; }
}
