/* Sales waitlist — dialog, reopen chip, and contact-sales form */

.miz-waitlist,
.miz-waitlist-chip,
.miz-waitlist-bar,
.miz-waitlist-form {
  font-family: "Yekan Bakh Font", Tahoma, Arial, sans-serif;
}

.miz-waitlist {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.miz-waitlist[hidden],
.miz-waitlist-chip[hidden],
.miz-waitlist-bar[hidden] {
  display: none !important;
}

.miz-waitlist__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.58);
  backdrop-filter: blur(6px);
}

.miz-waitlist__dialog {
  position: relative;
  width: min(28.5rem, 100%);
  max-height: min(42rem, calc(100vh - 2.5rem));
  overflow: auto;
  direction: rtl;
  text-align: start;
  color: #1a1a1a;
  background: #fff;
  border-radius: 18px;
  padding: 1.7rem 1.45rem 1.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.miz-waitlist__close {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.miz-waitlist__close:hover {
  background: #e5e7eb;
}

.miz-waitlist__eyebrow {
  margin: 0 0 0.45rem;
  color: #146ef6;
  font-size: 0.92rem;
  font-weight: 700;
}

.miz-waitlist__dialog h2 {
  margin: 0 0 0.7rem;
  font-size: 1.45rem;
  line-height: 1.45;
  font-weight: 800;
}

.miz-waitlist__lead,
.miz-waitlist__fallback {
  margin: 0 0 1.15rem;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.85;
}

.miz-waitlist__fallback {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
}

.miz-waitlist__fallback a,
.miz-waitlist-page__note a,
.miz-waitlist-bar a {
  color: #146ef6;
  font-weight: 700;
}

.miz-waitlist-form {
  position: relative;
  display: grid;
  gap: 0.85rem;
  direction: rtl;
  text-align: start;
}

.miz-waitlist-form label {
  display: grid;
  gap: 0.35rem;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 700;
}

.miz-waitlist-form input,
.miz-waitlist-form select {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d7dbe3;
  border-radius: 10px;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-weight: 500;
}

.miz-waitlist-form input:focus,
.miz-waitlist-form select:focus {
  outline: 2px solid rgba(20, 110, 246, 0.35);
  border-color: #146ef6;
}

.elementor-icon-box-description a[href="/contact-sales/"] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.miz-waitlist-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.miz-waitlist-form__submit {
  min-height: 3rem;
  border: 0;
  border-radius: 10px;
  background: #146ef6;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.miz-waitlist-form__submit:hover {
  background: #0f5ed4;
}

.miz-waitlist-form__submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

.miz-waitlist-form__error {
  margin: 0;
  color: #b42318;
  font-size: 0.9rem;
  line-height: 1.7;
}

.miz-waitlist-form__ok {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #ecfdf3;
  color: #067647;
  font-weight: 700;
  line-height: 1.8;
}

.miz-waitlist-chip {
  position: fixed;
  z-index: 9000;
  right: 1.15rem;
  bottom: 1.15rem;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  background: #146ef6;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(20, 110, 246, 0.35);
  cursor: pointer;
}

.miz-waitlist-chip:hover {
  background: #0f5ed4;
}

.miz-waitlist-bar {
  position: fixed;
  z-index: 9000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  margin: 0 auto;
  max-width: 36rem;
  direction: rtl;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #111318;
  color: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  line-height: 1.7;
}

.miz-contact__hero .miz-waitlist-page .miz-waitlist-form {
  width: min(32rem, 100%);
  margin: 0 auto;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.05);
}

.miz-contact__hero .miz-waitlist-page__note {
  max-width: 36rem;
  margin: 1.15rem auto 0;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .miz-waitlist-chip {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .miz-waitlist__backdrop {
    backdrop-filter: none;
  }
}
