body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Yu Gothic", sans-serif;
  margin: 32px;
  color:#111827;
}

*,
*::before,
*::after {
  box-sizing:border-box;
}

h1 {
  margin-top: 0;
}

form,
.password-box {
  max-width: 420px;
}

label {
  display:block;
  margin:12px 0 5px;
  font-weight:600;
}

input {
  width:100%;
  box-sizing:border-box;
  padding:9px 10px;
  border:1px solid #cbd5e1;
  border-radius:6px;
}

button {
  margin-top:16px;
  padding:9px 14px;
  border:1px solid #111;
  border-radius:6px;
  background:#111;
  color:#fff;
  cursor:pointer;
  font: inherit;
}

.note {
  color:#64748b;
  font-size:13px;
  line-height:1.5;
}

.error {
  padding:8px 10px;
  border-radius:6px;
  background:#fff4f4;
  border:1px solid #f0b8b8;
  color:#9b1c1c;
}

@media (max-width: 480px) {
  body {
    margin:16px;
  }

  h1 {
    font-size:24px;
    line-height:1.25;
  }

  form,
  .password-box {
    max-width:100%;
  }

  input,
  button {
    min-height:42px;
  }

  button {
    width:100%;
  }
}
