/* Overlay de fond */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Contenu du popup */
.popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  max-width: 350px;
  width: 90%;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  font-family: Arial, sans-serif;
}

/* Bouton de fermeture (croix) */
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  color: #333;
  cursor: pointer;
}

/* Bouton principal */
.popup-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #ffb20d;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
}
/* ============================ */
/* 2éme code popup en bas produits */
/* ============================ */
#simple-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    overflow: hidden;
    min-width: 250px;
    z-index: 9999;
}

#simple-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.client-info {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}

.client-info #client-name {
    font-weight: bold;
    font-style: italic;
    color: #333; /* nom du client reste en noir */
}

.client-info #item-name {
    font-weight: bold;
    font-style: italic;
    color: #ffb20d; /* nom du produit en orange doré */
}
.item-image {
    width: 50px;
    height: 40px;
    object-fit: cover;
    border-radius: 3px;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #eee;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    direction: rtl;
}

.progress-bar {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 6s linear;
}