/* ===== ESTILO GENERAL ===== */
body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background-color: #f5f9fc;
  color: #2f3e4e;
  margin: 0;
  padding: 40px;
  text-align: center;
}

/* ===== TÍTULOS ===== */
h1 {
  color: #7faed6;
  font-size: 2.8em;
  margin-bottom: 10px;
}

h2 {
  color: #8fb9dd;
  font-weight: normal;
  margin-bottom: 25px;
}

h3 {
  color: #7aaedc;
  margin-top: 30px;
}

h6 {
  color: #9aa9b5;
  font-weight: normal;
  margin-bottom: 15px;
}

/* ===== FORMULARIO ===== */
form {
  background-color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
  padding: 35px 45px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: left;
}

/* ===== TEXTOS ===== */
form h3,
form h6 {
  text-align: center;
}

label {
  font-weight: 500;
}

/* ===== INPUTS ===== */
input[type="text"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  margin: 8px 0 18px 0;
  border-radius: 8px;
  border: 1px solid #d6e6f2;
  background-color: #f9fcff;
  font-size: 0.95em;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #9ec5e5;
  background-color: #ffffff;
}

/* ===== CHECKBOX Y RADIO ===== */
input[type="checkbox"],
input[type="radio"] {
  margin-right: 8px;
  margin-top: 10px;
}

/* ===== FILE ===== */
input[type="file"] {
  margin: 15px 0;
  font-size: 0.9em;
}

/* ===== TEXTAREA ===== */
textarea {
  resize: vertical;
  line-height: 1.6;
  text-align: justify;
}

/* ===== SEPARADORES ===== */
hr {
  border: none;
  height: 1px;
  background-color: #dbeaf7;
  margin: 30px 0;
}

/* ===== BOTONES ===== */
input[type="submit"],
input[type="reset"] {
  background-color: #cfe2f3;
  color: #2f3e4e;
  border: none;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 25px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #9ec5e5;
}

input[type="reset"]:hover {
  background-color: #f2c6c6;
}

/* ===== CENTRADO FINAL ===== */
form > input[type="submit"],
form > input[type="reset"] {
  display: inline-block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  body {
    padding: 20px;
  }

  form {
    padding: 25px;
  }
}
