.pharmacie-garde-banner {
  background-color: #00796b;
  color: #fff;
  padding: 15px 20px;
  height: 60px; /* Taille comme un menu */
  font-family: Arial, sans-serif;
  font-size: 16px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  display: flex;
  justify-content: space-between; /* espace entre gauche et droite */
  align-items: center;
  animation: clignoter 2s infinite;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes clignoter {
  0% { opacity: 1; }
  50% { opacity: 0.85; }
  100% { opacity: 1; }
}

/* Partie gauche */
.pgb-left {
  white-space: nowrap;
  font-weight: 400;
}

/* Partie droite : label + bouton */
.pgb-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Label "PHARMACIE DE GARDE" */
.pharmacie-garde-label {
  font-weight: bold;
  background-color: white;
  color: #00796b;
  padding: 5px 10px;
  border-radius: 4px;
  user-select: none;
}

/* Bouton fermer */
.pharmacie-garde-close {
  background-color: #004d40;
  color: #fff;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.pharmacie-garde-close:hover {
  background-color: #00332d;
}

/* Responsive - petits écrans */
@media (max-width: 600px) {
  .pharmacie-garde-banner {
    flex-direction: column;
    height: auto;
    padding: 10px 15px;
    gap: 10px;
  }

  .pgb-left, .pgb-right {
    white-space: normal;
    justify-content: center;
  }

  .pgb-right {
    gap: 10px;
  }

  .pharmacie-garde-close {
    font-size: 12px;
    padding: 5px 8px;
  }
}
