@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&display=swap");
:root {
  --bg-bacground: #0d6efd;
  --colo1: #fff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background-image: url("../images/football.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.7);
}
.container {
  position: relative;
  width: 45rem;
  color: var(--colo1);
  background: transparent;
  backdrop-filter: blur(5px);
  border: 2px solid var(--colo1);
  border-radius: 2rem;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
    rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}
.container form {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  justify-content: center;
  align-items: center;
}
.container .input_box {
  position: relative;
  width: 26rem;
  height: 3rem;
  border-bottom: 0.1rem solid var(--colo1);
  margin: 1.7rem 0;
}
.container .box_regiter {
  position: relative;
  width: 100%;
  height: 3rem;
  border-bottom: 0.1rem solid var(--colo1);
  margin: 1.7rem 0;
}
.login {
  display: block;
}

.input_box label {
  position: absolute;
  top: 50%;
  font-size: 1.2em;
  transform: translateY(-50%);
  left: 0.1rem;
  pointer-events: none;
  transition: 0.6s;
  font-weight: 500;
}
input:focus ~ label,
input:valid ~ label {
  top: 0%;
}
.invalid-feedback {
  color: rgb(255, 123, 123) !important;
}
.was-validated :invalid ~ label {
  color: rgb(255, 123, 123);
}

.input_box input {
  width: 100%;
  height: 100%;
  padding-left: 0.2rem;
  padding-right: 2rem;
  font-size: 1.1em;
  color: var(--colo1);
  letter-spacing: 0.04em;
  font-weight: 300;
  background: transparent;
  border: none;
  outline: none;
}
.toggle-password {
  position: absolute;
  top: 0;
  right: 30px;
  cursor: pointer;
  display: none;
  transition: 0.5s ease-in-out;
}

.toggle-password.active {
  display: block;
}

.toggle-password i {
  color: rgba(255, 255, 255, 0.418);
  transition: 0.5s ease-in-out;
}
.toggle-password i:hover {
  color: rgba(255, 255, 255, 0.651);
}

.input_box i {
  position: absolute;
  top: 15px;
  right: 6px;
  font-size: 1.2em;
}
.remenber_forgot {
  font-size: 1.1em;
  font-weight: 300;
  margin-bottom: 1rem;
}
.remenber_forgot a {
  text-decoration: none;
  color: #27b6f8e3;
  font-style: normal;
  transition: 0.5s all;
}
.remenber_forgot a:hover {
  color: #80c1dfe3;
  transition: 0.5s all;
}

.continer-btn {
  min-width: 70%;
  padding: 10px;
  margin-bottom: 5px;
}
.btn_inicio {
  position: absolute;
  left: 20px;
  top: 10px;
}
.btn_inicio a {
  text-decoration: none;
  color: #ccc !important;
  cursor: pointer;
  font-size: 1.1em;
  transition: 0.5s ease-in-out;
}
.btn_inicio a:hover {
  color: #80c1dfe3 !important;
}

.button-login {
  width: 100%;
  background: linear-gradient(
    145deg,
    #006400,
    #004d00
  ); /* Gradiente verde oscuro */
  border: 2px solid #004d00; /* Borde verde oscuro */
  border-radius: 50px; /* Bordes redondeados */
  color: white; /* Color de texto blanco */
  font-size: 16px; /* Tamaño de la fuente */
  font-weight: bold; /* Negrita */
  padding: 15px 30px; /* Espaciado interno */
  text-transform: uppercase; /* Texto en mayúsculas */
  cursor: pointer; /* Cambio de cursor al pasar sobre el botón */
  transition: all 0.3s ease; /* Transición suave al interactuar */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

.button-login:hover {
  background: linear-gradient(
    145deg,
    #005300,
    #003d00
  ); /* Gradiente más oscuro al hacer hover */
  transform: translateY(-2px); /* Efecto de elevar el botón */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Sombra más intensa */
}

.button-login:active {
  transform: translateY(2px); /* Efecto de presión cuando se hace clic */
  box-shadow: none; /* Eliminar sombra cuando se presiona */
}

.alert {
  display: none;
}
.alert-active {
  display: block;
}
.modal-content {
  background: linear-gradient(35deg, rgb(9, 50, 83), rgb(11, 57, 59));
  border: none;
  border-radius: 1rem;
  box-shadow: rgba(34, 80, 83, 0.35) 0px 5px 15px;
}
.modal-body .headerM {
  padding: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}
.headerM h5 {
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.headerM i:hover {
  color: rgb(226, 73, 145);
}
.formgroup {
  position: relative;
  padding: 1rem;
  width: 100%;
  height: 4rem;
  margin-bottom: 2rem;
}
.formgroup label {
  position: absolute;
  top: 0;
  left: 0.3rem;
  color: ivory;
  font-size: 1.1em;
}
.formgroup input {
  background-color: transparent;
  width: 100%;
  margin-top: 1.5rem;
  border: none;
  padding-left: 0.8rem;
  border-bottom: 2px solid rgba(185, 185, 185, 0.849);
  outline: none;
  font-size: 1.1em;
  color: #fff;
}
.formgroup i {
  position: absolute;
  left: 0.3rem;
  top: 70%;
  color: wheat;
  font-size: 1.3rem;
}

@media screen and (max-width: 860px) {
  .btn_inicio {
    position: relative;
    left: auto;
    top: auto;
  }
  .container {
    width: 95%;
  }
  .container .input_box {
    width: 20rem;
  }
  .remenber_forgot {
    text-align: center;
    font-size: 1em;
  }
  .continer-btn {
    min-width: 90%;
  }
}
