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

/* =======================
Estilo general
======================= */
body {
  font-family: "Georgia", "Times New Roman", serif;
  background: linear-gradient(to bottom, #f4f1ec, #e9e4db);
  color: #2c2c2c;
  line-height: 1.7;
  padding: 30px;
}

/* =======================
Formulario
======================= */
form {
  max-width: 900px;
  margin: auto;
  background-color: #ffffff;
  padding: 35px 45px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Texto introductorio */
form > p:first-of-type {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* =======================
Encabezados
======================= */
h2 {
  color: #4a3f35;
  margin: 30px 0 15px;
  border-left: 6px solid #8b6f47;
  padding-left: 12px;
}

h3 {
  color: #5c4a3d;
  margin: 25px 0 10px;
}

/* =======================
Separadores
======================= */
hr {
  margin: 30px 0;
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #c1b6a4, transparent);
}

/* =======================
Campos de texto
======================= */
input[type="text"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border: 1px solid #bfae96;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1em;
}

textarea {
  resize: vertical;
}

/* =======================
Checkboxes y radios
======================= */
input[type="checkbox"],
input[type="radio"] {
  margin-right: 6px;
  margin-left: 12px;
}

/* =======================
Archivo
======================= */
input[type="file"] {
  margin-top: 10px;
  font-family: inherit;
}

/* =======================
Botones
======================= */
input[type="submit"],
input[type="reset"] {
  padding: 12px 25px;
  margin-top: 20px;
  margin-right: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Botón enviar */
input[type="submit"] {
  background-color: #8b6f47;
  color: white;
}

input[type="submit"]:hover {
  background-color: #6f5636;
  transform: scale(1.05);
}

/* Botón borrar */
input[type="reset"] {
  background-color: #c1b6a4;
  color: #2c2c2c;
}

input[type="reset"]:hover {
  background-color: #a99c88;
  transform: scale(1.05);
}
