/* Overlay that blocks pointer events across the page */
#cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0); /* transparent but intercepts pointer events */
    z-index: 9997;
    display: none; /* shown when cookies not accepted */
}

  /* Cookie banner */
#cookie-banner {
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 9999;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 16px;
    display: none; /* shown when cookies not accepted */
    margin: 0 auto;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

#cookie-banner .content {
    display:flex;
    gap:12px;
    align-items: center;
    flex-wrap:wrap;
}

#cookie-banner p {
    margin: 0;
    line-height: 1.35;
    font-size: 14px;
    color: #222;
    flex: 1 1 420px;
}

#cookie-banner .actions {
    display:flex;
    gap:8px;
    align-items:center;
}

.btn {
    border: 0;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-primary {
    background: #0b74de;
    color: white;
}

.btn-secondary {
    background: #f2f4f7;
    color: #111;
}

/* small footer cookie link (non-blocking) */
.cookie-footer-link {
    display: inline-block;
    margin-left: 8px;
    font-size: 13px;
    color: #0b74de;
    text-decoration: none;
}
.cookie-footer-link:focus { outline: 2px solid #9ad0ff; outline-offset: 2px; }

/* When overlay is shown, keep pointer-events on the banner itself enabled */
#cookie-banner,
#cookie-banner * {
    pointer-events: auto;
}