#modalMestre{
    outline: none;
    border: none;
    border-radius: 24px;
    padding: 0px;
    box-sizing: border-box;
    width: 520px;
}

#modalMestre .headerModal{
    display: flex;    
    justify-content: space-between;
    align-items: center;
    padding: 12px 12px;
}

#modalMestre .fechar-modal{
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

#modalMestre .fechar-modal:focus{
    outline: none;
}

.fa-solid.fa-xmark{
    font-size: 32px;
}

#modalMestre .bodyModal{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px 16px 12px;
}

#modalMestre .nomeMatriz{
    display: flex;
    flex-direction: column;
}

#modalMestre .quantidades{
    display: flex;
    gap: 12px;
}

#modalMestre .qtdPontos{
    flex: 1;
    display: flex;
    flex-direction: column;
}

#modalMestre input{
    border-radius: 4px;
    padding-left: 8px;
    padding-block: 4px;
    color: var(--marrom-leve);
    background: none;
    border-color: var(--marrom-leve);
    border: solid;
    border-width: 1px;
}

#modalMestre input:focus{
    outline: none;
}

#modalMestre .qtdBordados{
    flex: 1;
    display: flex;
    flex-direction: column;
}

#modalMestre .variable-group{    
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#modalMestre .urgente,
#modalMestre .matriz-field,
#modalMestre .mat-cliente{
    padding: 4px 0px;
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

#modalMestre .toggle{
    width: 42px;
    height: 24px;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

#modalMestre .toggle::after{
    content: "";
    position: absolute;
    border-radius: 50%;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    background-color: var(--bege-claro);
    transition: left 0.2s;
}


#modalMestre .toggle.ativo {
    background-color: var(--marrom);
}


#modalMestre .toggle.ativo::after {
    left: 20px;
}


#modalMestre #calcular{
    width: fit-content;
    background: none;
    padding: 8px 12px;
    border: solid;
    border-width: 2px;
    border-radius: 12px;
    font-weight: 700;
    align-self: flex-end;
}


#modalMestre #calcular:focus{
    outline: solid;
    outline-width: 2px;
    outline-color: var(--marrom);
}  


 #modalMestre #calcular:hover{
    cursor: pointer;
}


#modalMestre #salvarOrcamento{
    display: none;
}


#modalMestre #AtualizarVariaveis{
    width: fit-content;
    background: var(--bege-escuro);
    padding: 8px 24px;
    border: solid;
    border-width: 2px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
    color: var(--bege-claro);
    align-self: flex-end;
}

#modalMestre #AtualizarVariaveis:hover{
    cursor: pointer;
    background-color: var(--marrom-leve);
    color: var(--bege-claro);
}

#modalMestre .campoVariaveis{
    display: flex;
    flex-direction: column;
    gap: 2px;
}