* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14171c;
  color: #e6e9ee;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
}
.card {
  background: #1c2128;
  border: 1px solid #2e353e;
  border-radius: 8px;
  padding: 32px 28px 24px;
  width: 340px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
h1 {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.5px;
}
.hint {
  margin: 0 0 24px;
  color: #8b95a3;
  font-size: 13px;
}
.error {
  background: #3b1f23;
  color: #f4a8b1;
  border: 1px solid #54262d;
  border-radius: 5px;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 13px;
}
label {
  display: block;
  margin-bottom: 14px;
  color: #b9c1cc;
  font-size: 13px;
}
input {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 9px 11px;
  background: #14171c;
  color: #e6e9ee;
  border: 1px solid #2e353e;
  border-radius: 5px;
  font-size: 14px;
  outline: none;
  transition: border 0.15s;
}
input:focus {
  border-color: #4a90e2;
}
button {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 16px;
  background: #4a90e2;
  color: white;
  border: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
button:hover { background: #3d7ec4; }
button:active { transform: translateY(1px); }
