/* Estilos para los labels flotantes */

  .input-flotante {
    position: relative;
    margin-bottom: 15px;  
    
  }

  .input-flotante label {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    font-size: .9rem;
    color: #7484A5; /*color incial del label */
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .input-flotante .form-control {
    width: 100%;
    padding: 15px 15px;
    border: 1px solid #E0E6F1; /* color inciial del input */    
    border-radius: 8px;
    font-size: .9rem;
    color: #062F40;
    background-color: #fff;
    transition: all 0.3s ease;
    outline: none;
    height: auto;
  }
  
  .input-flotante .form-control:focus,
  .input-flotante .form-control:not(:placeholder-shown) {
    border-color:#1E96FC;
    border-width: 1.5px; 
  }

  .input-flotante .form-control:focus + label,
  .input-flotante .form-control:not(:placeholder-shown) + label {
      top: 0;
      left: 20px;
      font-size: 13px;
      font-weight: 500;
      color: #7484A5; /*color del label cuando se foca*/
      background-color: #fff;
      padding: 0 5px;
}

/* ✅ NUEVO: Borde rojo AL PERDER EL FOCO (siempre) */
.input-flotante .form-control:not(:focus) {
    border-color: #E0E6F1;
    border-width: 1.5px;
}

