@font-face {
  font-family: Poppins;
  src: url('/assets/poppins-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url('/assets/poppins-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px;
  margin: 0;
  background: #f6f8fc;
  color: #172844;
  font: 400 1rem/1.5 Poppins, system-ui, sans-serif;
}

.login-card {
  width: min(100%, 430px);
  padding: clamp(24px, 7vw, 40px);
  border: 1px solid #e0e7ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px #1728440d;
}

img { display: block; width: 173px; max-width: 100%; height: auto; }
h1 { margin: 22px 0 5px; font-size: clamp(1.45rem, 6vw, 1.8rem); letter-spacing: -.04em; }
p { margin: 0; color: #546174; }
form { display: grid; gap: 8px; margin-top: 22px; }
label { font-size: .9rem; font-weight: 700; }

input, button {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid #ccd4e2;
  border-radius: 8px;
  font: inherit;
}

input { margin-bottom: 8px; color: #172844; }
button { border-color: #a20a51; background: #a20a51; color: #fff; font-weight: 700; cursor: pointer; }
button:hover { background: #870744; }
.password-label { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.password-toggle { width: auto; min-height: 0; padding: 3px 0; border: none; background: transparent; color: #861847; font-size: .8rem; }
.password-toggle:hover { background: transparent; text-decoration: underline; }
.login-options { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 15px 0 0; font-size: .87rem; }
.login-options a { color: #861847; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #286aa4; outline-offset: 3px; }
.login-error { margin-top: 16px; padding: 9px 12px; border-radius: 8px; background: #fff0f6; color: #830d44; }
