/* ── RESET ───────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── VARIABLES (reprend ton style) ───────────────── */
:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --border: #e2e4e7;
  --text: #1a1a1b;
  --text-muted: #6b7280;
  --radius: 12px;
}

/* ── BASE ───────────────── */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── CARD ───────────────── */
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.login-card h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

/* ── FORM ───────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: .9rem;
  transition: 0.15s;
}

.form-group input:focus {
  outline: none;
  border-color: #999;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* ── BUTTON ───────────────── */
.login-btn {
  width: 100%;
  padding: 11px;
  border-radius: 8px;
  border: none;
  background: black;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
}

.login-btn:hover {
  opacity: 0.85;
}

/* ── FOOTER ───────────────── */
.login-footer {
  margin-top: 14px;
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
}

.login-footer a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.login-footer a:hover {
  text-decoration: underline;
}