/*
 * Login page. Structure translated from the approved design canvas
 * (.superpowers/sdd/2026-09-13-anketi-foundation/design-login-extract.html,
 * the "isLogin" screen); every size/spacing/shadow value below is lifted
 * verbatim from that artboard's inline styles. Colours are mapped to
 * --vt-* tokens -- see tokens.css and the login redesign report.
 */

.vt-auth-page {
  min-height: 100vh;
  background: var(--vt-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.vt-auth-card {
  background: var(--vt-white);
  border: 1px solid var(--vt-border-soft);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 20, 45, .10);
  padding: 32px 30px;
  width: 100%;
  max-width: 400px;
}

.vt-auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  text-align: center;
}

.vt-auth-logo {
  height: 52px;
  width: auto;
  display: block;
}

.vt-auth-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--vt-text-faint);
}

.vt-auth-title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 24px;
}

.vt-auth-subtitle {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--vt-text-secondary);
}

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

.vt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.vt-field label {
  font-size: .79rem;
  font-weight: 700;
  color: var(--vt-text-secondary);
}

.vt-required {
  color: var(--vt-action);
}

.vt-field input,
.vt-field select {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--vt-font);
  font-size: .9rem;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1.5px solid var(--vt-border-soft);
  background: var(--vt-white);
  color: var(--vt-text);
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}

.vt-field input:focus,
.vt-field select:focus {
  border-color: var(--vt-blue);
}

.vt-remember {
  display: flex;
  gap: 9px;
  align-items: center;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--vt-text-secondary);
}

.vt-remember input {
  width: 17px;
  height: 17px;
  accent-color: var(--vt-action);
}

/* The button system moved to buttons.css on 2026-09-15 -- see its header.
 * Every layout loads that file, so nothing here needs to. */

.vt-auth-note {
  margin: 20px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--vt-text-faint);
}

.vt-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid var(--vt-danger);
  border-radius: 8px;
  color: var(--vt-danger);
  background: var(--vt-danger-surface);
  font-size: 14.5px;
}
