* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f6f7f9;
  color: #17212b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

form {
  width: min(380px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 29, 43, 0.08);
}

h1 {
  margin: 0;
  font-size: 24px;
}

p {
  margin: 6px 0 18px;
  color: #667080;
}

input, button {
  width: 100%;
  min-height: 42px;
  border-radius: 6px;
  font: inherit;
}

input {
  border: 1px solid #dfe5eb;
  padding: 10px 12px;
  outline: none;
}

input:focus {
  border-color: #1f7a68;
  box-shadow: 0 0 0 3px rgba(31, 122, 104, 0.12);
}

button {
  margin-top: 12px;
  border: 1px solid #1f7a68;
  background: #1f7a68;
  color: #fff;
  cursor: pointer;
}

#error {
  min-height: 20px;
  margin-top: 10px;
  color: #b42318;
  font-size: 13px;
}
