* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #f0f4f8;
  color: #1e3a5f;
  font-family: system-ui, -apple-system, sans-serif;
}

.card {
  width: 100%;
  max-width: 360px;
  padding: 32px;
  background: #fff;
  border: 1px solid #e2eaf2;
  border-radius: 8px;
}

h1 { margin: 0; font-size: 22px; }

.lead { margin: 4px 0 20px; color: #64748b; font-size: 14px; }

.error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 14px;
}

label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }

input[type='text'],
input[type='password'] {
  width: 100%;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid #e2eaf2;
  border-radius: 8px;
  color: inherit;
  font: inherit;
}

input:focus { outline: 2px solid #0ea5e9; outline-offset: 0; border-color: #0ea5e9; }

button {
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 8px;
  background: #0ea5e9;
  color: #1e3a5f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover { background: #38bdf8; }

.hint { margin: -10px 0 16px; color: #64748b; font-size: 13px; }

.notice {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e0f2fe;
  font-size: 14px;
}
