@import url(../../styles/global.css);

body {
  background-color: var(--sidebar-bgc);
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.logo {
  width: 249px;
  height: 214px;
}

.login-title {
  font-size: 70px;
  font-weight: 400;
  margin-bottom: 23px;
    color: #cc3cfc;
    background-image: linear-gradient(
      100deg,
      #0feffd 0%,
      #8484fc 35%,
      #cc3cfc 68%,
      #fc0cfc 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  line-height: 80px;
}
.login-desc {
  font-size: 40px;
  font-weight: 500;
  line-height: 80px;
  color: var(--Filmalisa-text-color);
  margin-bottom: 40px;
}

.form-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-box {
  width: 547px;
  height: 64px;
  border: 1px solid var(--login-register-input-text-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
}

.input {
  flex: 1;
  background-color: transparent;
  border: none;
  outline: none;
  color: var(--white-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  padding: 0 15px;
}

.input::placeholder {
  color: var(--login-register-input-text-color);
}
.register-link {
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  color: var(--Link-color);
  text-decoration: underline;
}
.login-button {
  width: 547px;
  height: 56px;
  padding: 16px 32px;
  margin-top: 40px;
  border: none;
  border-radius: 12px;
  background-color: var(--btn);
  color: var(--white-color);
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-button:hover {
  opacity: 80%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Chrome autofill fix */
.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus,
.input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--sidebar-bgc) inset;
  -webkit-text-fill-color: var(--white-color);
  transition: background-color 5000s ease-in-out 0s;
}


#password-eye {
  cursor: pointer;
  transition: 0.2s ease;
}

#password-eye.active {
  filter: invert(31%) sepia(91%) saturate(3131%) hue-rotate(273deg)
    brightness(101%) contrast(101%);
}

@media (max-height: 1000px) {
  html,
  body {
    margin: 0;
    height: 100%;
    overflow: hidden;
  }

  .login-container {
    height: 100vh;
    min-height: 0;
    box-sizing: border-box;
    padding: 10px 20px;
    justify-content: center;
  }

  .logo {
    width: 150px;
    height: auto;
  }

  .login-title {
    font-size: 45px;
    line-height: 50px;
    margin: 5px 0 15px;
  }

  .login-desc {
    font-size: 28px;
    line-height: 35px;
    margin-bottom: 20px;
  }

  .form-box {
    gap: 10px;
  }

  .input-box {
    width: 547px;
    height: 52px;
    box-sizing: border-box;
  }

  .login-button {
    width: 547px;
    height: 50px;
    margin-top: 20px;
  }
}