/* Banner container - fixed at bottom of viewport */
/* Hidden by default - JavaScript will show if cookie doesn't exist */
#clearconsent-banner,
#clearconsent-banner.cc-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
    z-index: 99999 !important;
    background: #ffffff;
    border-top: 1px solid #ebebeb;
    padding: 12px 16px;
    box-sizing: border-box;
    opacity: 1;
    pointer-events: auto;
    font-family: inherit;
    display: none !important;
    margin: 0;
    width: 100% !important;
    max-width: 100vw !important;
    transform: translateY(0) translateZ(0);
    will-change: transform, opacity;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    height: auto;
    min-height: 0;
}

/* Banner visible state - shown when cookie doesn't exist */
#clearconsent-banner.cc-show {
    display: block !important;
}

/* Disable animations when setting is off */
#clearconsent-banner.cc-no-animation {
    transition: none !important;
    will-change: auto !important;
}

/* Hidden state - slide down and fade out */
#clearconsent-banner.cc-hide {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(100%) !important;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out !important;
}

/* No animation for hidden state when animations disabled */
#clearconsent-banner.cc-no-animation.cc-hide {
    transition: none !important;
}

/* Inner layout */
.cc-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    width: fit-content;
}

/* Text block */
.cc-text {
    flex: 1;
    text-align: left;
    color: #000000;
    font-size: 15px;
    line-height: unset;
    margin: 0;
}

.cc-text p {
    margin: 0 0 8px 0;
}

.cc-text p:last-child {
    margin-bottom: 0;
}

/* Link animation effect (for +info or any links in banner text) */
.cc-text a,
#clearconsent-banner a {
    position: relative;
    color: #000000;
    white-space: normal;
    text-decoration: none;
}

.cc-text a:after,
#clearconsent-banner a:after {
    content: '';
    width: 0;
    height: 1px;
    background-color: #000000;
    position: absolute;
    right: 0;
    bottom: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    transition-property: all;
    transition-duration: 0.5s;
    transition-timing-function: ease;
    transition-delay: 0s;
}

.cc-text a:hover:after,
#clearconsent-banner a:hover:after {
    width: 100%;
    left: 0;
    right: auto;
}

/* Buttons row */
.cc-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
    padding: 5px 0;
}

/* Base button */
.cc-btn {
    border-radius: 0px;
    font-size: 11px;
    line-height: unset;
    border: 1px solid #000000;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-weight: 500;
    transition: all .15s ease-out;
    text-align: center;
    font-family: inherit;
    padding: 8px 25px;
    box-sizing: border-box;
    flex: 1 1 0;
    height: 38px;
    white-space: nowrap;
    overflow: visible;
    width: fit-content;
}

/* ACCEPT button - Black with white text (prominent) */
.cc-btn.cc-accept {
    background: #000000;
    color: #ffffff;
}

/* REJECT button - Black border, transparent background */
.cc-btn.cc-reject {
    background: transparent;
    color: #000000;
}

/* -------- TABLET / IPAD -------- */
@media screen and (min-width: 415px) and (max-width: 1024px) {
    #clearconsent-banner,
    #clearconsent-banner.cc-banner {
        padding: 30px 40px !important;
    }

    .cc-banner-inner {
        gap: 20px !important;
    }

    .cc-text {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: 60% !important;
    }

    .cc-buttons {
        flex: 0 0 auto !important;
        min-width: 200px !important;
    }

    .cc-btn {
        flex: 1 1 0 !important;
        min-width: 130px !important;
        padding: 10px 24px !important;
        height: 42px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        
    }
}

/* -------- MOBILE -------- */
@media screen and (max-width: 414px) {
    #clearconsent-banner,
    #clearconsent-banner.cc-banner {
        padding: 15px 5px !important;
        text-align: left !important;
        width: 100%;
        font-weight: 300;
    }

    .cc-banner-inner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    .cc-text {
        text-align: left !important;
        padding: 0 14px !important;
        font-size: 14px !important;
        margin-bottom: 0 !important;
    }

    .cc-text * {
        font-size: 14px !important;
    }

    .cc-buttons {
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 5px 14px !important;
        margin-top: 12px !important;
    }

    .cc-btn {
        width: 100% !important;
        text-align: center !important;
        font-size: 12px !important;
        padding: 9px 0px !important;
        height: auto !important;
    }

    .cc-btn:first-child {
        margin-top: 2px !important;
    }
}
