body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(270deg, hsl(22, 88%, 51%), hsl(352, 76%, 57%), hsl(22, 88%, 51%));
  background-size: 400% 400%;
  animation: gradientMove 8s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.container {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  margin: 0 auto;
}

.container h1 {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bolder;
}
input[type="text"],
input[type="password"] {
  width: 80%;
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 10px;
  border: none;
  background-color: #ffffff;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
button {
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 18px;
  background: rgb(255, 218, 35);
  color: black;
  border-radius: 5px;
  border: none;
  margin-top: 2rem;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px darkslategray;
}

button:hover {
  box-shadow: 0 0 2px darkslategray;
 transform: translateY(2px);
}

.container img {
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(0);
  }
}

#textForm p {
  width: 80%;
  font-size: 1em;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  display: block;
}

.password-wrapper {
  position: relative;
  width: 80%;
  margin: 0 auto 20px auto;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
  margin-bottom: 0;
  padding-right: 38px; /* space for the icon */
  box-sizing: border-box;
  display: block;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 20px;
  color: #000000;
  user-select: none;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.loader {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 4px solid #ffd900;
  border-top: 4px solid #e74c3c;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

/* Add to styles.css */
h1 span {
  background: linear-gradient(90deg, #00ffe7 0%, #5f5cff 50%, #ff00ea 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  letter-spacing: 2px;
  filter: brightness(1.2);
  animation: gradientTextMove 3s linear infinite;
}

@keyframes gradientTextMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
