/* WhatsApp lead gate */
.wa-gate {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
}

.wa-gate[hidden] {
  display: none !important;
}

.wa-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
}

.wa-gate__dialog {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
  z-index: 1;
}

.wa-gate__close {
  position: absolute;
  top: 10px;
  left: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.wa-gate__dialog h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #1e1b4b;
}

.wa-gate__sub {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.wa-gate__field {
  display: block;
  margin-bottom: 12px;
}

.wa-gate__field span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.wa-gate__field input,
.wa-gate__field select {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}

.wa-gate__field input:focus,
.wa-gate__field select:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}

.wa-gate__error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  margin: 0 0 12px;
}

.wa-gate__submit,
.wa-gate__open-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 13px 16px;
  background: #25d366;
  color: #fff !important;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none !important;
  cursor: pointer;
  font-family: inherit;
}

.wa-gate__submit:disabled {
  opacity: .7;
  cursor: wait;
}

.wa-gate__escape {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: #64748b;
  font-size: 13px;
  text-decoration: underline;
}

.wa-gate__success-view {
  text-align: center;
}

.wa-gate__success-icon {
  font-size: 42px;
  margin-bottom: 8px;
}

.wa-gate__open-wa {
  margin-top: 8px;
}

/* Online school mid CTA */
.os-mid-cta {
  text-align: center;
  background: #f7f2ff;
  border: 1px solid #ebe0ff;
  border-radius: 18px;
  padding: 28px 20px;
}

.os-mid-cta h2 {
  margin: 0 0 8px;
  color: #2f0a7a;
  font-weight: 800;
}

.os-mid-cta p {
  margin: 0 0 16px;
  color: #564b6d;
}

.os-mid-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.os-stage--soon {
  opacity: .9;
  background: #f8fafc;
}

.os-stage__badge--soon {
  background: #eef2f7 !important;
  color: #475569 !important;
  border-color: #dbe3ee !important;
}
