@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap');

body{
    background: #e8e8e8;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes loginFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form_main, .bg-wave{
  animation: loginFadeIn 500ms ease-out both;
}

.bg-wave{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  display: block;
  z-index: 0;
  pointer-events: none;
}



.form_main {
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 255, 255);
  padding: 30px 30px 0px 30px;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.062);
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}

.form_main::before {
  position: absolute;
  content: "";
  width: 300px;
  height: 300px;
  background-color: #c3d8ff;
  transform: rotate(45deg);
  left: -180px;
  bottom: 30px;
  z-index: 1;
  border-radius: 30px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.082);
}


.logo {
    position: relative;
    z-index: 1;                         /* above background image */
    width: 28vw;                        /* responsive width */
    max-width: 50%;                 /* cap maximum size */
    min-width: 60px;                   /* ensure readable size on small screens */
    height: auto;
}

.heading {
  font-size: 2em;
  color: #2e2e2e;
  font-weight: 700;
  margin: 5px 0 10px 0;
  z-index: 2;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  text-align: center;
  letter-spacing: 0.5px;
  
}

.inputContainer {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.inputIcon {
  position: absolute;
  left: 3px;
}

.inputField {
  width: 100%;
  height: 30px;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid rgb(173, 173, 173);
  margin: 10px 0;
  color: black;
  font-size: .8em;
  font-weight: 500;
  box-sizing: border-box;
  padding-left: 30px;
}

.inputField:focus {
  outline: none;
  border-bottom: 2px solid #0046c7;
}

.inputField::placeholder {
  color: rgb(80, 80, 80);
  font-size: 1em;
  font-weight: 500;
}

#button {
  z-index: 2;
  position: relative;
  width: 100%;
  border: none;
  background-color: #006dc7;
  height: 30px;
  color: white;
  font-size: .8em;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 10px;
  cursor: pointer;
}

#button:hover {
  background-color: #0046c7;
}

.btn_ir, .btn_volver, #button{
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

.forgotLink {
  z-index: 2;
  font-size: .7em;
  font-weight: 500;
  color: rgb(44, 24, 128);
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 20px;
}

.login_error{
  color: #d93025;
  font-size: .8em;
  text-align: center;
  min-height: 18px;
  z-index: 1;
}

.btn_ir{
  border-radius: 8px;
}

.btn_volver{
  background-color: white;
  border-radius: 8px;
    z-index: 2;
  position: relative;
  width: 100%;
  border: none;
  height: 30px;
  color: #0046c7;
  font-size: .8em;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 10px;
  cursor: pointer;
  border: #a8c5fc 1px solid;
  text-decoration: none;
    display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
} 

.btn_volver:hover{
  background-color: #a8c5fc;
  color: black;

}

