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

/* Base del documento */
html {
  font-size: 16px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, sans-serif;
  background: radial-gradient(
    1200px 600px at 50% 20%,
    rgba(79, 124, 255, 0.18),
    transparent 60%
  ),
  #eef2ff;
  color: #111827;
  line-height: 1.5;
}

/* Ajustes generales */
h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin-top: 6px;
  color: #6b7280;
  font-size: 0.95rem;
}

/* Formulario */
.form__fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-top: 18px;
  margin-bottom: 16px;
}

.form__legend {
  padding: 0 8px;
  font-size: 0.85rem;
  color: #6b7280;
}

.form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.form__label {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #374151;
}

.form__input {
  padding: 10px 12px;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #374151;
}

.form__checkbox-input {
  width: 16px;
  height: 16px;
}

.form__link {
  font-size: 0.9rem;
  color: #2563eb;
  text-decoration: none;
}

.form__link:hover {
  text-decoration: underline;
}

.button {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 600;
  background-color: #2563eb;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.05s, opacity 0.2s;
}

.button:hover {
  opacity: 0.95;
}

.button:active {
  transform: scale(0.99);
}

.form__footer {
  margin-top: 14px;
  text-align: center;
  font-size: 0.92rem;
  color: #374151;
}

/* Layout */
.card {
  width: 100%;
  max-width: 420px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}