.login {
  position: relative;
  width: 100%;
  padding-top: 150px;
}

/* 로그인 컨테이너 */
.login__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 40px 140px;
}

/* 로그인 타이틀 */
.login__title {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 60px;
  color: #333333;
  margin-bottom: 64px;
  line-height: 1;
}

/* 로그인 폼 */
.login__form {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-bottom: 40px;
}

.login__form__field {
  display: flex;
  align-items: center;
  gap: 37px;
  width: 100%;
}

.login__form__label {
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #868686;
  white-space: nowrap;
  min-width: 74px;
}

.login__form__input-wrapper {
  position: relative;
  flex: 1;
  max-width: 469px;
}

.login__form__input {
  width: 100%;
  height: 63px;
  padding: 0 20px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #383838;
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.login__form__input:focus {
  border: 2px solid #00b6c1;
}

.login__form__input::placeholder {
  color: #c5c5c5;
}

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

.login__form__toggle-password img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 로그인 버튼 */
.login__buttons {
  display: flex;
  gap: 21px;
  margin-bottom: 14px;
}

.login__button {
  width: 280px;
  height: 59px;
  border-radius: 10px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.login__button--primary {
  background-color: #5bccd3;
  color: #fff;
}

.login__button--primary:hover {
  background-color: #4db8bf;
}

.login__button--secondary {
  background-color: transparent;
  border: 2px solid #c3c3c3;
  color: #979797;
}

.login__button--secondary:hover {
  border-color: #a0a0a0;
  color: #808080;
}

/* 아이디/비밀번호 찾기 */
.login__find {
  width: 100%;
  max-width: 580px;
  display: flex;
  gap: 37px;
  margin-bottom: 51px;
  justify-content: space-between;
}

.login__find-link {
  font-family: 'Pretendard', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #888888;
  text-decoration: none;
  line-height: 1.6;
}

.login__find-link:hover {
  text-decoration: underline;
}

/* 구분선 */
.login__divider {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 540px;
  margin-bottom: 41px;
}

.login__divider__line {
  flex: 1;
  height: 1px;
  background-color: #d9d9d9;
}

.login__divider__text {
  font-family: 'Pretendard', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #7b7b7b;
  line-height: 1.6;
  white-space: nowrap;
}

/* 소셜 로그인 */
.login__social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.login__social__button {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s;
}

.login__social__button:hover {
  transform: scale(1.1);
}

.login__social__button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .login__container {
    padding: 0 20px 100px;
  }
  .login__title {
    font-size: 40px;
    margin-bottom: 48px;
  }
  .login__form__label {
    font-size: 16px;
    min-width: 60px;
  }
  .login__form__input {
    height: 50px;
    font-size: 16px;
  }
  .login__buttons {
    flex-direction: column;
    align-items: center;
  }
  .login__find {
    justify-content: center;
  }
}