/* Cookie banner (inc/analytics.php, assets/js/cookie-consent.js). */

/* The footer copyright block uses z-index 1000000, so the banner must be higher. */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 24px;
    padding: 16px 20px;
    background: #1a1a1a;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__text {
    margin: 0;
    max-width: 720px;
}

.cookie-banner__buttons {
    display: flex;
    gap: 12px;
}

.cookie-banner__button {
    padding: 8px 20px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.cookie-banner__button--accept {
    background: #fff;
    color: #1a1a1a;
}

.cookie-settings-link {
    display: inline-block;
    margin-top: 8px;
    text-decoration: underline;
}
