/* Shared cookie banner; independent of Bootstrap's grid and legacy cookie styles. */
html body #cookies_bar_new {
    position: fixed;
    z-index: 6666;
    inset: auto 0 0;
    box-sizing: border-box;
    width: 100%;
    padding: 20px 30px;
    border-top: 1px solid #e7852c;
    background: rgba(0, 0, 0, .8);
    color: #f5f5f5;
    font: 400 13.5px/1.5 Arial, sans-serif;
    text-align: left;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
}

html body #cookies_bar_new[hidden] { display: none !important; }

#cookies_bar_new .cookie-banner__inner { width: 100%; }

html body #cookies_bar_new .cookie-banner__title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 15px;
    padding: 0;
    color: inherit;
    font: 500 24px/1.2 Arial, sans-serif;
    text-transform: none;
    letter-spacing: normal;
    opacity: 1;
}

#cookies_bar_new .cookie-banner__icon { width: 26px; height: 26px; flex: 0 0 26px; }
#cookies_bar_new .cookie-banner__body { display: flex; align-items: center; gap: 28px; }

html body #cookies_bar_new .cookie-banner__text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    overflow-wrap: anywhere;
}

html body #cookies_bar_new a { color: #ffb16b; text-decoration: underline; }
html body #cookies_bar_new a:hover { color: #fff; }

#cookies_bar_new .cookie-banner__actions {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: auto;
}

html body #cookies_bar_new .cookie-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 150px;
    min-height: 40px;
    margin: 0;
    padding: 7px 16px;
    border: 1px solid;
    border-radius: 60px;
    background: transparent;
    font: inherit;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

html body #cookies_bar_new .cookie-banner__button--reject { color: #ff929d; border-color: #dc3545; }
html body #cookies_bar_new .cookie-banner__button--accept { color: #ffb16b; border-color: #e7852c; }
html body #cookies_bar_new .cookie-banner__button--reject:hover { background: #dc3545; color: #fff; }
html body #cookies_bar_new .cookie-banner__button--accept:hover { background: #e7852c; color: #111; }
html body #cookies_bar_new :is(a, button):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 991px) {
    #cookies_bar_new .cookie-banner__body { flex-direction: column; align-items: stretch; gap: 16px; }
    #cookies_bar_new .cookie-banner__actions { width: 100%; }
}

@media (max-width: 767px) {
    html body #cookies_bar_new { inset: 0 0 auto; padding: 18px; }
    html body #cookies_bar_new .cookie-banner__title { font-size: 21px; gap: 12px; }
    #cookies_bar_new .cookie-banner__actions { gap: 10px; }
    html body #cookies_bar_new .cookie-banner__button { flex: 0 1 150px; min-width: 0; min-height: 44px; padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html body #cookies_bar_new .cookie-banner__button { transition: none; }
}

@media print { html body #cookies_bar_new { display: none !important; } }
