@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap");

body {
  letter-spacing: -0.3px;
  font-family: "Noto Sans KR", sans-serif;
}

/* 체크박스 커스텀 */
.id-save-box {
  display: flex;
  gap: 8px;
  input[type="checkbox"] {
    display: none;
  }

  label.checkbox-input {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../../img/checkbox-no.svg") no-repeat;
    background-size: 100%;
  }

  input[type="checkbox"]:checked + .checkbox-input {
    background: url("../../img/checkbox-yes.svg") no-repeat;
    background-size: 100%;
  }
}

/* ------------------------ login --------------------------*/

.id-box > p {
  font-size: 16px;
  color: #808080;
  margin-bottom: 10px;
}
.id-box > input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #eaeaea;
  padding: 16px;
  outline: none;
  border-radius: 8px;
}
.id-box > input:focus {
  border: 1px solid #11aa3f;
}
.id-box > input::placeholder {
  font-size: 16px;
  color: #bebebe;
}
.pw-box {
  margin-bottom: 24px;
}
.pw-box > p {
  font-size: 16px;
  color: #808080;
  margin-bottom: 10px;
}
.pw-box > input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #eaeaea;
  padding: 16px;
  outline: none;
  border-radius: 8px;
}
.pw-box > input:focus {
  border: 1px solid #11aa3f;
}
.pw-box > input::placeholder {
  font-size: 16px;
  color: #bebebe;
}
.info_box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.id-save-box > input {
  margin-right: 8px;
}
.id-save-box > label {
  font-size: 14px;
  color: #808080;
}
.info-search-box > a {
  font-size: 14px;
  color: #808080;
}
.info-search-box > a:first-child {
  margin-right: 10px;
  position: relative;
  padding-right: 10px;
}
.info-search-box > a:first-child::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 20px;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #EAEAEA;
}

.join-txt-box {
  text-align: center;
  margin-bottom: 32px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}
.join-txt-box > span:first-child {
  margin-right: 8px;
}
.join-txt-box > span:last-child {
  margin-right: 8px;
  color: #11aa3f;
  text-decoration: underline;
}
.join-sns-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.join-sns-box > a {
  display: inline-block;
  margin-right: 20px;
}
.mem-reg-btn {
  color:#11aa3f;
}

/* 모바일 */
@media screen and (min-width: 340px) and (max-width: 400px) {
  .login-wrap {
    max-width: 328px;
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 78px;
  }
  .login-wrap > h1{
    font-size: 28px;
    margin-bottom: 24px;
    padding-bottom: 32px;
  }
  .id-box > p,
  .pw-box > p{
    font-size: 14px;
  }
  .login-wrap > button{
    font-size: 18px;
  }
  
}
