.email-popup-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
}

.email-popup-content {
  background-color: #fff;
  margin: 5% auto;
  width: 550px;
  max-width: 95%;
  position: relative;
  animation: emailPopupFadeIn 0.5s;
}

.email-popup-close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  padding: 0;
  z-index: 1;
}

.email-popup-close:hover {
  color: #000;
  background: rgba(255, 255, 255, 0.9);
}

.email-popup-hero {
  width: 100%;
  overflow: hidden;
}

.email-popup-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.email-popup-body {
  padding: 25px 40px 30px;
  text-align: center;
}

.email-popup-heading {
  font-size: 20px;
  color: #022859;
  margin-bottom: 20px;
}

.email-popup-label {
  display: block;
  text-align: left;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 6px;
  color: #333;
}

#email-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 16px;
  box-sizing: border-box;
}

.email-popup-validation-error {
  color: #d32f2f;
  font-size: 13px;
  text-align: left;
  min-height: 18px;
  margin-top: 4px;
}

#email-form button {
  background-color: #0d4b83;
  color: white;
  padding: 10px 30px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 12px;
}

#email-form button:hover {
  background-color: #022859;
}

#email-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.email-popup-categories {
  font-size: 16px;
  color: #6b6b6b;
  margin-top: 20px;
  margin-bottom: 0;
}

.email-popup-body h2 {
  font-size: 24px;
  color: #022859;
  margin-bottom: 15px;
}

.email-popup-body p {
  color: #464646;
}

@keyframes emailPopupFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
