#fa-form-agendamiento .fa-section h2{
    font-family: Montserrat;
    font-size: 45px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    color: black;
}

#fa-form-agendamiento .fa-section h3{
    font-family: Montserrat;
    font-size: 22px;
    font-weight: 600;
    width: 100%;
    text-align: center;
}

#fa-form-agendamiento .fa-section p{
    font-family: Montserrat;
    font-weight: 400;
    width: 100%;
    text-align: center;
}
  
  /* Contenedor del formulario */
  #fa-form-agendamiento {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;

    input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
          height: 35px;
          border: 1px solid #aaa;
    }
    .select2-container .select2-selection--single{
          height: 35px;
    }
  }

  #fa-form-agendamiento .fa-section .fa-nav-buttons .fa-prev{
    flex: 0 0 50%;
    background-color: #e7e7e7;
    color: black;
    border-style: none;
    border-radius: 10px;
    box-shadow: 6px 4px 90px -39px rgba(0, 0, 0, 1);
  }

  #fa-form-agendamiento .fa-section .fa-nav-buttons .fa-next{
    flex: 0 0 50%;
    background-color: #1778DD;
    color: white;
    border-style: none;
    border-radius: 10px;
    box-shadow: 6px 4px 90px -39px rgba(0, 0, 0, 1);
    font-weight: 600;
  }

  /* Cada sección ocupa 100% horizontal cuando está activa */
  #fa-form-agendamiento .fa-section {
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  /* Títulos de sección ocupan toda la fila */
  #fa-form-agendamiento .fa-section > h3 {
    flex: 0 0 100%;
    margin: 0;
    padding: 0.5rem 0;
  }

  /* Cada label/input (“celda”) dentro de sección */
  #fa-form-agendamiento .fa-section > label {
    flex: 1 1 calc(100% - 2rem); /* fallback móvil */
    min-width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    line-height: 1 !important; 
    vertical-align: middle !important;

  }

  input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
    padding: 5px;
  }

  /* Tablet: 2 celdas por fila */
  @media (min-width: 600px) {
    #fa-form-agendamiento .fa-section > label {
      flex: 1 1 calc(50% - 1rem);
      min-width: calc(50% - 1rem);
      max-width: calc(50% - 1rem);
    }
  }

    /* Desktop: 2 celdas por fila en lugar de 3 */
    @media (min-width: 992px) {
    #fa-form-agendamiento .fa-section > label {
        flex: 1 1 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
    }

  /* Botón ocupa toda la fila */
  #fa-form-agendamiento button[type="submit"] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    background: #0b2545;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
  }

  .fa-nav-buttons{
    flex: 100%;
    gap: 25px;
    display: flex;
    justify-content: center;
  }