body {
  margin: 0;
  font-family: 'Pretendard';
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  width: 640px;
  padding: 56px;
  box-sizing: border-box;
}

.logo-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.logo-img {
  width: 396px;
  height: 132px;
  display: block;
}

/*입력창*/
.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1f2937;
}

input[type='email'],
input[type='password'] {
  width: 100%;
  height: 56px;
  font-size: 15px;
  padding: 16px;
  border-radius: 12px;
  border: none;
  background-color: #f3f4f6;
  box-sizing: border-box;
}

/*비밀번호 숨기기*/
.password-input {
  position: relative;
}

.password-input input {
  width: 100%;
  height: 56px;
  padding: 16px;
  margin: 16 48 48 48px;
  border-radius: 12px;
  box-sizing: border-box;
  background-color: #f3f4f6;
  border: none;
  font-size: 16px;
  margin: 0;
}

.password-input .btn {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  padding: 0;
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
}

.password-input .btn img {
  width: 100%;
  height: 100%;
}

/*로그인 버튼*/
.login-btn {
  width: 100%;
  height: 56px;
  background-color: #9ca3af;
  color: #ffffff;
  font-weight: 600;
  font-size: 20px;
  border: none;
  border-radius: 40px;
}

/*간편 로그인*/
.social-login {
  background-color: #e6f2ff;
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  padding: 0 20px;
  margin: 16px 0;
}

.social-login-text {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social img {
  width: 42px;
  height: 42px;
}

/* 회원가입 */
.signup-callout {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: #1f2937;
}

.signup-callout a {
  color: #3182f6;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 767px) and (min-width: 375px) {
  .login-box {
    max-width: 400px;
  }
  .logo-img {
    width: 100%;
    height: auto;
  }
}

/*에러 메세지*/
.error-input {
  border: 1px solid #f74747 !important;
}

.error-message {
  color: #f74747;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  display: block;
}

/*로그인 버튼 활성화*/
.login-btn.enabled {
  background-color: #3692ff;
}

.login-btn:disabled {
  cursor: not-allowed;
}
