/* Overlay */
#waitlist-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  padding: 20px;
}

/* Modal content */
#waitlist-modal .modal-content {
  background: #fff;
  margin: 50px auto;
  padding: 30px;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Close button */
#waitlist-modal .close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Titles */
#waitlist-modal h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

#waitlist-modal h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  color: #444;
}

#waitlist-modal p {
  font-size: 1rem;
  line-height: 1.4;
}

/* Form */
#waitlist-modal form div {
  margin-bottom: 15px;
}

#waitlist-modal label {
  display: block;
  margin-bottom: 5px;
}

#waitlist-modal input[type="text"],
#waitlist-modal input[type="email"] {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

#waitlist-modal button {
  background: #0073aa;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#waitlist-modal button:hover {
  background: #005f8d;
}

/* Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
