:root {
  --brand: #C0392B;
  --brand-dark: #962d22;
  --bg: #faf9f8;
  --text: #1f2430;
  --muted: #6b7280;
  --border: #e3e1de;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

h1 { font-size: 1.35rem; margin: 0 0 20px; }

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

input {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
}

input:focus { border-color: var(--brand); }

button {
  width: 100%;
  margin-top: 22px;
  padding: 13px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

button:hover { background: var(--brand-dark); }
button:disabled { opacity: 0.6; cursor: default; }

.message { margin-top: 16px; font-size: 0.92rem; min-height: 1.2em; }
.message.error { color: var(--brand-dark); }
.message.success { color: #15803d; }

.hint { margin-top: 22px; font-size: 0.82rem; color: var(--muted); }
