/* notify-me.css — Ridiviaanh — place in your css/ folder */

.nm-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 23, 47, 0.78);
  backdrop-filter: blur(6px);
  z-index: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
.nm-overlay.open { opacity: 1; pointer-events: all; }

.nm-box {
  background: #FDFAF5;
  width: 100%; max-width: 460px;
  padding: 48px 44px;
  position: relative;
  box-shadow: 0 40px 100px rgba(11, 23, 47, 0.35);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.nm-overlay.open .nm-box { transform: translateY(0); }

.nm-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border: 1px solid rgba(92, 110, 130, 0.2);
  background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #5C6E82; font-size: 12px;
  transition: border-color 0.3s, color 0.3s;
}
.nm-close:hover { border-color: #1B3A6B; color: #1B3A6B; }

.nm-eyebrow {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: #1B3A6B; font-weight: 500; margin-bottom: 12px;
  font-family: 'Jost', sans-serif;
}
.nm-rule { width: 28px; height: 1px; background: #C9A84C; margin-bottom: 16px; }

.nm-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 400; color: #0F2347; line-height: 1.25; margin-bottom: 12px;
}
.nm-body {
  font-size: 16px; line-height: 1.85; color: #1C2B3A;
  font-weight: 400; margin-bottom: 28px; font-family: 'Jost', sans-serif;
}

.nm-field { margin-bottom: 18px; }
.nm-label {
  display: block; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: #5C6E82; font-weight: 500;
  margin-bottom: 7px; font-family: 'Jost', sans-serif;
}
.nm-req { color: #C9A84C; }

.nm-input {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(27, 58, 107, 0.18);
  border-bottom: 2px solid rgba(27, 58, 107, 0.18);
  background: #fff; font-family: 'Jost', sans-serif;
  font-size: 15px; font-weight: 400; color: #1C2B3A;
  outline: none; border-radius: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nm-input:focus { border-color: #1B3A6B; border-bottom-color: #C9A84C; }
.nm-input::placeholder { color: #8FA3BF; font-weight: 300; }

.nm-error {
  font-size: 14px; color: #C0392B; font-weight: 500;
  padding: 10px 14px; background: rgba(192, 57, 43, 0.06);
  border-left: 2px solid #C0392B; margin-bottom: 16px;
  font-family: 'Jost', sans-serif;
}

.nm-submit {
  width: 100%; background: #1B3A6B; color: #E8D5A0;
  border: none; padding: 14px 20px;
  font-family: 'Jost', sans-serif; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase; font-weight: 500;
  cursor: pointer; transition: background 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 4px;
}
.nm-submit:hover { background: #0F2347; }
.nm-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.nm-fine {
  font-size: 12px; color: #5C6E82; font-weight: 400;
  margin-top: 12px; font-style: italic; font-family: 'Jost', sans-serif;
}

.nm-done { text-align: center; padding: 12px 0 4px; }
.nm-done-icon { font-size: 36px; color: #27AE60; margin-bottom: 16px; }
.nm-done-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; color: #0F2347; margin-bottom: 10px;
}
.nm-done-body {
  font-size: 16px; line-height: 1.8; color: #1C2B3A;
  font-weight: 400; margin-bottom: 24px; font-family: 'Jost', sans-serif;
}
.nm-done-body strong { color: #1B3A6B; font-weight: 600; }

.nm-done-close {
  background: none; border: 1px solid rgba(27, 58, 107, 0.2);
  color: #1B3A6B; font-family: 'Jost', sans-serif;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 500; padding: 10px 28px; cursor: pointer; transition: all 0.3s;
}
.nm-done-close:hover { background: #1B3A6B; color: #F7F3EC; border-color: #1B3A6B; }

.td-slot-notify {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #8FA3BF; font-weight: 400;
  cursor: pointer; background: none; border: none;
  padding: 4px 0; margin-top: 4px;
  text-decoration: underline; text-decoration-color: rgba(143, 163, 191, 0.4);
  transition: color 0.3s; font-family: 'Jost', sans-serif;
}
.td-slot-notify:hover { color: #C9A84C; text-decoration-color: #C9A84C; }

@media (max-width: 640px) { .nm-box { padding: 36px 24px; } }