/* Pave-inspired authentication refresh for the legacy shell while React migration is underway. */
.khda-auth-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  background: #0f172a;
  color: #fff;
  position: relative;
}
.khda-auth-back {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  z-index: 2;
  color: rgba(255,255,255,.78);
  font-size: .875rem;
  font-weight: 600;
}
.khda-auth-showcase {
  padding: 5.5rem 4rem 4rem;
  background:
    radial-gradient(circle at 10% 10%, rgba(53,89,224,.62), transparent 34%),
    linear-gradient(135deg, #172554 0%, #1d4ed8 52%, #111827 100%);
  min-height: 100%;
}
.khda-auth-form-wrap {
  background: #fff;
  color: #111827;
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}
.khda-auth-card {
  width: min(100%, 30rem);
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 18px 45px -28px rgba(15,23,42,.35);
}
.khda-auth-eyebrow {
  color: #2b4fe3;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .65rem;
}
.khda-input {
  width: 100%;
  height: 2.75rem;
  border: 1px solid #e5e7eb;
  border-radius: .85rem;
  padding: 0 .85rem;
  font-size: .92rem;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.khda-input:focus {
  border-color: #2b4fe3;
  box-shadow: 0 0 0 4px rgba(43,79,227,.1);
}
.khda-primary-btn {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .85rem;
  background: #2b4fe3;
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  border: 0;
  transition: background .16s ease, transform .16s ease;
}
.khda-primary-btn:hover { background: #2442c6; transform: translateY(-1px); }
.khda-primary-btn:disabled { opacity: .6; transform: none; }
.khda-demo-card {
  width: min(100%, 30rem);
  margin-top: 1rem;
  border: 1px solid #e5e7eb;
  background: #f8fbff;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-size: .78rem;
  color: #64748b;
}
.khda-auth-proof {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.1);
  border-radius: 1rem;
  padding: 1rem;
  color: rgba(239,246,255,.92);
  font-size: .9rem;
}
.khda-auth-proof span { color: #6ee7b7; font-weight: 800; }
.khda-auth-stat {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  border-radius: 1rem;
  padding: .9rem .6rem;
}
.khda-auth-stat strong { display: block; font-size: 1.35rem; line-height: 1; }
.khda-auth-stat span { display: block; margin-top: .25rem; font-size: .7rem; color: rgba(219,234,254,.7); }
@media (max-width: 900px) {
  .khda-auth-shell { grid-template-columns: 1fr; }
  .khda-auth-showcase { display: none; }
  .khda-auth-form-wrap { padding-top: 5rem; }
  .khda-auth-back { color: #475569; }
}
