#itens_pedido {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.index {
    text-align: center;
    font-weight: bold;
    width: 4rem;
}

#repedir {
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrolldiv {
    overflow-y: auto;
    max-height: 350px;
    overflow-x: hidden;
    overflow-x: fixed;
}

.scrolldiv table {
    width: 100%;
    table-layout: fixed;
}

.scrolldiv thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid #ddd;
    text-align: center;
}
.delete-button{
    width: 3rem;
    vertical-align: middle;
}

.delete-button .btn-warning {
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

th, td{
    text-align: center;
}



.numero_int_input::-webkit-inner-spin-button,
.numero_int_input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
}

.formrep-add {
    display: none;
}

.btn-warning {
    display: flex;
    width: 30px;
    height: 30px;
    background-color: #DE3048;
    border-color: #DE3048;
    color: #ffff;
    justify-content: center;
    align-items: center;
}

.btn-warning:hover {
    background-color: #DE3048;
    border-color: #DE3048;
}

.add-row:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.errorlist.nonfield {
    display: None;
}

.errorlist {
    display: None;
}

#legend-representante2 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#fechar {
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

.total {
    display: flex;
    flex-wrap: wrap;
    width: max-content;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-size: 20px;
    margin-top: 15px;
}

#add-container {
    width: max-content;
}

.add_total {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}


.card_confirm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width:980px){
    label{
        margin-bottom: 0.3rem !important;
    }
    table{
        min-width: 80rem;

        & td{
            & .form-control{
                height: 3rem !important;
            }
            & .form-select{
                height: 3rem !important;
            }
        }
    }
}
