#main-container {
  position: absolute;
  height: 100%;
  width: 100%;
  background: var(--background);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    -45deg,
    var(--primary),
    #23d5ab,
    #23a6d5,
    var(--secondary)
  );
  background-size: 500% 500%;
  animation: gradient 30s ease-in-out infinite;
}

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

#auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  flex-direction: column;
  /* border: 2px solid var(--primary); */
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: rgba(0, 0, 255, 0.221) 0px 50px 100px -20px,
    rgba(0, 255, 51, 0.381) 0px 30px 60px -30px;
}

#auth-container > h1,
.auth-title {
  font-size: 1rem;
  margin: 0 auto;
  font-weight: bold;
  text-align: center;
}

.org-logo {
  max-width: 10rem;
  min-width: 5rem;
}

#auth-container h2 {
  align-self: flex-start;
  color: var(--primary-gradient);
  font-size: 1rem;
  margin: 1rem 0 0 0;
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

#login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#login-form label {
  align-self: flex-start;
  margin: 1rem 0 0.25rem 0;
  font-size: 0.8rem;
}

.error-message {
  margin-top: 0.5rem;
  margin-bottom: -0.5rem;
  align-self: flex-start;
  color: rgb(255, 72, 72);
  font-size: 0.75rem;
}

#login-btn {
  width: 100%;
  position: relative;
  display: inline-block;
  border: none;
  border-radius: var(--radius);
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--secondary-gradient);
  cursor: pointer;
  background-color: transparent;
  overflow: hidden;
  z-index: 1;
  font-weight: 600;
  color: var(--background);
}

#login-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  transform: translateX(-100%);
  transition: all 0.3s;
  z-index: -1;
}

#login-btn:hover::before {
  transform: translateX(0);
}

.login-input {
  border: none;
  border-radius: var(--radius);
  background: var(--accent-background);
  padding: 0.75rem;
}
