/* Стили экрана авторизации (ключ доступа + 6-значный TOTP) */
body.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg-canvas);
}

.login-shell {
  width: 100%;
  max-width: 400px;
}

.login-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.login-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.login-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.login-card {
  padding: 24px;
}

.login-field {
  margin-bottom: 16px;
}

.login-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-primary);
}

.login-hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-secondary);
}

.otp-input {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.28em;
  height: 48px;
  font-variant-numeric: tabular-nums;
}

.login-error {
  margin-bottom: 16px;
  display: none;
}

.login-error.visible {
  display: flex;
}

.login-submit {
  width: 100%;
  margin-top: 4px;
}

.login-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-secondary);
  line-height: 1.5;
}
