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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* Contenedor del formulario */
form {
  background: #fff;
  max-width: 700px;
  margin: auto;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Títulos */
h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 26px;
  color: #222;
}

p {
  text-align: center;
  margin-bottom: 25px;
  font-size: 15px;
  color: #666;
}

/* Labels */
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #444;
}

/* Inputs, selects y textarea */
input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #0073e6;
  box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.2);
  outline: none;
}

/* Eliminar flechas en campos de número */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* Textarea */
textarea {
  resize: vertical;
  min-height: 90px;
}

/* Botón */
.submit-btn {
  width: 100%;
  padding: 14px;
  background: #0073e6;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.25s ease;
}

.submit-btn:hover {
  background: #005bb5;
}

/* --- Responsive Design --- */

/* Tablets */
@media (max-width: 900px) {
  form {
    max-width: 90%;
    padding: 20px;
  }
}

/* Móviles */
@media (max-width: 600px) {
  h2 {
    font-size: 22px;
  }

  p {
    font-size: 14px;
  }

  label {
    font-size: 13px;
  }

  input,
  select,
  textarea {
    font-size: 13px;
    padding: 8px 10px;
  }

  .submit-btn {
    font-size: 15px;
    padding: 12px;
  }
}
