/* Popup Container */
#newsletter-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.4s ease-in-out;
}

/* Popup Box */
.popup-content {
  background: #fff;
  color: #000;
  padding: 40px 30px;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: scaleIn 0.3s ease;
}

/* Close Button */
#close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #888;
  transition: 0.2s;
}
#close-popup:hover {
  color: #000;
}

/* Form */
#popup-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#popup-form input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}
#popup-form button {
  background: #000;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
#popup-form button:hover {
  background: #333;
}

.success-msg {
  color: #28a745;
  display: none;
  margin-top: 15px;
  font-weight: 600;
}

.note {
  font-size: 0.85rem;
  color: #777;
  margin-top: 10px;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes scaleIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}
