@font-face {
    font-family: 'Open Sans';
    src: url('../../fontes/Open Sans/OpenSans-VariableFont_wdth\,wght.ttf');
}

@font-face {
    font-family: 'Open Sans';
    src: url('../../fontes/Open Sans/OpenSans-VariableFont_wdth,wght.ttf');
}

* {
    font-family: 'Open Sans', sans-serif !important;
}

body {
    background-color: gainsboro;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    overflow-y: scroll;
}

bread-crumb {
    margin: 10px auto 0 0;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    padding-inline: 4vw;
    padding-bottom: 6vh;
}

footer {
    position: fixed;
    bottom: 0;
    text-align: center;
    background-color: #094434;
    width: 100vw;
    max-width: 100vw;
    height: 5vh;
    max-height: 5vh;
    color: white;
    background-color: #229544;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}

.filtro-notas-fiscais {
    position: relative;
    display: flex;
    gap: 25px;
    margin: 10px 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: #0000000e;
    padding: 10px;
    border-radius: 10px;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-group label {
    font-size: 0.8em;
}

.input-group input {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid lightgray;
    width: 200px;
}

.containerbtns {
    position: relative;
    display: flex;
    gap: 10px;
    /* width: 50px; */
}

.filtro-notas-fiscais button[type="reset"] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: 5px;
    border: 1px solid lightgray;
    background-color: #b43f3b;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.filtro-notas-fiscais button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: 5px;
    border: 1px solid lightgray;
    background-color: #229544;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.filtro-notas-fiscais button span {
    display: none;
    margin-left: 5px;
    font-size: 0.6;
}

/* faça uma animacao de aparecendo */
@keyframes spanAparecendo {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.filtro-notas-fiscais button:hover span {
    display: block;
    transition: all 0.3s;
    animation: spanAparecendo 0.3s;
}

.grafico-anual {
    width: 100%;
    height: 30vh;
    background-color: #0000000e;
    border-radius: 10px;
    padding: 10px;
}

.cards-resumo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px;
    margin: 10px 0;
}

.card-resumo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    padding: 10px;
    background-color: whitesmoke;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    gap: 10px;
    aspect-ratio: 1/1;
}

.bi-exclamation-circle {}

.bi-question-circle {
    color: gray;
}

.bi-alarm {
    color: orange;
}

.bi-ban {
    color: red;
}

.bi-envelope-check {
    color: rgb(50, 137, 172)
}

.bi-check-circle {
    color: green;
}

.titulo-card-resumo {
    font-size: 0.8em;
    /* font-weight: bold; */
    text-align: center;
}

.valor-card-resumo {
    font-size: 1em;
    font-weight: bold;
    text-align: center;

}

.opcoes-card {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid lightgray;
}

.btn-card-resumo {
    /* background-color: #229544; */
    border: unset;
    /* color: white; */
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-card-resumo:disabled {
    color: #0000001a;
    cursor: not-allowed;
}

.btn-card-resumo:not(:disabled):hover {
    background-color: #0000001a;
    color: white;
}

.btn-card-resumo:not(:disabled):hover span {
    display: block;
}

.btn-card-resumo span {
    display: none;
    margin-left: 5px;
    position: absolute;
    background-color: white;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    z-index: 1;
    color: black;
    bottom: -35px;
}

.btn-card-resumo span::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.btn-card-resumo:active {
    background-color: #0000002a;
}

.info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* background-color: whitesmoke; */
    border-radius: 10px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
    cursor: help;
}

.info-card:hover {
    background-color: #0000001a;
    color: white;
}

.descricao-card-resumo {
    display: none;
    margin-top: 10px;
    position: absolute;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1;
    text-align: center;
    white-space: wrap;
    font-size: 0.8em;
    top: 45px;
    width: 200px;
    color: #000;
}

.descricao-card-resumo::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.info-card:hover .descricao-card-resumo {
    display: block;
}

/* Estilo para a tabela principal */
#dataTable input[type='search'],
#dataTable select,
div.dt-container .dt-input {
    background-color: white !important;
}

#dataTable {
    width: 100%;
    max-width: 100%;
    min-width: 100% !important;
    margin: 20px 0;
    font-size: 1em;
    text-align: left;
    border-collapse: collapse;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Estilo para o cabeçalho da tabela principal */
#dataTable thead tr {
    background-color: #009879;
    /* Cor de fundo do cabeçalho */
    color: #ffffff;
    /* Cor do texto do cabeçalho */
    font-weight: bold;
}

/* Estilo para as células do cabeçalho e células da tabela principal */
#dataTable th,
#dataTable td {
    padding: 12px 15px;
    white-space: nowrap;
    /* Evita quebra de linha */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Estilo para as linhas da tabela principal */
#dataTable tbody tr {
    background-color: whitesmoke;
    /* Cor de fundo das linhas */
    border-bottom: 1px solid #dddddd;
    /* Borda inferior das linhas */
}

/* Estilo para botões expandir */
.btn-expand {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 2px 1px;
    cursor: pointer;
    border-radius: 4px;
}

.btn-expand:hover {
    background-color: #0056b3;
}

/* Estilo para subtabelas */
.subtable {
    width: 90%;
    margin: 10px auto;
    border: 1px solid #ddd;
    border-collapse: collapse;
    background-color: gainsboro;
    /* Cor de fundo da subtabela */
}

/* Estilo para o cabeçalho das subtabelas */
.subtable th {
    background-color: #67948b;
    /* Cor de fundo do cabeçalho */
    color: white;
    /* Cor do texto do cabeçalho */
    font-weight: normal;
    padding: 8px;
    text-align: left;
}

/* Estilo para as células das subtabelas */
.subtable td {
    padding: 8px;
    text-align: left;
}

/* Estilizações específicas para remover efeito de hover */
#dataTable tbody tr:hover,
.subtable tbody tr:hover,
.subtable th:hover {
    background-color: none;
    /* Remove o efeito de hover */
}

.detalhesNota {
    display: flex;
    width: 100%;
    min-width: 150px;
    height: 100%;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    align-items: start;
    justify-content: start;
}

.linkVerarquivo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
    border-radius: 5px;
    border: 1px solid lightgray;
    background-color: #228d95;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    gap: 10px;
}

.containerVerArquivo {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
}

.btn-aprovar,
.btn-recusar {
    background-color: #1f9b23;
    /* Verde */
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.btn-recusar {
    background-color: #be261b;
    /* Vermelho */
}