/* Cookie consent banner — fixed bottom bar.
   Hidden by default via the [hidden] attribute; shown when JS removes it. */

.cmx-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9100; /* above the chat hover button (z-index 9000) */
    background: #fff;
    color: #333;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
    padding: 16px 24px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    animation: cmx-banner-slide-up 0.2s ease;
}

.cmx-banner[hidden] {
    display: none;
}

@keyframes cmx-banner-slide-up {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.cmx-banner-message {
    flex: 1 1 60%;
    min-width: 280px;
    color: #333;
}

.cmx-banner-message a {
    color: #1a73e8;
    text-decoration: underline;
}

.cmx-banner-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cmx-banner-decline,
.cmx-banner-accept {
    font: inherit;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
    border: 1px solid transparent;
    min-width: 100px;
}

.cmx-banner-decline {
    background: #fff;
    color: #333;
    border-color: #999;
}

.cmx-banner-decline:hover,
.cmx-banner-decline:focus {
    background: #f5f5f5;
    border-color: #555;
    outline: none;
}

.cmx-banner-accept {
    background: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
}

.cmx-banner-accept:hover,
.cmx-banner-accept:focus {
    background: #449d48;
    border-color: #449d48;
    outline: none;
}

/* Mobile: stack message and actions */
@media screen and (max-width: 600px) {
    .cmx-banner {
        padding: 14px 16px;
        gap: 12px;
    }
    .cmx-banner-message {
        flex-basis: 100%;
        min-width: 0;
    }
    .cmx-banner-actions {
        flex-basis: 100%;
        justify-content: flex-end;
    }
    .cmx-banner-decline,
    .cmx-banner-accept {
        flex: 1 1 0;
    }
}

/* Footer "Cookie Settings" link — styled in line with the existing footer
   legal links list. No additional class needed; the existing .float ul li
   styling applies. */
