@font-face {
  font-family: Inter;
  src: url('/fonts/inter.woff') format('woff');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  font-synthesis: none;
  color: #1c3024;
  background: #f7f8f5;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.login {
  display: grid;
  grid-template-columns: minmax(300px, 43%) 1fr;
  min-height: 100vh;
  min-height: 100svh;
}
.identity {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(28px, 4.4vw, 68px);
  color: #eef4e9;
  background: #192c22;
}
.identity::after {
  content: '';
  z-index: -1;
  position: absolute;
  inset: 31% -26% -15% -20%;
  background: url('/sidebar-lines.svg') center bottom / 100% auto no-repeat;
  opacity: .43;
}
.wordmark { display: flex; align-items: center; gap: 9px; font-size: 36px; line-height: 1; font-weight: 650; letter-spacing: -.065em; }
.wordmark svg { width: 37px; height: 37px; color: #c9ed98; }
.filing {
  --ink: #536547;
  place-self: center;
  position: relative;
  width: min(27vw, 370px);
  aspect-ratio: 1.17;
  margin: 0 0 14%;
  transform: rotate(-7deg);
}
.folder-back, .folder-front, .sheet {
  position: absolute;
  border: 2px solid var(--ink);
}
.folder-back {
  inset: 29% 3% 2% 4%;
  border-radius: 2% 3% 4% 4%;
  background: #a2bf86;
  transform: skewY(-4deg);
}
.folder-back::before {
  content: '';
  position: absolute;
  inset: -12% 52% 98% -2px;
  background: inherit;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 8% 15% 0 0;
}
.sheet { border-radius: 3%; }
.sheet-back { inset: 9% 13% 15% 20%; transform: rotate(11deg); background: #d5deb5; }
.sheet-front { inset: 3% 23% 14% 10%; padding: 7% 6%; transform: rotate(-4deg); background: #eaf0d6; }
.id-line { height: 4%; width: 43%; border-radius: 12px; background: #829870; }
.id-data { display: flex; align-items: center; gap: 9%; margin-top: 11%; }
.portrait {
  position: relative;
  width: 36%;
  aspect-ratio: .86;
  overflow: hidden;
  border: 1.5px solid #839375;
  border-radius: 7%;
  background: #ccd9b8;
}
.portrait::before, .portrait::after { content: ''; position: absolute; background: #84977a; }
.portrait::before { left: 33%; top: 17%; width: 34%; aspect-ratio: 1; border-radius: 50%; }
.portrait::after { left: 11%; bottom: -7%; width: 78%; height: 55%; border-radius: 60% 60% 0 0; }
.id-data > div { flex: 1; display: grid; gap: 7px; }
.id-data b { width: 100%; height: 3px; border-radius: 3px; background: #a7b399; }
.id-data b:nth-child(2) { width: 82%; }
.id-data b:nth-child(3) { width: 56%; }
.folder-front {
  inset: 48% 0 0 3%;
  transform: skewY(-5deg);
  border-radius: 4% 5% 7% 7%;
  background: #bed6a1;
  box-shadow: 0 5px 0 #748c60;
}
.folder-front i { position: absolute; bottom: 22%; left: 9%; width: 25%; height: 15%; border: 1.5px solid #81916e; border-radius: 2px; background: #e4edc9; }
.form-side { display: grid; align-items: center; justify-items: center; padding: 48px clamp(24px, 6vw, 105px); }
.form-content { width: min(100%, 396px); }
h1 { margin: 0; font-size: clamp(31px, 3vw, 42px); line-height: 1.13; font-weight: 640; letter-spacing: -.055em; }
.intro { margin: 12px 0 31px; color: #59665d; font-size: 15px; line-height: 1.5; }
form { display: grid; gap: 19px; }
.field { display: grid; gap: 8px; }
label { font-size: 14px; font-weight: 570; }
input {
  height: 48px;
  width: 100%;
  min-width: 0;
  padding: 0 13px;
  background: white;
  border: 1px solid #c8d3c8;
  border-radius: 8px;
  color: #1d3024;
  line-height: 1.35;
  font-size: 16px;
}
input:focus { border-color: #608466; outline: 3px solid #bed4b8; outline-offset: 1px; }
input[aria-invalid="true"] { border-color: #a94843; }
button:focus-visible { outline: 3px solid #72a56a; outline-offset: 3px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 48px; }
.eye-button { position: absolute; width: 44px; height: 44px; right: 2px; top: 2px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: #627165; }
.eye-button:hover { background: #eff4ec; }
.eye-button svg, .submit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eye-slash { visibility: hidden; }
.eye-button[aria-pressed="true"] .eye-slash { visibility: visible; }
.submit { margin-top: 4px; display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 49px; padding: 10px 18px; border: 0; border-radius: 8px; background: #274f39; color: #fff; font-weight: 590; font-size: 15px; }
.submit:hover:not(:disabled) { background: #1d3d2b; }
.submit:disabled { cursor: wait; opacity: .76; }
.error { margin: 0; padding: 10px 12px; border-radius: 7px; color: #893c35; background: #f7e8e3; font-size: 14px; line-height: 1.45; }
@media (max-width: 720px) {
  .login { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .identity { grid-template-rows: auto; padding: 21px max(22px, 7%); }
  .identity::after { inset: -250% -5% -120% 38%; }
  .wordmark { font-size: 29px; }
  .wordmark svg { width: 31px; height: 31px; }
  .filing { display: none; }
  .form-side { align-items: start; padding: clamp(38px, 11vh, 95px) max(22px, 7%) 42px; }
}
