/* Kirish — pastki panel va skaner JS dan oldin ham yo'q */
html.is-auth .appbar,
html.is-auth #scanFab,
html.is-auth .fab,
html.is-auth .home-bg,
html.is-auth .desk-topbar,
body.is-auth .appbar,
body.is-auth #scanFab,
body.is-auth .fab,
body.is-auth .home-bg,
body.is-auth .desk-topbar {
  display: none !important;
}

html.is-auth,
body.is-auth,
body.is-auth .shell,
body.is-auth #view,
body.is-auth .auth-page {
  background: #f8fafc;
  box-shadow: none;
}

body.is-auth .shell {
  display: block !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  max-width: none;
  border: 0;
}

body.is-auth #view {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.auth-page {
  flex: 1;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: calc(72px + env(safe-area-inset-top)) 28px calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.auth-logo {
  margin: 0 0 18px;
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0f172a;
}
.auth-title {
  margin: 0 0 36px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 8px;
}

.auth-page .input {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 16px;
}

.auth-page .input:focus {
  outline: none;
  border-color: #111827;
}

.auth-submit {
  margin-top: 8px;
  border-radius: 14px;
  padding: 15px 16px;
}

.auth-err {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #dc2626;
  text-align: center;
}

.auth-err[hidden] {
  display: none;
}
