@charset "utf-8";

@import url(global.css);
/* 📣 font, 공통값, semantic color, header => global.css */

.header_inner {
  justify-content: flex-end;
}

.page_title {
  display: none;
}

.btn_logout {
  display: none;
}

.login_section {
  width: 100%;
  height: calc(584px + 20vh);
  display: flex;
  justify-content: center;
  padding: 10vh 0;
}

.login_wrapper {
  width: 65%;
  height: 584px;
  border-radius: 20px;
  box-shadow: var(--shadow-heavy);
  overflow: hidden;
  display: flex;
}

.login_img_box {
  width: calc(100% - 40px);
  height: 300px;
  margin: 0 20px;
  border-radius: 20px;
  overflow: hidden;
  display: none;
  position: relative;
}

/* ASSETS으로 경로수정하기*/
.login_img {
  width: 100%;
  height: 100%;
  background-image: url(/assets/images/login/login_img01.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  animation-duration: 6s;
  animation-name: img_login;
  animation-fill-mode: forwards;
}

@keyframes img_login {
  from {
    background-image: url(/assets/images/login/login_img01.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 180%;
  }

  to {
    background-image: url(/assets/images/login/login_img01.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 220%;
  }
}

.login_img_box .img_title figure {
  height: 40px;
  overflow: hidden;
  position: absolute;
  top: 10px;
  left: 20px;
}
.login_img_box .img_title figure img {
  width: 100%; 
  height: 100%;
}

.login_img_box .img_title .content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
}
.login_img_box .img_title .content b {
  font-size: 3.4rem;
}
.login_img_box .img_title .gradient {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, 
  rgba(0, 0, 0, 0.7) 5%,
  rgba(0, 0, 0, 0.4) 20%, 
  rgba(0, 0, 0, 0) 40%);
  z-index: 9;
}

.login_images {
  width: 50%;
  height: 100%;
  background-image: url(/assets/images/login/login_img01.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  animation-duration: 6s;
  animation-name: img_login;
  animation-fill-mode: forwards;
}

@keyframes img_login {
  from {
    background-image: url(/assets/images/login/login_img01.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 180%;
  }

  to {
    background-image: url(/assets/images/login/login_img01.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 220%;
  }
}

.img_title {
  width: 100%;
  height: 100%;
  padding: 30px 40px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.img_title figure {
  height: 48px;
}

.img_title img {
  height: 100%;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.content b {
  font-size: 4rem;
  font-weight: 700;
  color: var(--label-white);
  line-height: 1;
  -ms-user-select: none;
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

.content p {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--label-white);
  -ms-user-select: none;
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

.login_contents {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 60px;
  padding: 0 5.833vw;
}

.login_title {
  width: 100%;
  padding: 10px;
  font-size: 2.8rem;
  color: var(--label-normal);
  font-weight: 700;
  margin: 0 auto;
}

/* form start */

.login_form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.mobile {
  display: none;
}

.input_field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.wrap_id_pw {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wrap_id,
.wrap_pw {
  width: 100%;
  position: relative;
}

.id_box,
.pw_box{
  width: 100%;
  height: 45px;
  border-bottom: solid 1px var(--line-normal);
  padding: 0 38px 0 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--label-normal);
}

.id_box::placeholder,
.pw_box::placeholder {
  color: var(--label-alternative);
}

.id_box:focus,
.pw_box:focus {
  border-bottom: 2px solid var(--primary-normal);
}

.wrap_id_pw button {
  width: 18px;
  height: 18px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: none;
}

.wrap_id_pw button.active {
  display: block;
  cursor: pointer;
}

.wrap_chk_input {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chk span,
.find_id,
.find_pw,
.link_wrap span {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--label-normal);
}

.chk input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.chk input[type="checkbox"] + label {
  display: inline-block;
  position: relative;
  padding-left: 26px;
  cursor: pointer;
}

.chk input[type="checkbox"] + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  text-align: center;
  background: url(/assets/images/login/check_off.png) no-repeat;
  box-sizing: border-box;
  border-radius: 5px;
}

.chk input[type="checkbox"]:checked + label:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 15px;
  height: 15px;
  background: url(/assets/images/login/check_on.png) no-repeat;
  background-position: center center;
  border-radius: 5px;
}

.wrap_btn_login {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wrap_btn_login input[type="submit"] {
  width: 100%;
  padding: 15px 0;
  border-radius: 10px;
  background-color: var(--primary-normal);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--label-white);
  cursor: pointer;
}

.join_us {
  width: 100%;
  padding: 13px 0;
  border-radius: 10px;
  background-color: #000;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  color: var(--label-white);
}

/* form end */

@media (max-width: 1320px) {
  .login_wrapper {
    width: 32.5%;
  }

  .login_images {
    display: none;
  }

  .login_contents {
    width: 100%;
    padding: 0 4vw;
  }
  
  .login_img_box {
    display: none;
  }
}

@media (max-width: 1024px) {
  /* 모바일 사이즈 */
  .pc {display: none;}
  .mobile {display: block;}
  .hide {display: none;}

  /* 모바일 로그인 */
  .login_section {
    height: calc(100vh - 36px - 8.625vh);
    padding: 0;
  }
  
  .login_wrapper {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    position: relative;
  }

  .login_contents {
    width: 100%;
    height: 100%;
    padding: 4.5vh 16px;
    display: block;
  }

  .login_img_box {
    display: block;
  }

  .login_contents form {
    width: 100%;
  }

  .input_field {
    padding: 0 8px;
    gap: 0;
  }

  .wrap_id_pw {
    gap: 10px;
  }

  .id_box,
  .pw_box {
    height: 49px;
    border: 1px solid var(--line-normal);
    border-radius: 10px;
    padding: 0 40px 0 15px;
    font-weight: 400;
    color: var(--label-normal);
  }

  .id_box:focus,
  .pw_box:focus {
    border: 2px solid var(--primary-normal);
  }

  .wrap_id_pw button {
    right: 15px;
  }

  .wrap_btn_login {
    width: 100%;
    height: 61px;
    /*position: absolute;
    left: 0;
    bottom: 316px;*/
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .wrap_btn_login input[type="submit"] {
    width: calc(100% - 32px);
    height: 100%;
    font-size: 1.8rem;
    font-weight: 600;
  }

  .validation_wrap {
    padding: 6px 10px;
    margin-bottom: 30px;
  }

  .validation {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--status-destructive);
  }

  .login_more {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .login_more li {
    position: relative;
  }

  .login_more li a {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--label-normal);
  }

  .uid_btn::before,
  .upw_btn::before {
    content: '';
    width: 2px;
    height: 14px;
    background-color: var(--label-alternative);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -10px;

  }
}
