:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: #eef1ef;
  color: #171a1d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #eef1ef;
}

button,
input {
  font: inherit;
}

.login-page {
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}

.login-card {
  width: min(100%, 390px);
  padding: 30px;
  border: 1px solid #d7dcda;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 26, 29, .09);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 8px;
  background: #171a1d;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 7px;
  color: #68716d;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: 0;
}

.login-intro {
  margin: 10px 0 25px;
  color: #68716d;
  font-size: 14px;
}

form {
  display: grid;
  gap: 15px;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: #4e5753;
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #c9cfcc;
  border-radius: 6px;
  background: #fff;
  color: #171a1d;
  outline: none;
}

input:focus {
  border-color: #171a1d;
  box-shadow: 0 0 0 3px rgba(23, 26, 29, .1);
}

button {
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: #171a1d;
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

button:disabled {
  opacity: .55;
  cursor: wait;
}

.login-message {
  min-height: 20px;
  margin: 14px 0 0;
  color: #b13838;
  font-size: 13px;
}
