/* Login and signup pages */
.auth {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 16px;
  position: relative;
  overflow: hidden;
}
.auth__card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  padding: 32px 28px 26px;
  background: var(--surface-strong);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  box-shadow: var(--lift-4);
  backdrop-filter: blur(14px);
}
.auth__brand {
  display: inline-flex;
  margin-bottom: 18px;
}
.auth h1 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.auth__sub {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 13.5px;
}
.auth__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}
.auth__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.auth__field .ws-input {
  font-size: 14px;
  padding: 11px 12px;
}
.auth__field small {
  font-weight: 400;
  color: var(--ink-3);
  font-size: 11.5px;
}
.auth__err {
  font-size: 12.5px;
  color: var(--clay);
  min-height: 16px;
  margin: -4px 0 0;
}
.auth__err:empty {
  min-height: 0;
}
.auth__submit {
  justify-content: center;
  width: 100%;
}
.auth__submit:disabled {
  opacity: 0.6;
  cursor: progress;
}
.auth__switch {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
}
.auth__switch a {
  color: var(--accent);
  font-weight: 500;
}


/* language globe, top-right */
.auth__lang {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  z-index: 5;
}
