.auth-contents {
  width: 640px;
  height: 100vh;
  margin: auto;
  gap: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.auth-logo {
  width: 396px;
  height: 132px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.auth-logo img {
  width: auto;
  height: auto;
}

.auth-logo a {
  color: var(--primary-color);
  font-size: 66.34px;
  font-weight: 700;
  text-decoration: none;
}
 
.login-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}


.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-container input {
  padding-right: 50px;
}


.password-container img {
  position: absolute;
  right: 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.auth-button {
  color: #F3F4F6;
  border: 2px solid;
  width: 640px;
  height: 56px;
  padding: 16px 124px;
  border-radius: 40px;
  font-size: 20px;
  font-weight: 600;
}

.other-login {
  background-color: #E6F2FF;
  width: 640px;
  height: 74px;
  border-radius: 8px;
  padding: 16px 23px;
  gap: 10px;
} 

.login-easy {
  height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1F2937;
  font-size: 16px;
  font-weight: 500;
}


.social-login {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.link_to_signup {
  width: 197px;
  height: 24px;
  color: #1F2937;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.link_to_signup a {
  color: #3692FF;
  text-decoration: underline;
}

input.invalid {
  border-color: red;
}

.password-container input.invalid {
  border-color: red;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 4px;
}

@media (min-width: 375px) and (max-width: 767px) {

  .auth-contents {
    width: 100%;
    height: 100%;
    padding: 0 16px;
    margin: 0 auto;
    gap: 24px;
  }

  .auth-logo {
    gap: 8px;
  }

  .auth-logo img {
    width: 40px;
    height: 40px;
  }

  .auth-logo a {
    font-size: 45px;
  }

  .login-content {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  form,
  input,
  .auth-button,
  .other-login {
    width: 100%;
    max-width: 400px;
    gap: 12px;
  }

  label,
  input {
    font-size: var(--text-sm);
  }
}