
.row {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
}

.block {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 5px solid transparent;
}
.block section { width: 100%; height: 100%; box-sizing: border-box; border: 2px solid black; }

.row1 {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
}

.row1 .block:nth-child(1),
.row1 .block:nth-child(3) {
  flex: 1; /* partage le reste de l'espace disponible */
}

.row1 .block:nth-child(2) {
  width: 50%; /* largeur fixe */
  flex-shrink: 0; /* empêche le bloc de rétrécir si manque de place */
}

.row2 .block { width: 50%; }

.row3 .block { width: 25%; }

h2 {
	text-align: left;
  padding: 0;
  margin: 0;
  font-size: 20px;
  background: white;
  display: flex;
    align-items: center;
}
h2 img {
	margin-right: 10px;
	    border-radius: 40px;
    box-sizing: border-box;
    border: 9px solid white;
}

.exploitations-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.exploitations-list li.h {
  cursor: pointer;
}
.exploitations-list li.h:hover {
  background: #666666;
  color: white;
}
.exploitations-list li.active {
  background: black;
  color: white;
}

.exploitations-list li {
  padding: 5px 0 5px 10px;
  box-sizing: border-box;
  border-left: 5px solid transparent;
}

.exploitations-list a {
  text-decoration: none;
  color: white;
  padding: 5px 8px;
  display: inline-block;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}


.exploitations-list li {
  display: flex;
  align-items: center; /* pour bien aligner verticalement les éléments */
  gap: 10px; /* espace entre les colonnes */
  margin-bottom: 0;
}

.exploitations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.exploitations-list li {
  display: flex;
  align-items: center;
  width: 100%;
}

/* Colonnes */
.col {
  padding: 0 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.image {
  width: 30px;
}

.label {
  flex: 2;
}

.quantity {
  flex: 1;
  text-align: center;
  width: 30px;
}

.poids {
  flex: 2;
  text-align: right;
  width: 40px;
}

.exploitations-list img {
  display: block;
  width: 25px;
  height: 25px;
}


.exploitations-list img {
  display: block;
  width: 25px;
  height: 25px;
}


button {
  width: 100%;
  padding: 0.6rem 1.2rem;
  background-color: #007bff;
  color: white;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #0056b3;
}

.exploitation-details {
  display: flex;
  gap: 0;
  height: 100%;
}

.info-gauche {
  flex: 1;
}

.info-gauche h3 {
  margin-bottom: 10px;
}

.info-gauche p {
 padding-left: 15px;
    margin: 6px 0 0;
}

.carte-droite {
  flex: 1;
  height: 100%;
  min-height: 150px;
  border-radius: 8px;
  overflow: hidden;
}

#meteo {
	width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    background: #FFFFFF99;
    box-sizing: border-box;
    border: 10px solid #DDD;
    border-radius: 20px;
    font-size: 30px;
}

.pub1 {
	background-image: url('https://images.placeholders.dev/?width=200&height=100&text=Promotion');
	background-position: center center;
	background-size: cover;
}
.pub2 {
	background-image: url('https://images.placeholders.dev/?width=100&height=300&text=OP');
	background-position: center center;
	background-size: cover;
}

.ventes p {
  margin-bottom: 10px;
  font-size: 16px;
}

.ventes label {
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
}

.progress-bar {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  height: 40px;
  overflow: hidden;
  position: relative;
}

.progress {
  height: 100%;
  background-color: #4CAF50;
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}