/* ============================================= */
/* checkboxes.css – Ajuste de columnas para Secciones 2, 3 y 4 */
/* ============================================= */

/* Móvil (base): 1 columna, fila con checkbox/radio + texto */
#fa-form-agendamiento .fa-section[data-index="2"] > label,
#fa-form-agendamiento .fa-section[data-index="3"] > label,
#fa-form-agendamiento .fa-section[data-index="4"] > label,
#fa-form-agendamiento .fa-section[data-index="5"] > label {
  /* 1 columna */
  flex: 1 1 100%;
  min-width: 100%;
  max-width: 100%;

  /* Flex interno: input a la izquierda, texto a la derecha */
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-align: left;

  /* Estilo “celda” */
  padding: 0.75rem;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
}

/* Tablet (≥600px y <992px): 2 columnas */
@media (min-width: 600px) {
  #fa-form-agendamiento .fa-section[data-index="2"] > label,
  #fa-form-agendamiento .fa-section[data-index="3"] > label,
  #fa-form-agendamiento .fa-section[data-index="4"] > label,
  #fa-form-agendamiento .fa-section[data-index="5"] > label {
    flex: 1 1 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

/* Desktop (≥992px): 3 columnas */
@media (min-width: 992px) {
  #fa-form-agendamiento .fa-section[data-index="2"] > label,
  #fa-form-agendamiento .fa-section[data-index="3"] > label,
  #fa-form-agendamiento .fa-section[data-index="4"] > label,
  #fa-form-agendamiento .fa-section[data-index="5"] > label {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}

/* Margen fino: checkbox o radio dentro de la fila */
#fa-form-agendamiento .fa-section[data-index="2"]  > label input[type="checkbox"],
#fa-form-agendamiento .fa-section[data-index="3"]  > label input[type="checkbox"],
#fa-form-agendamiento .fa-section[data-index="4"]  > label input[type="radio"],
#fa-form-agendamiento .fa-section[data-index="5"]  > label input[type="radio"] {
  margin: 0;
  margin-right: 0.5rem;
}
