.fichePriseCommandeRc .premiereColonne {
  width: 50%;
}

.fichePriseCommandeRc .deuxiemeColonne {
  width: 50%;
}

.fichePriseCommandeRc zone-texte texte .ellipsis {
  width: 500px !important;
}

.fichePriseCommandeRc librairie-documents texte input {
  width: 180px;
}

.fichePriseCommandeRc table#librairieDocuments {
  width: 510px !important;
}

.fichePriseCommandeRc #extension {
  width: 40px;
}

.fichePriseCommandeRc #librairieDocuments th:nth-child(1),
.fichePriseCommandeRc #librairieDocuments td:nth-child(1) {
  width: 150px !important;
}

.enEcriture .fichePriseCommandeRc #librairieDocuments th:nth-child(1),
.enEcriture .fichePriseCommandeRc #librairieDocuments td:nth-child(1) {
  width: 200px !important;
}

.fichePriseCommandeRc #librairieDocuments td:nth-child(1) texte {
  max-width: 140px !important;
  width: 140px !important;
}

.fichePriseCommandeRc #librairieDocuments th:nth-child(2),
.fichePriseCommandeRc #librairieDocuments td:nth-child(2) {
  width: 75px !important;
}

.enEcriture .fichePriseCommandeRc #librairieDocuments th:nth-child(2),
.enEcriture .fichePriseCommandeRc #librairieDocuments td:nth-child(2) {
  width: 100px !important;
}

/* Effet de zoom au survol des images */
.fichePriseCommandeRc insertion-fichier-image img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  transform-origin: left top;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-crisp-edges;
}

.fichePriseCommandeRc insertion-fichier-image img:hover {
  transform: scale(2.5);
  z-index: 1000;
  position: relative;
  image-rendering: auto;
  filter: contrast(1.1) brightness(1.05);
}

/* Optimisation pour les images SVG (meilleure qualité à petit poids) */
.fichePriseCommandeRc insertion-fichier-image img[src*=".svg"] {
  image-rendering: geometricPrecision;
}

.fichePriseCommandeRc insertion-fichier-image img[src*=".svg"]:hover {
  image-rendering: geometricPrecision;
  filter: none;
}

/* Optimisation pour les images PNG avec transparence */
.fichePriseCommandeRc insertion-fichier-image img[src*=".png"]:hover {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.05) brightness(1.02);
}

/* Adaptation de l'éditeur Froala à la largeur du conteneur */
.fichePriseCommandeRc .deuxiemeColonne editeur .editeur {
  width: 100% !important;
  max-width: 100%;
}

.fichePriseCommandeRc .deuxiemeColonne editeur .editeur .fr-wrapper {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

.fichePriseCommandeRc .deuxiemeColonne editeur .fr-toolbar {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

/* Afficher le contenu complet des descriptions en mode lecture */
.fichePriseCommandeRc editeur texte .enLecture {
  display: block;
}

.fichePriseCommandeRc editeur texte .enLecture libelle {
  float: none !important;
  display: block !important;
  margin-bottom: 10px !important;
}

.fichePriseCommandeRc editeur texte .ellipsis {
  white-space: normal !important;
  text-overflow: clip !important;
  overflow: visible !important;
  max-height: none !important;
  clear: both !important;
  display: block !important;
  text-align: justify !important;
}

/* Justifier le texte des conditions de disponibilités */
.fichePriseCommandeRc zone-texte texte .valeur {
  text-align: justify !important;
}
