
/* Overlay d'arrière-plan */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Activation du popup */
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Boîte de dialogue */
.popup-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
  transform: translateY(0);
}

/* Bouton fermer (Croix) */
.popup-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #000;
}

/* Entête */
.sun-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 5px;
}

.popup-header .title-popup {
  margin: 0 0 15px 0;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.5rem;
  font-family: var(--lockdown-font-two);
}

/* Corps du texte */
.popup-body p {
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.98rem;
}

.popup-body .wishes {
  margin-bottom: 25px;
  color: #2c3e50;
}

/* Bouton principal */
.popup-btn {
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--color-accent);
    transition: background-color 0.2s ease;
}

.popup-btn:hover {
  background-color: #1EA4A1
}