/* ============================================================================
 * CEP Report Backpack — Cookie consent + Language notice
 * Standalone styles. No dependency on Divi or any site CSS.
 * ============================================================================ */

/* Shared fade-in-up entry animation. Applied to both cookie banner and
   language notice so they share the same visual rhythm as Divi's modules. */
.cep-rb-banner {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    background: #EEF3F9;
    border-top-left-radius: 130px;
    max-width: 615px;
    width: 100%;
    padding: 50px 80px 50px 100px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    z-index: 9999999;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
}
.cep-rb-banner.cep-rb-visible {
    display: block;
}
.cep-rb-banner.cep-rb-shown {
    opacity: 1;
    transform: translateY(0);
}

.cep-rb-banner-lang {
    max-width: 583px;
    padding: 80px 70px 70px 80px;
}

@media (prefers-reduced-motion: reduce) {
    .cep-rb-banner,
    .cep-rb-banner.cep-rb-shown {
        transform: none;
        transition: opacity 0.5s ease-out;
    }
}

.cep-rb-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 2;
}
.cep-rb-close:hover {
    opacity: 0.7;
}

.cep-rb-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    position: relative;
}
.cep-rb-banner-lang .cep-rb-content {
    gap: 24px;
    max-width: 418px;
}

.cep-rb-lang-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 0;
}

.cep-rb-heading {
    font-family: 'neue-haas-grotesk-display', 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: #010101;
    margin: 0;
}

.cep-rb-text {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #010101;
    margin: 0;
}
.cep-rb-banner-lang .cep-rb-text {
    font-size: 18px;
    line-height: 28px;
}

.cep-rb-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #C15600;
    color: #FFFFFF;
    border: none;
    padding: 15px 20px 14px 20px;
    font-family: 'neue-haas-grotesk-display', 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 14px;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}
.cep-rb-btn:hover {
    background: #A14801;
}
.cep-rb-btn span {
    white-space: nowrap;
}

.cep-rb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    z-index: 9999998;
    opacity: 0;
    transition: opacity 0.4s ease-out;
}
.cep-rb-overlay.cep-rb-visible {
    display: block;
}
.cep-rb-overlay.cep-rb-shown {
    opacity: 1;
}

@media (max-width: 767px) {
    .cep-rb-banner {
        border-top-left-radius: 50px;
        padding: 40px 40px 34px 34px;
    }
    .cep-rb-banner-lang {
        max-width: 100%;
        padding: 40px 40px 34px 34px;
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
    }

    .cep-rb-banner-lang .cep-rb-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .cep-rb-close {
        top: 11px;
        right: 15px;
    }
    .cep-rb-text {
        font-size: 14px;
        line-height: 20px;
    }
    .cep-rb-banner-lang .cep-rb-text {
        font-size: 16px;
        line-height: 24px;
    }
    .cep-rb-heading {
        font-size: 20px;
        line-height: 26px;
    }
    .cep-rb-btn {
        width: 100%;
        justify-content: center;
    }
}
