/* -----------------------------------
   Base: Fuente y colores principales
----------------------------------- */
body {
  background: #f9f9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 2rem;
}

/* -----------------------------------
   Títulos y encabezados
----------------------------------- */
h1 {
  color: #333;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

h5 {
  color: #E0A500;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* -----------------------------------
   Tarjeta principal del formulario
----------------------------------- */
.card {
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

/* -----------------------------------
   Etiquetas y campos
----------------------------------- */
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #333;
}

input.form-control,
select.form-select,
textarea.form-control {
  display: block;
  width: 100%;
  border-radius: 10px;
  border: 2px solid #ddd;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #fff;
}

input.form-control:focus,
select.form-select:focus,
textarea.form-control:focus {
  border-color: #E0A500;
  box-shadow: 0 0 0 0.25rem rgba(250, 218, 37, 0.2);
  outline: none;
}

/* -----------------------------------
   Radio buttons y checkboxes
----------------------------------- */
.form-check-input:checked {
  background-color: #FADA25;
  border-color: #E0A500;
}

.form-check-label {
  font-size: 0.95rem;
}

/* -----------------------------------
   Botón principal
----------------------------------- */
.btn-primary {
  background: linear-gradient(135deg, #FADA25, #E0A500);
  border: none;
  color: #333;
  font-weight: bold;
  transition: all 0.3s ease;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-size: 1.05rem;
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 2rem auto 0 auto;
  text-align: center;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E0A500, #C18F00);
  color: #fff;
}

/* -----------------------------------
   Alertas de éxito
----------------------------------- */
.alert-success {
  background: #FADA25;
  border: none;
  color: #333;
  font-weight: 500;
  border-radius: 8px;
  text-align: center;
}

/* -----------------------------------
   Separadores
----------------------------------- */
hr {
  border-top: 2px dashed #FADA25;
  margin: 2rem 0;
}

/* -----------------------------------
   Párrafos y textos pequeños
----------------------------------- */
p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* -----------------------------------
   Contenedor general
----------------------------------- */
.container {
  max-width: 960px;
  margin: 0 auto;
}

.form-group,
.mb-3 {
  margin-bottom: 1.5rem;
}

/* -----------------------------------
   Responsive tweaks
----------------------------------- */
@media (max-width: 768px) {
  .card {
    padding: 1.5rem 1rem;
  }

  button.btn {
    width: 100%;
  }
}
/* Ajuste de alineación para los checkboxes */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.form-check-label {
  margin: 0;
}





