/*@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");
*/
@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/poppins/Poppins-Regular.ttf');
}

@font-face {
  font-family: Poppins-Bold;
  src: url('../fonts/poppins/Poppins-Bold.ttf');
}

@font-face {
  font-family: Poppins-Medium;
  src: url('../fonts/poppins/Poppins-Medium.ttf');
}

@font-face {
  font-family: Montserrat-Bold;
  src: url('../fonts/montserrat/Montserrat-Bold.ttf');
}

:root {
  --primary-color: #337AB7;
  --text-color: #212529;
  --link-hover-color: #555;
  --font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
::after,
::before {
  box-sizing: border-box;
}


body {
  font-family: 'Arial', sans-serif;
  background: #f0f2f5;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

input {
  outline: none;
  border: none;
  margin: 0;
}

button:hover {
  cursor: pointer;
}

button {
  outline: none !important;
  border: none;
  background: transparent;
}

.container-login {
  width: 100%;
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #f5f5f5;
  background: #fff;
}

.wrap-login {
  width: 960px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /*padding: 177px 130px 33px 95px;*/
  padding: 100px;
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.15);
}

img {
  vertical-align: middle;
  border-style: none;
}

@keyframes tambalear {

  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

.login-pic {
  width: 316px;
  will-change: transform;
  transform: perspective(300px) rotateX(0deg) rotateY(0deg);
  /*border: 5px solid transparent;*/
  transition: border-color 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  display: inline-block;
}

.login-pic img {
  max-width: 100%;
  transition: transform 0.5s ease;
  /* Transición para el efecto de zoom */
}

.login-pic:hover {
  border-color: #3498db;
  /* Cambia el color del borde al pasar el mouse */
  animation: tambalear 0.5s ease-in-out infinite;
  /* Aplica la animación */
}

.login-pic:hover img {
  transform: scale(1.5);
  /* Efecto de zoom al pasar el mouse */
}

.login-form {
  width: 290px;
}

.login-form-title {
  font-family: Poppins-Bold;
  font-size: 24px;
  color: #09437c;
  line-height: 1.2;
  text-align: center;
  width: 100%;
  display: block;
  padding-bottom: 54px;
}

.validate-input {
  position: relative;
}

.wrap-input {
  position: relative;
  width: 100%;
  z-index: 1;
  margin-bottom: 10px;
}

.input {
  font-family: Poppins-Medium;
  font-size: 15px;
  line-height: 1.5;
  color: #09437c;
  display: block;
  width: 100%;
  background: #e6e6e6;
  height: 50px;
  border-radius: 25px;
  padding: 0 30px 0 68px;
}

.focus-input {
  display: block;
  position: absolute;
  border-radius: 25px;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 0px 0px;
  color: rgba(87, 184, 70, 0.8);
  color: #E4AF2F;
}

.input:focus+.focus-input {
  -webkit-animation: anim-shadow 0.5s ease-in-out forwards;
  animation: anim-shadow 0.5s ease-in-out forwards;
}

@-webkit-keyframes anim-shadow {
  to {
    box-shadow: 0px 0px 70px 25px;
    opacity: 0;
  }
}

@keyframes anim-shadow {
  to {
    box-shadow: 0px 0px 70px 25px;
    opacity: 0;
  }
}

.symbol-input {
  font-size: 15px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  position: absolute;
  border-radius: 25px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-left: 35px;
  pointer-events: none;
  color: #09437c;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

.input:focus+.focus-input+.symbol-input {
  color: #57b846;
  color: #E4AF2F;
  padding-left: 28px;
}

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 14px;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.container-login-form-btn {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.login-form-btn {
  font-family: Montserrat-Bold;
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
  text-transform: uppercase;

  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: #09437c;
  background: #57b846;
  background: #E4AF2F;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 25px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

.login-form-btn:hover {
  background: #09437c;
}

/* Mejoras para el formulario de login en dispositivos móviles */

/* Ajustes específicos para móviles */
@media screen and (max-width: 768px) {
  .wrap-login {
    width: 100%;
    padding: 30px 20px;
    justify-content: center;
    box-shadow: none;
  }

  .login-pic {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 200px;
  }

  .login-form {
    width: 100%;
    max-width: 320px;
  }

  .login-form-title {
    padding-bottom: 30px;
    font-size: 22px;
  }

  .input {
    height: 45px;
    font-size: 14px;
  }

  .login-form-btn {
    height: 45px;
    font-size: 14px;
  }

  .container-login {
    padding: 10px;
    align-items: center;
  }

  /* Mejorar espaciado vertical en móviles */
  .container-login {
    justify-content: center;
    min-height: 100vh;
  }
}

/* Estilos adicionales para mejorar la apariencia en móviles */
@media screen and (max-width: 480px) {
  .wrap-login {
    padding: 20px 15px;
  }

  .login-pic {
    width: 160px;
  }

  .login-form-title {
    font-size: 20px;
    padding-bottom: 20px;
  }

  .input {
    padding: 0 20px 0 50px;
  }

  .symbol-input {
    padding-left: 20px;
  }

  .input:focus+.focus-input+.symbol-input {
    padding-left: 15px;
  }
}

/* Para evitar las sugerencias de autocompletado */
.input {
  /* Estos atributos deben agregarse también en el HTML */
  /* autocomplete="new-password" */
  /* autocorrect="off" */
  /* autocapitalize="none" */
  /* spellcheck="false" */
}

/* Mejoras generales de usabilidad */
.input:focus {
  background-color: #f0f0f0;
}

input[type="password"]::-ms-reveal {
  display: none;
}

.login-form-btn:active {
  transform: scale(0.98);
}

/* Ajuste para centrado vertical */
.container-login {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mejora de contraste */
.input {
  color: #333;
}

/* Mejorar visibilidad de los íconos */
.symbol-input {
  color: #09437c;
}

/* Asegurar que los inputs sean fáciles de tocar en móviles */
.input {
  touch-action: manipulation;
}

.password-toggle-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
}