* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #f5f5f5;
  display: flex; justify-content: center; align-items: center;
  min-height: 100vh; margin: 0;
}
.login-box {
  background: #fff; padding: 32px; border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  width: 100%; max-width: 360px;
}
h1 { margin: 0 0 24px; font-size: 22px; text-align: center; color: #222; }
label { display: block; margin-bottom: 6px; font-size: 14px; color: #444; }
input[type="text"], input[type="password"] {
  width: 100%; padding: 10px 12px; margin-bottom: 16px;
  border: 1px solid #ccc; border-radius: 6px; font-size: 15px;
}
input:focus {
  outline: none; border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74,144,226,0.2);
}
button {
  width: 100%; padding: 11px; background: #4a90e2; color: #fff;
  border: none; border-radius: 6px; font-size: 15px; cursor: pointer;
}
button:hover { background: #3a7bc8; }
.error {
  background: #fdecea; color: #b00020; padding: 10px;
  border-radius: 6px; margin-bottom: 16px;
  font-size: 14px; text-align: center;
}