/* Listen auth — aligned to public Om Mangalam UI (cream / saffron) */
.om-auth-page {
  --om-auth-ink: #1c1410;
  --om-auth-muted: #5c534c;
  --om-auth-saffron: #b45309;
  --om-auth-orange: #ff8c00;
  --om-auth-cream: #fff8f0;
  --om-auth-card: rgba(255, 252, 246, 0.95);
  --om-auth-display: Georgia, "Times New Roman", serif;
  position: relative;
  color: var(--om-auth-ink);
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(255, 140, 0, 0.14), transparent 55%),
    radial-gradient(700px 360px at 90% 8%, rgba(180, 83, 9, 0.08), transparent 50%),
    linear-gradient(180deg, #fffaf3 0%, var(--om-auth-cream) 45%, #f5ebe0 100%);
  min-height: 70vh;
  overflow: hidden;
}

.om-auth-page::before {
  content: "ॐ";
  position: absolute;
  top: -0.05em;
  right: -0.05em;
  font-size: clamp(8rem, 22vw, 14rem);
  line-height: 1;
  opacity: 0.06;
  color: #2a1c12;
  pointer-events: none;
  z-index: 0;
}

.om-auth-wrap {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
}

.om-auth-symbols {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--om-auth-saffron);
  letter-spacing: 0.06em;
}

.om-auth-hero {
  text-align: center;
  margin-bottom: 1.35rem;
}

.om-auth-eyebrow {
  margin: 0 0 0.3rem;
  color: var(--om-auth-saffron);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.om-auth-hero h1 {
  font-family: var(--om-auth-display);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: #2a1c12;
}

.om-auth-hero p {
  margin: 0 auto;
  max-width: 22rem;
  color: var(--om-auth-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.om-auth-card {
  background: var(--om-auth-card);
  border: 1px solid rgba(180, 83, 9, 0.2);
  border-radius: 12px;
  padding: 1.45rem 1.25rem 1.35rem;
  box-shadow: 0 14px 32px rgba(42, 28, 18, 0.08);
}

.om-auth-alert {
  border-radius: 0.45rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.om-auth-alert-ok {
  background: rgba(34, 120, 70, 0.1);
  border: 1px solid rgba(34, 120, 70, 0.25);
  color: #1f5c38;
}

.om-auth-alert-err {
  background: rgba(180, 50, 40, 0.08);
  border: 1px solid rgba(180, 50, 40, 0.22);
  color: #8b1e1e;
}

.om-auth-form {
  display: grid;
  gap: 0.35rem;
}

.om-auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.om-auth-label {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--om-auth-muted);
}

.om-auth-input {
  width: 100%;
  border: 1px solid rgba(180, 83, 9, 0.28);
  border-radius: 0.45rem;
  padding: 0.55rem 0.7rem;
  background: #fff;
  color: var(--om-auth-ink);
  font-size: 0.95rem;
}

.om-auth-input:focus {
  outline: none;
  border-color: var(--om-auth-orange);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
}

.om-auth-hint {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--om-auth-muted);
}

.om-auth-field-error {
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(180, 50, 40, 0.35);
  background: rgba(180, 50, 40, 0.12);
  color: #8b1e1e;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.om-auth-input.is-invalid {
  border-color: #b43228;
  box-shadow: 0 0 0 3px rgba(180, 50, 40, 0.18);
}

.om-auth-captcha {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.om-auth-captcha-q {
  flex: 0 0 auto;
  min-width: 5.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(180, 83, 9, 0.28);
  background: rgba(255, 140, 0, 0.1);
  color: var(--om-auth-saffron);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.om-auth-captcha-input {
  flex: 1 1 auto;
  max-width: 7rem;
}

.om-auth-captcha-refresh {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(180, 83, 9, 0.28);
  background: #fff;
  color: var(--om-auth-saffron);
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1;
}

.om-auth-captcha-refresh:hover {
  background: rgba(255, 140, 0, 0.1);
}

.om-auth-submit {
  margin-top: 1rem;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1008;
  background: linear-gradient(145deg, #ff9f1a, #ff8c00 45%, #e67e00);
  box-shadow: 0 8px 18px rgba(255, 140, 0, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.om-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 140, 0, 0.35);
}

.om-auth-switch {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--om-auth-muted);
}

.om-auth-switch a,
.om-auth-note a {
  color: var(--om-auth-saffron);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.om-auth-switch a:hover,
.om-auth-note a:hover {
  border-bottom-color: rgba(180, 83, 9, 0.45);
}

.om-auth-note {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--om-auth-muted);
}

.om-auth-promo {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
  padding: 1.2rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(180, 83, 9, 0.22);
  background: linear-gradient(145deg, rgba(255, 252, 246, 0.98), rgba(255, 236, 210, 0.55));
  box-shadow: 0 10px 24px rgba(42, 28, 18, 0.06);
}

@media (min-width: 560px) {
  .om-auth-promo {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.1rem;
  }
}

.om-auth-promo-icon {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(42, 28, 18, 0.12);
}

.om-auth-promo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.om-auth-promo-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--om-auth-saffron);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.om-auth-promo h2 {
  margin: 0 0 0.45rem;
  font-family: var(--om-auth-display);
  font-size: 1.25rem;
  color: #2a1c12;
  line-height: 1.3;
}

.om-auth-promo p {
  margin: 0;
  color: var(--om-auth-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.om-auth-promo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.85rem;
}

.om-auth-promo-links a {
  color: var(--om-auth-saffron);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: 1px solid transparent;
}

.om-auth-promo-links a:hover {
  border-bottom-color: rgba(180, 83, 9, 0.45);
}

@media (max-width: 480px) {
  .om-auth-row {
    grid-template-columns: 1fr;
  }
}
