/* Styles du module Pré-commandes */


/* Forcer un layout fixe pour que les width de colonnes soient respectés */
table#precomm_table {
    table-layout: fixed;
    width: 100%; /* ou une autre valeur adaptée */
}

/* 1e colonne de toutes les lignes (ref) */
table#precomm_table td:nth-child(1),
table#precomm_table th:nth-child(1) {
    width: 80px;           /* largeur forcée */
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Pour tronquer certaines référence exotiques */
}

/* 2e colonne de toutes les lignes (nom) */
table#precomm_table td:nth-child(2),
table#precomm_table th:nth-child(2) {
    min-width: 250px;
    /*background-color: #f5f5f5;*/
}
/* 3e colonne de toutes les lignes (fournisseur) */
table#precomm_table td:nth-child(3),
table#precomm_table th:nth-child(3) {
    min-width: 150px;
}
/* 5e colonne de toutes les lignes (stock) */
table#precomm_table td:nth-child(5),
table#precomm_table th:nth-child(5) {
    max-width: 20px;  
}

.butAction.precommandes {
    margin-left: 0px;
    padding-left: px;
}


.butAction.bascule_ouvert {
   
    background: rgba(0, 40, 255, 0.65);    
    border-color: rgba(15, 0, 195, 0.4);
}

.butAction.bascule_ferme {
   
    background: rgba(93, 90, 90, 0.65);    
    border-color: rgba(85, 85, 85, 0.4);
}
