@layer GOVBREstilosWidgets {
    .govbr-wdgt-popup-base {
        --numero-acoes-item: 0;
        padding: var(--padding-padrao-containers) !important;
        max-height: calc(100vh - 8.75rem);
        overflow: auto;
    }

    .govbr-wdgt-popup-assinaturas {
        --numero-acoes-item: 1;
    }

    .govbr-wdgt-popup-impressao {
        --numero-acoes-item: 2;
    }

    .govbr-wdgt-popup-titulo {
        font-size: var(--fontsizes_m);
        font-weight: bold;
        text-align: center;
        display: block;
        color: var(--colors_actionborder_and_focuscolor);
        padding: 0.5rem 0.5rem;
        padding-bottom: 1rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid var(--colors_gray05);
        line-height: 1;
    }

    .govbr-wdgt-popup-item {
        position: relative;
        padding: 0.5rem calc(0.5rem + 3.5rem * var(--numero-acoes-item)) 0.5rem 1rem;
        border-left: 1px solid var(--colors_gray05);
        margin: 0.25rem 0 0.25rem 0.25rem;
        box-shadow: -2px 0 4px -2px var(--colors_gray05);
    }

    .govbr-wdgt-popup-item:hover,
    .govbr-wdgt-popup-item:focus-visible {
        background: var(--colors_basecolor10);
    }

    .govbr-wdgt-popup-item .form-group,
    .govbr-wdgt-popup-item .form-control-static {
        margin: 0;
        padding: 0;
    }

    .govbr-wdgt-popup-atributoLabel,
    .govbr-wdgt-popup-item .gx-attribute,
    .govbr-wdgt-popup-atributo {
        display: block;
        padding: 0;
        width: auto !important;
        line-height: 1.25;
    }

    .govbr-wdgt-popup-atributoLabel {
        margin-right: 0.5rem;
        opacity: 0.8;
    }

    .govbr-wdgt-popup-atributo-titulo {
        font-size: 1.6rem;
        color: var(--colors_basecolor);
    }

    .govbr-wdgt-popup-atributo-subtitulo {
        font-weight: bold;
        opacity: 0.6;
        font-size: var(--fontsizes_xs);
    }

    .govbr-wdgt-popup-item-acao {
        position: absolute;
        right: 0.5rem;
        top: 0.5rem;
    }

    .govbr-wdgt-popup-item-acao-2 {
        right: 4rem;
    }

    .govbr-wdgt-popup-item-acao-3 {
        right: 7.5rem;
    }

    .govbr-wdgt-popup-item-acao a {
        text-decoration: none !important;
    }

    .govbr-wdgt-popup-item-acao-botao {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        height: 3rem;
        font-size: 1.6rem;
        background: var(--colors_databackgroundcolor);
        border-radius: 1rem;
    }

    .govbr-wdgt-popup-item-acao-botao:hover {
        background: var(--colors_basecolor);
        color: var(--colors_baseforecolor);
    }

    .govbr-wdgt-popup-item-acao-pdf {
        color: var(--colors_pdf);
    }

    .govbr-wdgt-popup-item-acao-download {
        color: var(--colors_excelcolor);
    }

    .govbr-wdgt-popup-acoes {
        padding: 0.5rem;
        padding-bottom: 0;
        margin-top: 0.5rem;
        border-top: 1px solid var(--colors_gray05);
    }

    .govbr-wdgt-popup-todos {
        width: 100%;
        border: none;
        color: var(--colors_actionborder_and_focuscolor);
        font-weight: bold;
    }
}
