/* ======================
   Email Popup Styles
   ====================== */

/* Popup overlay */
.email-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.719);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* White popup box */
.email-popup-content {
  position: relative;
  background: #0c0c0c;
  padding: 20px 25px;
  border-radius: 10px;
  width: 350px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0px 5px 15px rgba(228, 158, 7, 0.726);

  /* Start state for animation */
  opacity: 0;
  transform: translateY(-50px);
}

/* When visible, apply animation */
.email-popup.show .email-popup-content {
  animation: slideIn 0.6s ease forwards;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  background: transparent;
  border: none;
}

/* Form inputs */
.email-popup-content input[type="email"] {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  border: 1px solid #f3a805;
  border-radius: 6px;
}

.email-popup-content button {
  padding: 10px 20px;
  background: #f7941d;
  border: none;
  border-radius: 6px;
  color: rgb(122, 15, 15);
  font-size: 16px;
  cursor: pointer;
}

.email-popup-content button:hover {
  background: #e98300;
}

/* Slide-in animation keyframes */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
