@font-face {
  font-family: Poppins-Regular;
  src: url('fuentes/poppins/Poppins-Regular.ttf'); 
}

@font-face {
  font-family: Poppins-Medium;
  src: url('fuentes/poppins/Poppins-Medium.ttf'); 
}

@font-face {
  font-family: Poppins-Bold;
  src: url('fuentes/poppins/Poppins-Bold.ttf'); 
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url('fuentes/poppins/Poppins-SemiBold.ttf'); 
}

* {
  margin: 0px; 
  padding: 0px; 
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Poppins-Regular, sans-serif;
}

input {
  outline: none;
  border: none;
}

button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

/*-- Contenedor del Login --*/
.container-login {
  width: 100%;  
  min-height: 96vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: linear-gradient(to right, #000, #011b7d);
}

.wrap-login {
  width: 550px;
  background: #fff;
  border-radius: 45px;
  border: 4px solid #004eff;
  overflow: hidden;
  padding: 35px;
  -webkit-box-shadow: 13px 13px 0px -7px rgb(0, 0, 0);
}

/*----Formulario de user y password----*/
.login-form {
  width: 100%;
}

.login-form-title {
  display: block;
  font-family: Poppins-Bold;
  font-size: 25px;
  color: #333333;
  line-height: 1.5;
  text-align: center;
}

/*------------------------------------------------------------------
[ Input ]*/
.wrap-input100 {
  width: 100%;
  position: relative;
  margin-bottom: 37px;
}

.input100 {
  font-size: 20px;
  color: #555555;
  display: block;
  width: 100%;
  height: 45px;
  background: #fffbc7;
  border-radius: 30px;
  border: 1px solid #0016b0;
  padding: 25px;
}

.input100:focus {
  background: #f3eb00ad;
  border: 2px solid #0016b0;
  border-radius: 30px;
  box-shadow: 0px 3px 3px rgba(0,0,255);
}

/* Efecto de enfoque */
.focus-efecto {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-efecto::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 8px;
  transition: all 0.4s;
  background: linear-gradient(left, #21d4fd, #b721ff);
}

.focus-efecto::after {
  font-family: Poppins-Regular;
  font-size: 15px;
  color: #999999;
  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 16px;
  left: 0px;
  padding-left: 5px;
  transition: all 0.4s;
}

.input100:focus + .focus-efecto::after,
.has-val.input100 + .focus-efecto::after {
  top: -15px;
}

.input100:focus + .focus-efecto::before,
.has-val.input100 + .focus-efecto::before {
  width: 100%;
}

/*------------------------------------------------------------------
[ Button Futurista con Animación ]
------------------------------------------------------------------*/
.container-login-form-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 13px;
}

.wrap-login-form-btn {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 50px 0px;
  border: 3px solid #0016b0;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0px 0px 15px rgba(33, 212, 253, 0.3);
}

/* Fondo animado */
.login-form-bgbtn {
  position: absolute;
  z-index: -1;
  width: 300%;
  height: 100%;
  background: linear-gradient(90deg, #21d4fd, #b721ff, #21d4fd, #b721ff);
  top: 0;
  left: -100%;
  transition: all 0.4s;
}

/* Botón principal */
.login-form-btn {
  font-family: Poppins-Medium;
  font-size: 20px;
  color: #000;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  gap:12px;
}

/* Efecto de rayo de luz */
.login-form-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  transform: skewX(-20deg);
  pointer-events: none;
  animation: lightSweep 2s linear infinite;
}

.wrap-login-form-btn:hover .login-form-btn::before {
  animation-duration: 1s;
}

@keyframes lightSweep {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* Hover efecto del fondo */
.wrap-login-form-btn:hover .login-form-bgbtn {
  left: 0;
}

/*--- Para dispositivos small responsive ---*/
@media (max-width: 576px) {
  .wrap-login {
    padding: 35px;
  }
}
