/* General */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  padding: 2rem;
  margin: 0;
}

/* Formulario */
form {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  max-width: 600px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #004080;
}

label {
  font-weight: bold;
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #007bff;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* Botón */
button[type="submit"] {
  margin-top: 2rem;
  background-color: #007bff;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #0056b3;
}

/* Responsive */
@media (max-width: 600px) {
  form {
    padding: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}
