/* Cookie consent banner — plain functional styling only. Fixed, dark, and
   theme-independent so it looks consistent on Tailwind pages and on the
   standalone D3 viewers (which don't load Tailwind at all). Intended as a
   draft baseline for the site owner to restyle later. */

#cookie-consent-banner.hidden {
    display: none;
}

#cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding: 0.9rem 1.25rem;
    background: #14181f;
    color: #e2e8f0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-family: 'Space Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
}

#cookie-consent-banner p {
    margin: 0;
    max-width: 60ch;
}

#cookie-consent-banner a {
    color: inherit;
    text-decoration: underline;
}

#cookie-consent-banner .cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

#cookie-consent-banner button {
    font-family: inherit;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

#cookie-consent-banner button:hover {
    background: rgba(255, 255, 255, 0.08);
}

#cookie-consent-accept {
    background: #e2e8f0;
    color: #14181f;
    border-color: #e2e8f0;
}

#cookie-consent-accept:hover {
    opacity: 0.9;
    background: #e2e8f0;
}
