@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #faf8f4;
  color: #24444d;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at top, #e4ebea, #faf8f4 60%);
}

.login-lockup {
  display: block;
  margin: 0 auto 14px;
  max-width: 200px;
  height: auto;
}

.login-card {
  width: min(100%, 420px);
  padding: 34px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 55px rgb(30 71 80 / 14%);
}

.login-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 15px;
  background: #1E4750;
  color: #fff;
  font-weight: 800;
}

h1 { margin: 20px 0 8px; font-size: 1.55rem; }
p { color: #58706b; line-height: 1.5; }
form { display: grid; gap: 18px; margin-top: 26px; }
label { display: grid; gap: 7px; font-weight: 650; }
input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #b9cac6;
  border-radius: 12px;
  font: inherit;
}
input:focus { outline: 3px solid #b8ddd3; border-color: #236b5e; }
button {
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  background: #1E4750;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.login-error { color: #a52d2d; font-weight: 650; }

.login-logo { display: block; margin: 0 auto 18px; max-width: 200px; height: auto; }
