:root {
  color-scheme: light;
  background: #e8ecf5;
  color: #20283f;
  font: 16px system-ui, sans-serif;
  --blue: #364eaa;
}
* { box-sizing: border-box; }
body {
  min-height: 100svh;
  margin: 0;
  padding: 32px 20px;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(0deg, transparent 0 39px, #657ba211 40px 41px);
}
.card {
  position: relative;
  width: min(100%, 400px);
  padding: 42px 38px 38px;
  background: #fff;
  border: 1px solid #cdd5e6;
  border-radius: 5px 18px 18px 5px;
  box-shadow: 5px 6px 0 #d5def2, 10px 12px 0 #bdcbe8, 12px 20px 45px #2f477321;
}
.book {
  width: 39px;
  height: 47px;
  border-radius: 4px 8px 8px 4px;
  display: grid;
  align-content: center;
  gap: 5px;
  background: var(--blue);
  padding: 0 9px 0 13px;
  box-shadow: inset 5px 0 #253b8b, 3px 3px #c4d1f2;
}
.book i { height: 1px; background: #d9e2ff; }
.book i:last-child { width: 55%; }
h1 { font: 400 63px/.98 Georgia, serif; margin: 23px 0 8px; letter-spacing: -.075em; }
.intro { margin: 0 0 33px; color: #52617d; }
form { display: grid; gap: 9px; }
label { font-weight: 650; font-size: .89rem; }
input, button { font: inherit; width: 100%; min-height: 47px; border-radius: 7px; }
input { border: 1px solid #aebbd5; background: #f7f9fd; color: inherit; padding: 0 12px; }
button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  margin-top: 5px;
  border: 0;
  background: var(--blue);
  color: white;
  font-weight: 650;
  cursor: pointer;
}
button:hover { background: #263d95; }
:focus-visible { outline: 2px solid #405cce; outline-offset: 3px; }
.login-error { color: #a12d46; font-size: .875rem; margin: 0; }
@media (max-width: 480px) {
  .card { padding: 33px 25px; }
}
