/* Login form styling — complements start.css and device/authorize.css.
   Those supply the centered shell and card; this only narrows the shell to a
   login-card width and styles the email form (spacing, input, focus). */

.login-shell {
  width: min(520px, calc(100% - 32px));
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 4px;
}

#login-form label {
  font-size: 1rem;
}

#login-email {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

#login-email:focus-visible {
  outline: 2px solid var(--accent, #b23a2a);
  outline-offset: 1px;
}

#login-submit {
  align-self: flex-start;
  margin-top: 6px;
}

/* Keep the live-status lines from adding blank space until they have content. */
#login-alert:empty,
#login-sent[hidden] {
  display: none;
}
