body {
  padding: 0;
  margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(248, 249, 250);
    background-image: url(../img/calypso_letra_b.png);
    background-size:50%;
    background-position: center 10%;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    height: 100vh !important;
    width: 100% !important;
    overflow-y: hidden;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    
  }
 
  form {
    position: absolute;
    top: 50%;
    background:linear-gradient(310deg, #000, #202020);
    border-radius: 8px;
    backdrop-filter: blur(10px); /* Aplica un desenfoque de 10px */
    padding: 20px;
    overflow: hidden;
    width: 300px;
    height: max-content;
    box-shadow: 5px 5px 20px #20202077;
  }

  .titulo{
    width: 100%;
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    margin-bottom: 10px;
  }
  img{
    width: 50%;
    height: auto;
    margin: 0;
    padding: 0;
    

  }

  h2 {
    text-align: center;
    
    color: white;
  }

  label {
    display: block;
    margin-bottom: 10px;
    color: white;
    width: 100%;
    text-align: left;
  }

  input[type="text"],
  input[type="password"] {
    width: 100%;
    padding: 5px;
    border: 1px solid white;
    border-radius: 4px;
    height: 40px;
    box-sizing: border-box;
    color: #202020;
    margin-bottom: 10px;
    border: 1px solid white !important;
    outline: none;
    font-size: 16px;

  
    
  }


  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  .button {
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5px;
    border: none;
    margin-top: 20px;
    border-radius: 4px;

    font-weight: 500;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-size: 16px;
    cursor: pointer;
    height: 40px;
    transition: width 0.1s;
    transition: all ease-in 0.1s;
  }

  .button:hover{
    transform: translateY(-5px);
  }
  #error-message{
    display: none;
    position: absolute;
    top: 0;
    color: #eeeeee;
    background-color: #b4000f;
    border-color: #f5c2c7;
    height: 50px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px;
    display: flex;
    width: 100%;
    

  }



@media (max-width: 850px) {
    body{
        justify-content: center;
        align-items: center;
        height: 100vh !important;
        width: 100% !important;
        overflow-y: hidden;
        overflow-x: hidden;
        background-size:90%;
        background-position: center 10%;
    }
    


  }

  @media (max-width: 426px) {
   form{
    top: 35%;
    padding: 20px;
    width: 260px;
    height: max-content;
   }
    


  }








  .password-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Input de contraseña con espacio para el icono */
.password-container input {
    padding-right: 40px;
}

/* Ícono del ojo */
#togglePassword {
    position: absolute;
    right: 10px;
    top: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #a1a1a1;
    transition: color 0.3s ease;
}

#togglePassword:hover {
    color: #000000;
}