/* Style général de la ligne */



.ligne-prix {
    width:100%;
    background-color: #fdfdfd;
    border-bottom: 1px solid #e3e3e3;
    transition: background-color 0.3s ease;
    max-width:1200px;
    margin:auto;
}
.ligne-prix input , .form-control , .ng-hide {
   display:none !important;
}

.ligne-prix:hover {
    background-color: #f0f8ff; /* pastel bleu clair au survol */
}

/* Colonnes */
.ligne-prix td {
    padding: 12px 10px;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
}

/* Code produit */
.ligne-prix td:first-child {
    font-weight: bold;
    color: #888;
}

/* Nom produit */
.ligne-prix td:nth-child(2) {
    font-weight: 500;
    color: #4a4a4a;
}

/* Prix standard */
.ligne-prix td:nth-child(3) span {
    color: #6c757d;
}

/* Prix préférentiel */
.ligne-prix td:nth-child(4){
    display:none;}

.ligne-prix td:nth-child(6) {
    display:none;
}
.ligne-prix td:nth-child(7) {
    display:none;
}




.ligne-prix td:nth-child(4) .text-lowercase {
    color: #8d8d8d;
    font-weight: lighter;
}

/* Réduction */
.ligne-prix td:nth-child(5) .text-danger {
    color: #ff6f61;
}

.ligne-prix td:nth-child(5) .text-success {
    color: #28a745;
}

/* Statuts (Actif, Copie...) */
.ligne-prix td:last-child .label {
    font-size: 12px;
    border-radius: 4px;
    padding: 4px 8px;
    display: inline-block;
    margin-right: 4px;
}

/* Personnalisation des labels */
.label-success {
    background-color: #b3e6b0;
    color: #20734d;
}

.label-default {
    background-color: #e0d4f7;
    color: #6a4c93;
}

.label-danger {
    background-color: #ffd6d6;
    color: #cc0000;
}

.label-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Bouton suppression */
.ligne-prix button.btn-default {
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #999;
    padding: 2px 8px;
    font-size: 13px;
}

#boucherieTable {
    max-height:70vh;
    overflow: auto;
}

.btn-confirmer {
    background-color: beige;
    border-radius: 0.5rem;
    border: 1px solid #b5b568;
        padding:0.5rem;
}

.btn-panier{
    border-radius: 0.5rem;
    border: 1px solid #333;
    padding:0.5rem;
}

.defaultPicture {
    filter: grayscale(1);
    opacity: 0.6;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #fffdf9;
    color: #333;
    margin: 20px;
    max-width:1200px;
    margin:auto;
}

/* Titre principal */
h3 {
    color: #fc3838;
    margin-bottom: 10px;
    font-size: 1.4em;
    font-weight: 600;
}

/* Paragraphe d'intro */
p {
    background-color: #fef2f2;
    border-left: 4px solid #fc3838;
    padding: 10px 15px;
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
    border-radius: 6px;
}

/* Barre de filtre */
#filter-code, #filter-name {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.9em;
    color: #333;
}

#filter-promo {
    background-color: #ffafaf;
    color: #fc3838;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#filter-promo:hover {
    background-color: #f2d79e;
}

/* Tableau principal */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.table thead th {
    background-color: #fc3838;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    font-size: 0.95em;
    border: none;
    text-align: left;
}

.table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table tbody tr:hover {
    background-color: #faecec;
}

.table td {
    padding: 10px;
    font-size: 0.9em;
    vertical-align: middle;
    color: #333;
}

/* Bouton sauver (en haut du tableau) */
.btn-success {
    background-color: #ce5454 !important;
    border: none;
    color: white;
    padding: 5px 10px;
    font-size: 0.85em;
    border-radius: 4px;
}

.btn-success:hover {
    background-color: #c64c4c !important;
}


.txtCenter {
    display: flex;
    justify-content: center;
    text-align: right;
}

.txtRight {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}
/* Label statuts */
.label {
    font-size: 0.75em;
    border-radius: 3px;
    padding: 2px 6px;
    margin-right: 4px;
}

.label-default {
    background-color: #dedede;
    color: #333;
}

.label-success {
    background-color: #d4edda;
    color: #155724;
}

.label-danger {
    background-color: #ffd3d7;
    color: #721c24;
}

.label-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Strikethrough = supprimé */
.strikethrough {
    text-decoration: line-through;
    opacity: 0.5;
    background-color: #f6f6f6 !important;
}


/* Prix promo */
.promoPriceOlivier > *, .promoPriceOlivier > * > *{
    color:white !important;
    background-color: #f97184 !important;
    font-weight: bold;
}