/* cookie-consent.css */
#cookie-consent-banner.cookie-consent-banner {
    position: fixed;
    right: 20px;
    left: 20px;
    bottom: 20px;
    z-index: 99999;
    background: rgba(33, 37, 41, 0.95);
    color: #ffffff;
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#cookie-consent-banner[hidden] {
    display: none !important;
}

#cookie-consent-banner .cookie-consent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

#cookie-consent-banner .cookie-consent-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    white-space: normal;
    /* allow text wrapping for readability */
    overflow-wrap: anywhere;
    /* allow long words/URLs to break */
    word-break: break-word;
    min-width: 0;
    /* allow flex child truncation */
    flex: 1 1 auto;
    /* allow text to flex */
    line-height: 1.3;
    /* improve readability */
}

#cookie-consent-banner .cookie-consent-text strong {
    font-weight: 700;
}

#cookie-consent-banner .cookie-consent-text a.cookie-consent-more {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

#cookie-consent-banner .cookie-consent-text strong {
    margin-right: 6px;
}

#cookie-consent-banner .cookie-consent-text .cookie-consent-line {
    min-width: 0;
}

#cookie-consent-banner .cookie-consent-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
    /* keep action buttons from shrinking */
}

#cookie-consent-banner button {
    min-width: 90px;
}

@media (min-width: 1200px) {
    #cookie-consent-banner.cookie-consent-banner {
        right: 50px;
        left: auto;
        max-width: 520px;
        bottom: 40px;
    }
}

@media (max-width: 575px) {
    #cookie-consent-banner .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    #cookie-consent-banner .cookie-consent-text {
        white-space: normal;
    }

    #cookie-consent-banner .cookie-consent-actions {
        justify-content: flex-end;
    }
}