:root{
    --verde: #0fa66e;
    --verde-hover: #0f8c5e;
    --cinza: #dfdbdb;
    --chumbo: #283240;
    --vermelho: #f23030;
    --branco: #fff
}
html {
    font-size: 14px;
}
 
body {
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* configuração de botões */
button{
    border: none;
    border-radius: 0;
    padding: .3rem .5em;
}
button:disabled{
    cursor: not-allowed;
}

.btn-verde {
    background-color: #18b27f;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    padding: 2% 3%;
    font-size: 1rem;
}

.btn-verde:hover {
    background-color: #138e65;
}

.btn-verde i {
    margin-right: 3px;
}

.btn-cinza {
    background-color: #f1f1f0;
    color: #949ba9;
    border: none;
    cursor: pointer;
    border-radius: unset;
}

.btn-cinza:hover {
    background-color: #d9d9d8
}

.btn-gray {
    background-color: var(--cinza);
    padding: 1% 3%;
    font-size: 1rem;
    border-radius: 4px;
    color: #000;
}
.btn-gray:hover{
    background-color: #d0d0d7;
}
.cinza-claro {
    color: #949ba9;
    white-space: nowrap;
    background: none;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
}
.cinza-claro:hover {
    background: #18b27f !important;
    border: 1px solid #18b27f;
    color: #fff;
}
.menu-como-funciona{
    text-transform: uppercase;
}

.criar-orc-botoes {
    display: flex;
    flex-direction: row;
    gap: .5em;
    margin: 1% 0;
    text-align: end;
}

.criar-orc-botoes > button {
    padding: .5em 1.5em !important;
    font-size: 1.4em;
    font-weight: 400;
    border-radius: .2em;
} 

.toast-body {
    font-size: 1.5rem !important;
}

.bg-warning .toast-body {
    color: black !important;
}

input{
    background-color: #ddd;
    border: 1px solid transparent;
    padding-left: .5em;
    width: 100%;
    height: 180px;
    max-height: 2em;
    margin: .5em;
    padding: 4% 3%;
}
input:focus{
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(15, 166, 110, 0.25);
    border-color: #0fa66e;
}

input::placeholder{
    font-weight: bold;
}

.inputRed{
    font-weight: bold;
}
.inputRed {
    border: 1px solid var(--vermelho);
    color: var(--vermelho)
}

button:disabled{
    cursor: not-allowed;
    background-color: var(--cinza);
}
button:disabled:hover{
    /* background-color: var(--chumbo); */
}
button.btn-ocultar{
    display: none;
}
.titulo-pagina{
    color: var(--cinza);
    font-weight: bold;
    font-size: 1.5em;
    text-transform: capitalize;
}
.custom-select {
    position: relative;
}

.custom-select-options {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    position: absolute;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
}

.custom-select-options li {
    padding: 5px 10px;
    cursor: pointer;
}

.custom-select-options li:hover {
    background-color: #f0f0f0;
}

/* Filtros */
.area-filtros{
    width: 85%;
    padding-top:.5em ;
    display: flex;
    justify-content: space-around;
    position: relative;
    flex-direction: column;
}

.area-filtro-data{
    /* display: flex; */
    flex-flow: row wrap;
    display: none;
}
.filtro-data{
    background-color: #ddd;
    border-radius: 10px;
    width: 25%;
    padding: .5em .3em;
    display: none;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    gap: .5em;
    position: absolute;
    top: 3rem;
    z-index: 10;
}
.filtro-data input,
.filtro-cliente input{
    margin: 0;
    height: 100%;
}
.filtro-data button{
    width: 45%;
}


/* filtro status */
.filtro-status{
    display: flex;
    flex-flow: row nowrap;
    width: 30%;
    margin: 3% 0;
}
.filtro-status span{
    margin-left: .5em;
    text-transform: capitalize;
}
.filtro-status button{
    background-color: transparent;
}
.filtro-status button.active{
    background-color: #b7bec0;
}
#status-azul, .ic-azul{
    color: #0069b1;
}
#status-vermelho, .ic-vermelho{
    color: #ff3539;
}
#status-verde, .ic-verde{
    color: #18b27f ;
}

#status-laranja, .ic-laranja{
    color: #ff904b;
}
#status-cinza, .ic-cinza{
    color: #959ba8;
}
.filtro-cliente{
    position: relative;
}

.filtro-invertido {
    margin: 2% 0;
}

.controle-acoes{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.paginacao{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.paginacao i{
    margin: 0 .5em;
    padding: .3em;
    font-size: 1.5em;
    transform: .3s ease-in;
}

.paginacao button:hover i{
    cursor: pointer;
    color: #00bfff;
}
.paginacao button:disabled{
    cursor: not-allowed;
    color: #bdbdbd;
    border: 1px solid #bdbdbd;
    background-color: #ffffff;
}
.paginacao button:disabled i{
    color: #bdbdbd;
    cursor: not-allowed;
}

.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 0px;
    border: 1px solid #f1f1f1;
}

.card span {
    margin-bottom: 5px;
    font-weight: bold;
}

/* Carregamento Pagina */
#loading-overlay {
    position: fixed; 
    inset: 0; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    background: #fff; 
    z-index: 9999;
}

.loading-text { 
    margin-top: 10px; 
    font-weight: bold; 
    color: #18b27f 
}

.spinner {
    width: 50px; 
    height: 50px; 
    border-radius: 50%;
    border: 5px solid #f1f1f1; 
    border-top-color: #18b27f; 
    animation: spin 1s linear infinite;
}

@keyframes spin{ to{ transform:rotate(360deg) } }
/* Carregamento Pagina */


/* MEDIA */

@media (min-width: 850px) {
    .area-filtros{
        align-items: center;
        flex-direction: row;
    }
    .filtro-status{
        margin: 0;
    }
}
