
/*///////////////////////  VISUALISATION FLUX //////////////////////// */


.blocDocVisuGauche{
    
    margin-top:10px;
    padding:8px;
    /*border:1px ;*/
    /*background-color:  #FFF;*/  
    border-radius: 10px;
    
}.blocDocVisu{
    
    margin-top:10px;
    padding:8px;
    /*border:1px ;*/
    background-color:  #e0f0ff;  
    border-radius: 10px;
}

.ligne-logistique {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;           /* espace entre infos */
    font-size: 0.85em;
    color: #555;
    margin-top: 6px;
}

.ligne-logistique .icon {
    margin-right: 4px;
    color: #888;
}

/* Optionnel : couleurs spécifiques pour départ/arrivée/date */
.ligne-logistique .text-green { color: #22c55e; }
.ligne-logistique .text-orange { color: #f39c12; }

.containerVisualisation {
    display: flex;
    width: 100%;       /* prend toute la largeur de la page */
    height: 100vh;     /* prend toute la hauteur */
    gap: 20px;
    box-sizing: border-box;
    padding: 10px 20px; /* optionnel : un petit padding autour */
}

.liste-lignes {
    flex: 1;           /* occupe tout l’espace restant */
    overflow-y: auto;  /* scroll uniquement ici */
    padding-right: 10px;
    box-sizing: border-box;
}

#detail {
    width: 50%;       /* largeur fixe de la colonne droite */
    flex-shrink: 0;     /* ne pas rétrécir */
    position: sticky;
    top: 0;             /* reste en haut pendant scroll */
    height: fit-content; 
}

.ligne-commande {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 18px;
    margin-top: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease-in-out;
}

.ligne-commande:hover {
    background: #f9fafb;
    border-color: #d0d0d0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.ligne-commande .infos-gauche {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ligne-produit {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #333;
}

.num-bc {
    font-size: 0.9em;
    color: #888;
}

.ligne-secondaire {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9em;
    color: #666;
}
.infos-droite {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9em;
    color: #444;
    min-width: 190px;
}

.infos-droite .quantite {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.infos-droite .prix-achat,
.infos-droite .prix-vente {
    color: #555;
}

.infos-droite .prix-achat strong {
    color: #c0392b; /* rouge doux achat */
}

.infos-droite .prix-vente strong {
    color: #16a085; /* vert doux vente */
}

.infos-droite .total {
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid #ddd;
    font-size: 0.95em;
    font-weight: 600;
    color: #222;
}

.icon {
    margin-right: 5px;
    color: #888;
}

/* Couleurs utilitaires */
.text-blue { color: #3b82f6; }
.text-green { color: #22c55e; }

/* Marge colorée */
.marge-positive strong {
    color: #27ae60;
}
.marge-negative strong {
    color: #e74c3c;
}

/* Optionnel : survol de la marge */
.marge:hover strong {
    text-decoration: underline;
}

.ligne-commande.active {
    background-color: #e0f0ff; /* couleur douce */
    border-color: #3b82f6;
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.2);
}


.detail-commande .etat-commande {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.detail-commande .etat-label {
    color: #555;
    margin-right: 6px;
}

.bloc-detail {
    margin-bottom: 18px;
}

.bloc-detail h2 {
    display: flex;
    align-items: center;
    font-size: 1.05em;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    border-left: 4px solid #3b82f6;
    padding-left: 8px;
}

.bloc-contenu {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px 14px;
}

.ligne-item {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ligne-item:last-child {
    border-bottom: none;
}

.icon {
    margin-right: 6px;
    color: #888;
}

/* Couleurs utiles */
.text-blue { color: #3b82f6; }
.text-green { color: #27ae60; }
.text-orange { color: #e67e22; }
.text-purple { color: #9b59b6; }

/* Hover doux sur les lignes */
.ligne-item:hover {
    background: #f0f7ff;
    color: #000;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 600px) {
    .detail-commande {
        padding: 15px;
    }
    .bloc-detail h2 {
        font-size: 1em;
    }
}

/* Nouveau bloc en-tête */
.header-commande {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 15px;
    padding: 10px;
    background: #f5f8fa;
    border-radius: 6px;
}

.header-commande .num-bc {
    color: #3b82f6;
}

.header-commande .nom-produit {
    color: #555;
}
.ligne-distributeur {
    display: flex;
    flex-direction: column; /* on empile ligne-haut + infos-supp verticalement */
    align-items: flex-start; /* <-- important : aligne tout à gauche */
    gap: 6px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.ligne-distributeur:last-child {
    border-bottom: none;
}

.ligne-distributeur .ligne-haut {
    display: flex; /* flex horizontal pour l'icon + texte */
    align-items: center; /* centrage vertical uniquement */
    justify-content: flex-start; /* <-- important : tout à gauche */
    gap: 6px;
    
    width: 100%; /* prend toute la largeur du parent */
    margin-left: 0; /* pas de décalage */
}

/* Infos supplémentaires légèrement indentées */
.ligne-distributeur .infos-supp {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85em;
    color: #555;
    margin-left: 20px; /* indentation seulement pour infos supp */
}


.text-red { color: #e74c3c; }
.text-green { color: #27ae60; }
.text-blue { color: #3b82f6; }
.text-orange { color: #f39c12; }
.ligne-facturation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.ligne-facturation {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.ligne-facturation:last-child {
    border-bottom: none;
}

.ligne-facturation .ligne-haut {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #333;
}

.ligne-facturation .infos-ligne {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-left: 20px; /* légère indentation pour infos */
    font-size: 0.85em;
    color: #555;
}

.ligne-facturation .infos-ligne span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ligne-lot {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.ligne-lot:last-child {
    border-bottom: none;
}

.ligne-lot .ligne-haut {
    font-weight: 600;
    color: #333;
}

.ligne-lot .infos-supp {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: #555;
    margin-left: 20px; /* indentation pour infos supplémentaires */
}
/*/////////////////////// FIN VISUALISATION FLUX //////////////////////// */



.divActionSurFacture
{
    padding:10px;
    font-weight:bold;
}

/* //////////////// Envoie DHL btn ////////////////////////////*/



.overGras:hover{
/*    font-size: large;*/
    font-weight: bold;
}
.btn-envoi{

  -webkit-border-radius: 6;
  -moz-border-radius: 6;
  border-radius: 6px;
  font-family: Arial;
  color: #ffffff;
  font-size: 12px;
  padding: 4px 13px;
  display: block;
  text-decoration: none;
  overflow: hidden;
  width: 134px;
  text-align: center;
}


.status-expedition-action-dhl:hover, .status-expedition-action-autre:hover{
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
  color: white;
}

.status-expedition-action-dhl:hover div span, .status-expedition-action-autre:hover div span{
  color: white;
  text-shadow:none;
}


.status-expedition-action-dhl{
  background: #feca06;
  background-image: -webkit-linear-gradient(top, #feca06, #ffb007);
  background-image: -moz-linear-gradient(top, #feca06, #ffb007);
  background-image: -ms-linear-gradient(top, #feca06, #ffb007);
  background-image: -o-linear-gradient(top, #feca06, #ffb007);
  background-image: linear-gradient(to bottom, #feca06, #ffb007);
   font-size: 10px;
     height: 19px;
    width: 119px;
    display: block;
    line-height: 14px;
    color: black;

}

.center-inline:hover{
  text-decoration: none !important;
}

.btn_dhl{
margin-left: 3px;
    margin-top: 0.7px;
    width: 33px;
}


.btn_text{
    color: #000000;
    float: left;
    font-size: 9px;
    margin-top: 3.3px;
    text-shadow: 0.5px 0.5px 0 #e4e4e4;

}

.btn_icone-expe{
    color: white;
    float: left;
    margin-left: 7px;
    margin-top: 6.3px;
    font-size: 9px;
}

.status-expedition-action-autre{
 font-size: 10px;
    background: #57889c;
  background-image: -webkit-linear-gradient(top, #7db7cf, #57889c);
  background-image: -moz-linear-gradient(top, #7db7cf, #57889c);
  background-image: -ms-linear-gradient(top, #7db7cf, #57889c);
  background-image: -o-linear-gradient(top, #7db7cf, #57889c);
  background-image: linear-gradient(to bottom, #7db7cf, #57889c);
      height: 19px;
    width: 119px;
    display: block;
    line-height: 14px;
}

.status-expedition{
  font-size: 10px;
   height: 20px;
    line-height: 16px;
    width: 100%;
    display: block;
}

.etiquette-dhl{
  text-align: center;
  display: block;
  margin-top:5px;
}

.check-expe{
  color:white;
   margin-right: 7px;
}

.dhl-colors{
 font-weight: bold;
 color:#F8FF00; 
}

.center-inline{
  display: block;
  text-align: center;
}