/* Cookie consent banner styles (custom dimensions and fixed position) */
#cegovbr-cookie-consent {
    display: none;
    position: fixed; /* Scroll position: Fixed */
    bottom: 24px; /* anchored to base of window */
    left: 50%; /* center horizontally */
    transform: translateX(-50%) rotate(0deg); /* center and keep angle */
    width: min(1320px, calc(100% - 192px)); /* requested width but responsive */
    height: 108px; /* requested height */
    z-index: 99999;
    background: #BCE4C1; /* requested background */
    opacity: 1;
    border-radius: 16px; /* requested */
    border: 1px solid #C5C5C5; /* requested */
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.25); /* requested (converted) */
    padding-top: 24px;
    padding-right: 30px;
    padding-bottom: 24px;
    padding-left: 30px;
    box-sizing: border-box;
}

.cegovbr-cookie-consent__wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.cegovbr-cookie-consent__inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px; /* requested gap */
    box-sizing: border-box;
    height: 100%;
}

.cegovbr-cookie-consent__textwrap {
    display: inline-flex;
    align-items: center;
    gap: 29px; /* distância entre texto e ícone */
}

.cegovbr-cookie-consent__text {
    margin: 0;
    font-size: 18px; /* solicitado */
    line-height: 140%;
    letter-spacing: 0.25px;
    margin: 0;
    color: #26323F; /* solicitado */
    font-family: 'Kanit', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400; /* Regular */
}

.cegovbr-cookie-consent__actions { display: flex; gap: 16px; align-items: center; }
.cegovbr-cookie-consent__link {
    color: #26323F; /* solicitado */
    font-family: 'Kanit', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600; /* SemiBold */
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0.25px;
    text-decoration: underline;
    text-underline-offset: 3px; /* pequeno espaço entre texto e underline */
    text-decoration-thickness: 1px;
    text-decoration-skip-ink: auto;
}

.cegovbr-cookie-icon {
    font-size: 50px; /* tamanho solicitado */
    line-height: 1;
    color: #239832; /* cor solicitada */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cegovbr-cookie-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* sem círculo branco */
    border: none; /* sem borda */
    width: auto;
    height: auto;
    padding: 0;
}

.cegovbr-cookie-accept {
    background: #1B7727; /* cor solicitada */
    color: #F9F9F9; /* texto */
    border: none;
    width: 176px; /* solicitado */
    height: 46px; /* solicitado */
    border-radius: 8px; /* solicitado */
    padding: 8px 53px; /* solicitado */
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: rotate(0deg);
    opacity: 1;
    cursor: pointer;
    font-family: 'Kanit', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
}
.cegovbr-cookie-accept:hover { opacity: 0.95; }

@media (max-width: 600px) {
    .cegovbr-cookie-icon { font-size: 40px; }
    .cegovbr-cookie-consent__textwrap { gap: 16px; }
}

/* Make banner responsive on narrow viewports */
@media (max-width: 1400px) {
    #cegovbr-cookie-consent {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 48px);
        max-width: 1200px;
    }
}

@media (max-width: 600px) {
    #cegovbr-cookie-consent {
        top: auto;
        bottom: 24px;
        left: 12px;
        right: 12px;
        width: calc(100% - 24px);
        transform: none; /* remove centering transform on small screens to avoid clipping */
        height: auto;
        padding-top: 16px;
        padding-bottom: 16px;
    }
    .cegovbr-cookie-consent__inner { flex-direction: column; gap: 12px; align-items: stretch; }
    .cegovbr-cookie-consent__actions { justify-content: flex-end; }
}

