/* =========================================================
   2027 DREAM LIFE DATE — INLINE OPT-IN CTA
   Scoped entirely to .dle-date-optin so no other form, image,
   or button on the site is affected.
   ========================================================= */

.dle-date-optin {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Manrope", sans-serif !important;
}

.dle-date-optin__img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 !important;
  border: 3px solid #171210;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  pointer-events: none;
}

.dle-date-optin__form {
  width: 100%;
  box-sizing: border-box;
  background: #F7F1E8;
  border: 3px solid #171210;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 22px clamp(18px, 4vw, 32px) 26px;
  box-shadow: 10px 10px 0 #FF3DA0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: "Manrope", sans-serif !important;
}

.dle-date-optin__row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.dle-date-optin__field {
  flex: 1 1 220px;
  min-width: 0;
}

.dle-date-optin__field input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 14px 16px;
  font-size: 16px;
  font-family: "Manrope", sans-serif !important;
  font-weight: 600 !important;
  color: #171210 !important;
  background: #FFFCF7 !important;
  border: 2px solid #171210 !important;
  border-radius: 6px !important;
}

.dle-date-optin__field input::placeholder {
  color: #8E7F76 !important;
  opacity: 1;
}

.dle-date-optin__field input:focus-visible {
  outline: 3px solid #FF4438;
  outline-offset: 2px;
}

.dle-date-optin__submit {
  width: 100%;
  min-height: 56px;
  box-sizing: border-box;
  padding: 16px 28px;
  font-family: "Manrope", sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
  text-transform: uppercase !important;
  color: #171210 !important;
  background: #FF3DA0 !important;
  border: 2px solid #171210 !important;
  border-radius: 6px !important;
  box-shadow: 5px 5px 0 #171210;
  cursor: pointer;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease,
    color .15s ease;
}

.dle-date-optin__submit:hover:not(:disabled) {
  background: #FF4438 !important;
  color: #FFFFFF !important;
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #171210;
}

.dle-date-optin__submit:disabled {
  opacity: .7;
  cursor: default;
}

.dle-date-optin__error {
  margin: 0 !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #B0142F !important;
}

/* SUCCESS STATE — only shown after ActiveCampaign confirms opt-in */

.dle-date-optin__success {
  width: 100%;
  box-sizing: border-box;
  background: #171210;
  border: 3px solid #171210;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: clamp(26px, 3.4vw, 42px) clamp(18px, 4vw, 32px);
  text-align: center;
  box-shadow: 10px 10px 0 #FF3DA0;
}

.dle-date-optin__success h3 {
  margin: 0 0 10px !important;
  font-family: "Manrope", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  line-height: 1.1 !important;
  color: #F7F1E8 !important;
}

.dle-date-optin__success-lede {
  margin: 0 0 8px !important;
  font-family: "Instrument Serif", Georgia, serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: clamp(20px, 2.4vw, 26px) !important;
  color: #FF3DA0 !important;
}

.dle-date-optin__success-body {
  margin: 0 0 20px !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #E8DDD2 !important;
}

.dle-date-optin__success .dle-btn {
  display: inline-block !important;
  padding: 14px 22px !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: #171210 !important;
  background: #FF3DA0 !important;
  border: 2px solid #F7F1E8 !important;
  border-radius: 6px !important;
}

/* Make sure hidden form/success states actually stay hidden. */
.dle-date-optin [hidden] {
  display: none !important;
}

/* Accessible labels that remain available to screen readers. */

.dle-date-optin .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Mobile */

@media (max-width: 480px) {
  .dle-date-optin__row {
    flex-direction: column;
  }

  .dle-date-optin__field {
    flex: 1 1 auto;
  }

  .dle-date-optin__form {
    padding: 18px 16px 22px;
  }

  .dle-date-optin__submit {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 15px !important;
  }
}