@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --colorButton: var(--colorButton);
    --fontSizeModalTop: 14px;
    --buttonGreen: #1aa768;
}

* {
    font-family: "Montserrat", sans-serif;
}

.fundoEscuro {
    z-index: 999999999 !important;
    background: #00000084;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.componenteGlobalModal#modalComponente {
    max-width: 70%;
    max-height: 80%;
    height: 80%;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
    z-index: 9999999999;
    position: relative;
}

.componenteGlobalModal#modalComponente .modalBarraSuperior {
    gap: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.componenteGlobalModal#modalComponente .modalBarraSuperior .modalBarraSuperiorEsquerda{
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.componenteGlobalModal#modalComponente .modalBarraSuperior .modalBarraSuperiorEsquerda span.modalCamposAdicionais *,
.componenteGlobalModal#modalComponente .modalBarraSuperior .modalBarraSuperiorEsquerda span.modalCamposAdicionais,
.componenteGlobalModal#modalComponente .modalBarraSuperior .modalBarraSuperiorEsquerda span.modalTitulo *,
.componenteGlobalModal#modalComponente .modalBarraSuperior .modalBarraSuperiorEsquerda span.modalTitulo{    font-size: var(--fontSizeModalTop) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    line-height: normal;
}

.componenteGlobalModal#modalComponente .modalBarraSuperior .modalBarraSuperiorEsquerda span.modalCamposAdicionais{
    font-size: 11px !important;
    font-weight: 500 !important;
}
.componenteGlobalModal#modalComponente .modalBarraSuperior span.modalFechar {
    font-size: var(--fontSizeModalTop);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.componenteGlobalModal#modalComponente .modalConteudo {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.componenteGlobalModal#modalComponente .modalConteudo .conteudo {
    overflow: auto;
    max-height: 100%;
    flex-grow: 1;
    min-height: 0;
}

.componenteGlobalModal#modalComponente .modalConteudo .conteudo p {
    margin: 0 !important;
}


.componenteGlobalModal#modalComponente .modalConteudo .nadaDiv{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.componenteGlobalModal#modalComponente .modalConteudo .nadaDiv img{
    max-height: 100px;
    animation: bounce 1s ease infinite;
}

.componenteGlobalModal#modalComponente .modalConteudo .nadaDiv p{
    text-align: center;
    font-size: 13px;
}

.componenteGlobalModal#modalComponente .modalBarraInferior {
    border-top: 1px solid #eee;
    width: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    gap: 20px;
}

.componenteGlobalModal#modalComponente .modalBarraInferior .componenteBotao {
    background-color: var(--buttonGreen);
    font-weight: 700;
    border-radius: 5px;
    width: -webkit-fill-available;
    text-transform: uppercase;
    border: none;
    text-align: center;
    font-size: var(--fontSizeModalTop);
    padding: 5px 0px;
    color: white;
}

.componenteGlobalModal#modalComponente .loader {

    width: -webkit-fill-available;
    height: -webkit-fill-available;
    align-items: center;
    justify-content: center;
}

.componenteGlobalModal#modalComponente .spinner {
    position: relative;
    width: 70px; 
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
} 

.componenteGlobalModal#modalComponente .spinner::before {
    content: "";
    position: absolute;
    width:70px;
    height: 70px;
    border: 6px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.componenteGlobalModal#modalComponente .spinner .logo_ee {
    position: relative;
    width: 40px;
    height: 40px;
    z-index: 1; 
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0); 
    }
    50% {
        transform: translateY(-5px); 
    }
}