.mogham-sms-auth-page {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, #f4efe8 0%, #f8fafc 42%, #eef2ff 100%);
/*  font-family: inherit;*/
  color: #111827;
}

.mogham-sms-shell {
  direction: rtl;
  display: grid;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.mogham-sms-shell.is-standalone {
  min-height: 100vh;
  align-items: center;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 460px);
  padding: 32px 0;
}

.mogham-sms-shell.is-inline {
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 420px);
  align-items: stretch;
  margin: 32px auto;
}

.mogham-sms-shell__stage,
.mogham-sms-shell__panel {
  min-width: 0;
}

.mogham-sms-brand {
  height: 100%;
  border-radius: 24px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mogham-sms-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.mogham-sms-brand h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.mogham-sms-brand p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
}

.mogham-sms-highlights {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

.mogham-sms-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(241, 245, 249, 0.9);
  color: #334155;
  font-size: 14px;
}

.mogham-sms-highlights li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  flex: 0 0 10px;
}

.mogham-sms-card {
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.mogham-sms-logo {
  margin-bottom: 18px;
    text-align: center;
}

.mogham-sms-logo img {
  max-height: 48px;
  width: auto;
  display: block;
    margin: auto;
}

.mogham-sms-card__header h2,
.mogham-sms-step__intro h3,
.mogham-sms-password h3 {
  margin: 0;
  color: #0f172a;
}

.mogham-sms-card__header h2 {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.mogham-sms-card__header p,
.mogham-sms-step__intro p,
.mogham-sms-card__footer p,
.mogham-sms-muted-link {
  color: #64748b;
  font-size: 14px;
  line-height: 1.9;
}

.mogham-sms-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #acacac;
  font-size: 12px;
  font-weight: 800;
}

.mogham-sms-alert {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #be123c;
  font-size: 14px;
}

.mogham-sms-step {
  margin-top: 24px;
}

.mogham-sms-step__intro {
  margin-bottom: 18px;
}

.mogham-sms-step__intro h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.mogham-sms-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.mogham-sms-field span {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.mogham-sms-input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid #dbe1ea;
  background: #fff;
  box-sizing: border-box;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mogham-sms-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
  background: #ffffff;
}

.mogham-sms-input--otp {
  text-align: center;
  letter-spacing: 10px;
  font-size: 24px;
  font-weight: 800;
}

.mogham-sms-button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.mogham-sms-button:hover {
  transform: translateY(-1px);
}

.mogham-sms-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.mogham-sms-button--primary {
  background: linear-gradient(135deg, #46b867 0%, #0e7506 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.mogham-sms-button--secondary {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #dbe1ea;
}

.mogham-sms-divider {
  position: relative;
  text-align: center;
  margin: 24px 0 18px;
}

.mogham-sms-divider::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  border-top: 1px solid #e5e7eb;
}

.mogham-sms-divider span {
  position: relative;
  display: inline-block;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #94a3b8;
  font-size: 13px;
}

.mogham-sms-mobile-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
}

.mogham-sms-mobile-chip button,
.mogham-sms-timer button {
  border: 0;
  background: transparent;
  color: #7c3aed;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mogham-sms-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: #64748b;
  font-size: 13px;
}

.mogham-sms-password {
  display: grid;
  gap: 6px;
}

.mogham-sms-password h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.mogham-sms-muted-link,
.mogham-sms-card__footer a {
  color: #111827;
  font-weight: 700;
  text-decoration: none;
}

.mogham-sms-card__footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #eef2f7;
}

.mogham-sms-card__footer p {
  margin: 0 0 8px;
}

@media (max-width: 980px) {
  .mogham-sms-shell.is-standalone,
  .mogham-sms-shell.is-inline {
    grid-template-columns: 1fr;
  }

  .mogham-sms-shell__stage {
    order: 2;
  }

  .mogham-sms-shell__panel {
    order: 1;
  }
}

@media (max-width: 640px) {
  .mogham-sms-shell {
    width: min(100%, calc(100% - 20px));
  }

  .mogham-sms-card,
  .mogham-sms-brand {
    padding: 20px;
    border-radius: 18px;
      text-align: center;
  }

  .mogham-sms-card__header h2 {
    font-size: 24px;
  }

  .mogham-sms-input--otp {
    letter-spacing: 6px;
  }

  .mogham-sms-timer {
    align-items: flex-start;
    flex-direction: column;
  }
}
