/* Notify modal — email capture popup triggered by clicking any
 * Divi button (or any anchor) whose URL is "#fdm-notify-<slug>".
 * Brand: FDE dark surface, orange CTA, straight edges. */

.fdm-notify { font-family: "Raleway", "Inter", system-ui, -apple-system, sans-serif; }
.fdm-notify[hidden] { display: none !important; }
.fdm-notify {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fdmNotifyBgIn 220ms ease both;
}
@keyframes fdmNotifyBgIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fdmNotifyCardIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

.fdm-notify__bg {
  position: absolute;
  inset: 0;
  background: rgba(8,5,2,0.78);
  backdrop-filter: blur(8px);
}
.fdm-notify__card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #1d1611;
  color: #ffffff;
  padding: 36px 32px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  animation: fdmNotifyCardIn 320ms cubic-bezier(0.2,0.8,0.2,1) both;
}
.fdm-notify__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 160ms ease, transform 160ms ease;
}
.fdm-notify__x:hover { color: #ffffff; transform: rotate(90deg); }

.fdm-notify__title {
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.2;
}
.fdm-notify__desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  margin: 0 0 22px;
}

.fdm-notify__field {
  display: block;
  text-align: left;
  margin-bottom: 10px;
}
.fdm-notify__field-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4b870;
  margin-bottom: 6px;
}
.fdm-notify__req { color: #b8963e; }
.fdm-notify__field input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 13px 16px;
  background: #ffffff;
  color: #14100a;
  font-family: inherit;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.fdm-notify__field input:focus {
  outline: 0;
  border-color: #b8963e;
  box-shadow: 0 0 0 3px rgba(184,150,62,0.35);
}
/* Beat Chrome/Safari autofill tinting (keep input white-on-dark text). */
.fdm-notify__field input:-webkit-autofill,
.fdm-notify__field input:-webkit-autofill:hover,
.fdm-notify__field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #14100a;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
  box-shadow:        0 0 0 1000px #ffffff inset;
  caret-color: #14100a;
}

.fdm-notify__error {
  margin: 0 0 12px;
  font-size: 13px;
  color: #ff8b8b;
}
.fdm-notify__error[hidden] { display: none !important; }

.fdm-notify__submit {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: #ed5c2e;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.fdm-notify__submit:hover:not(:disabled) {
  background: #f07246;
  transform: translateY(-1px);
}
.fdm-notify__submit:disabled {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
  cursor: not-allowed;
}

.fdm-notify__view[hidden] { display: none !important; }
.fdm-notify__view--thanks {
  text-align: center;
  padding: 12px 0 4px;
}
.fdm-notify__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b8963e;
  margin-bottom: 14px;
}
.fdm-notify__thanks {
  font-size: 16px;
  line-height: 1.45;
  color: #ffffff;
  margin: 0 0 20px;
}
