.bg-login-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.bg-login-image img {
  max-width: 100%;
  height: auto;
}


.row.justify-content-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
}


@media (max-width: 991px) {
  .card-body .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bg-login-image {
    order: -1; /* Mueve la imagen arriba */
    padding: 30px 20px 0;
  }

  .logo-login{
  margin-top: 10px;
  margin-bottom: 30px;
}

  .col-lg-6 {
    width: 100%;
    max-width: 400px;
  }

  .p-5 {
    padding-top: 10px !important;
  }
}