/* ===== Reset básico ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Variables ===== */
:root {
  --color-bg:     #f5f5f4;
  --color-card:   #ffffff;
  --color-text:   #1c1c1c;
  --color-muted:  #6b7280;
  --color-border: #d1d5db;
  --color-accent: #2563eb;
  --radius:       6px;
  --font:         Georgia, serif;
}

/* ===== Base ===== */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* ===== Tarjeta contenedora ===== */
.container {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 480px;
}

h1 {
  font-size: 1.6rem;
  font-weight: normal;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.subtitle {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ===== Campos del formulario ===== */
.field {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.15s;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* ===== Botón ===== */
button {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.7rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.15s;
}

button:hover {
  opacity: 0.88;
}
