/* ========== Variables ==========
   Paleta y tokens globales
=================================*/
:root {
  --bg: #0f172a;
  --panel: #111827;
  --muted: #94a3b8;
  --text: #e5e7eb;
  --brand: #16a34a;
  --accent: #38bdf8;
  --border: #1f2937;
}

/* ========== Base / Reset ========== */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, "Noto Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), #0b132a);
}

/* ========== Layout ========== */
.container {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ========== Tipografía ========== */
h1 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}

p.muted {
  margin: 6px 0 14px;
  font-size: 13px;
  color: var(--muted);
}

/* ========== Formularios ========== */
input, button { font: inherit; }

input {
  width: 100%;
  padding: 10px 12px;
  color: var(--text);
  background: #0a1020;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
}

/* ========== Botones ========== */
button {
  padding: 10px 12px;
  font-weight: 700;
  color: #0b1220;
  background: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.btn {
  background: var(--accent);
}

.btn.secondary {
  background: var(--brand);
}

/* ========== Enlaces ========== */
a {
  color: #cbd5e1;
  text-decoration: underline;
}

/* ========== Alertas ========== */
.error {
  margin-bottom: 10px;
  padding: 10px;
  font-size: 13px;
  color: #ffd1d1;
  background: #3b0d0d;
  border: 1px solid #6b1111;
  border-radius: 10px;
}

.success {
  margin-bottom: 10px;
  padding: 10px;
  font-size: 13px;
  color: #c7f9d4;
  background: #0f3b23;
  border: 1px solid #145a36;
  border-radius: 10px;
}
















