/* =========================================================================
📬 Tracknova Newsletter Popup — Feedback animé SVG + Responsive
========================================================================= */

#newsletter-popup {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #4caf50;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  max-width: 90%;
  width: auto;
}

#newsletter-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

#newsletter-popup.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
}

#newsletter-popup .popup-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

#popup-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

#popup-icon-path {
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.6s ease;
}

#popup-message {
  font-weight: 500;
  word-break: break-word;
}

/* 📱 Responsive */
@media (max-width: 480px) {
  #newsletter-popup {
    bottom: 16px;
    padding: 10px 16px;
    font-size: 13px;
    gap: 8px;
  }

  #popup-icon {
    width: 20px;
    height: 20px;
  }

  #popup-message {
    font-size: 13px;
  }
}
