.wrapper {
  min-height: 100vh;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10% 0;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.input-contain {
  width: 100%;
}

label {
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
}

input {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  background-color: var(--gray-100);
  padding: 16px 24px;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

input::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

.pw-wrapper {
  width: 100%;
}

.bt-wrapper {
  position: relative;
}

.pw-wrapper button {
  position: absolute;
  top: 40%;
  right: 5%;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.view-bt-icon,
.no-view-bt-icon {
  display: none;
}

.view-bt-icon.show,
.no-view-bt-icon.show {
  display: block;
}

.auth-bt {
  width: 100%;
  border: 0;
  border-radius: 26px;
  padding: 12px 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
}

.auth-bt:disabled {
  background-color: var(--gray-400);
  cursor: auto;
}

.error-message {
  display: none;
  color: var(--error-red);
  font-size: 14px;
  font-weight: 600;
  margin: 8px 0 0 16px;
}

.error-message.email-none.show {
  display: block;
}

.error-message.email-wrong.show {
  display: block;
}

.error-message.password-none.show {
  display: block;
}

.error-message.password-wrong.show {
  display: block;
}

.error-message.password-confirm.show {
  display: block;
}

input.error-box:focus {
  border: 1px solid var(--error-red);
  outline: none;
}

.simple-login {
  width: 100%;
  background-color: #e6f2ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 23px;
  border-radius: 8px;
  margin-top: 24px;
}

.simple-login div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.account-message {
  margin-top: 24px;
  font-size: 14px;
}

/* 모바일 사이즈 */
@media (min-width: 375px) and (max-width: 767px) {
  .wrapper {
    max-width: 400px;
    padding: 20px 16px;
  }
  .logo img {
    width: 200px;
  }

  label {
    font-size: 14px;
    margin-bottom: 8px;
  }

  form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
  }
}
