/* agreementC */
.mainTitle {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-black);
  margin-bottom: 17px;
}
/*.joinViewTitle{*/
/*  text-align: center;*/
/*}*/


.inBox-cont {
  padding: 30px;
  margin-bottom: 60px;
  border-radius: 10px;
  background-color: var(--white);
  box-sizing: border-box;
  vertical-align: top;
  display: flex;
  flex-direction: column;
  padding: 30px;
  box-sizing: border-box;
  margin-bottom: 60px;
  border-radius: 10px;
  border: 1px solid #DFDFDF;
  background-color: var(--white);
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.07);
}

.inBox-cont .inContainer {
  width: 100%;
}

.inBox-cont .inContainer .inTitle {
  position: relative;
  height: 20px;
  line-height: 20px;
  margin-bottom: 10px;

  font-size: 15px;
  color: #595959;
  text-align: left;
}

.inBox-cont .inContainer .textCheck,
.inBox-cont .inContainer .allCheck {
  position: absolute;
  right: 0px;
  font-size: 15px;
  color: #595959;
  font-weight: normal;
  cursor: pointer;
  margin-right: 25px;
}

.inBox-cont .inContainer .textCheck input,
.inBox-cont .inContainer .allCheck input {
  display: none;
}

.inBox-cont .inContainer .textCheck .check,
.inBox-cont .inContainer .allCheck .check {
  position: absolute;
  top: 0px;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 5px;

  background-size: contain;
  background-position: center;
  background-image: url("../image/web_v2/tick-square_off.png");
  background-repeat: no-repeat;
}

.inBox-cont .inContainer textarea {
  width: 100%;
  height: 200px;
  padding: 15px 20px;
  margin-bottom: 20px;
  box-sizing: border-box;
  border: 1px solid;
  border-radius: 10px;
  resize: none;
  line-height: 1.2em;
}

.inBox-cont .inContainer textarea:focus {
  outline: none;
}

.inBox-cont .inContainer .allTitle {
  width: 100%;
  position: relative;
  margin-top: 10px;
  height: 20px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.joinBtn,
.joinBtn2 {
  width: 500px;
  height: 60px;
  line-height: 60px;
  background-color: var(--new-pink);
  border-radius: 10px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
  /*font-weight: bold;*/
  font-size: var(--text-medium);
  cursor: pointer;
}

.inBox-cont .inContainer textarea::-webkit-scrollbar {
  width: 0px;
}

.inBox-cont .inContainer textarea::-webkit-scrollbar-thumb {
  background-color: #3D4451;
  border-radius: 10px;
}

.inBox-cont .inContainer textarea::-webkit-scrollbar-track {
  background-color: #1C2232;
  border-radius: 10px;
}

.border-line{
  width: 100%;
  height: 1px;
  background-color: #bababa;
  margin: 20px 0;
}

.policyTplBox {
  height: 200px;
  overflow-y: auto;
  border: 1px solid #dfdfdf;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 20px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.6;
  color: #595959;
}

.inBox-cont .inContainer .inTitle-right {
  position: absolute;
  right: 0;
  top: 0;
  height: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.inBox-cont .inContainer .inTitle-right .textCheck {
  position: static;
  /*margin-right: 0;*/
}

.policyToggle {
  font-size: 12px;
  color: var(--text-gray);
  cursor: pointer;
  text-decoration: underline;
  white-space: nowrap;
}

.policyToggle::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 7px;
  margin-left: 4px;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpolyline points='1,1 10,11 19,1' fill='none' stroke='%23FF4B84' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
}

.policyToggle.open::after {
  transform: rotate(180deg);
}

/* 로그인 */
html, body {
  height: 100%;
  margin: 0;
}
body {
  display: grid;
  grid-template-rows: 1fr auto;
}

#body-wrapper{
  height: calc(100% - 214px);
  min-height: unset;
}

#body-content{
  height: 100%;
}

.mainTitle {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-black);
  margin-bottom: 17px;
}

.loginBoxCover,
.joinViewBoxCover{
  max-width: 800px;
  margin: 0 auto;
}
.loginBoxCover .mainTitle,
.joinViewBoxCover .mainTitle{
  text-align: center;
}

.page_loginBox,
.joinViewBoxCover .inBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  /* height: 550px; */
  padding: 50px 0 40px;
  margin-bottom: 60px;
  border-radius: 10px;
  box-sizing: border-box;
  vertical-align: top;
  border: 1px solid #d5d5d5;
  background-color: var(--white);
  box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.07);
}

.login_inputBox {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login_inputBox input {
  width: 500px;
  height: 50px;
  border-radius: 10px;
  background-color: var(--white);
  border: 1px solid #d5d5d5;
  box-sizing: border-box;
  outline: none;
  padding: 0px 20px;
  font-size: 15px;
  color: var(--text-black);
}

.login_inputBox input::placeholder {
  font-size: 15px;
  color: #c0c0c0;
}

.login_inputBox input:focus {
  outline: none;
  border: 1px solid var(--text-black);
}

.page_loginBox .button {
  vertical-align: top;
  display: inline-block;
  width: 500px;
  height: 50px;
  line-height: 50px;
  border-radius: 10px;
  background-color: var(--new-pink);
  cursor: pointer;
  font-size: var(--text-medium);
  font-weight: 500;
  text-align: center;

  color: var(--white);
}

.findUser, .findBtn, .reInputBtn {
  margin-left: 40px;
}

.page_loginBox .searchInfo {
  width: 500px;
  max-width: 500px;
  text-align: end;
  font-size: 12px;
  color: #595959;
  cursor: pointer;
  text-align: right;
}

.sns-tit{
  color: var(--text-gray);
  font-size: var(--text-medium);
  font-weight: 500;
  width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sns-tit::before,
.sns-tit::after{
  content: '';
  display: block;
  width: 36%;
  height: 1px;
  background-color: #e7e7e7;
  position: absolute;
}
.sns-tit::before{
  left: 0;
}
.sns-tit::after{
  right: 0;
}

.inBox .socialBox {
  display: flex;
  align-items: center;
  gap: 50px;
  margin: 10px 0;
}

.inBox .socialBox .socialBtn {
  cursor: pointer;
}

.inBox .socialBox .socialBtn .logo {
  width: 50px;
  height: 50px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50px;
}

.inBox .socialBox .socialBtn span {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
}

.inBox .socialBox .socialBtn#kakaoLogin .logo {
  background-image: url("../image/web_v2/kakao.png")
}

.inBox .socialBox .socialBtn#gogleLogin .logo {
  background-image: url("../image/web_v2/Google.png")
}

.inBox .socialBox .socialBtn#naverLogin .logo {
  background-image: url("../image/web_v2/naver.png")
}

.line {
  width: 100%;
  border-bottom: 1px solid #d7d7d7;
}

.inBox .joinInfo {
  width: 100%;
  text-align: center;
  color: var(--text-black);
  font-weight: 400;
  font-size: 15px;
}

.inBox .joinInfo span {
  display: inline-block;
  margin-left: 5px;
  color: var(--new-pink);
  font-weight: 500;
  cursor: pointer;
}

/* 회원가입 */
.joinViewBoxCover .inBox{
  min-height: 400px;
  justify-content: center;
  gap: 60px;
}
.memberTypeBox{
  display: flex;
  align-items: center;
  gap: 40px;
}
#personalMemberContent{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Switch */
.switch-container {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: var(--text-medium);
  color: var(--text-black);
}

/* 스위치 전체 영역 */
.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}
.switch-container .label{
  width: 100px;
  font-weight: 400;
}
.switch-container .label:first-child{
  text-align: right;
}

/* 체크박스 숨기기 */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* 스위치 배경 기본: 회색 (기업회원 상태) */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--main-color);
  /* 회색 */
  border-radius: 34px;
  transition: 0.4s;
}

/* 동그라미 */
.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

/* 체크되면 핑크색으로 바꾸기 (아티스트 회원 상태) */
input:checked+.slider {
  /*background-color: #FF9FCB;*/
  background-color: var(--main-color);
}

/* 체크되었을 때 동그라미 이동 */
input:checked+.slider:before {
  transform: translateX(14px);
}




@media (max-width: 992px) {
  /* agreementC */



}

@media (max-width: 767px) {
  /* agreementC */
  .inBox-cont{
      padding: 15px;
      margin-bottom: 20px;
  }
  .inBox-cont .inContainer .allTitle{
      margin-bottom: 20px;
  }
  .joinBtn, .joinBtn2{
      width: 100%;
      height: 50px;
      line-height: 50px;
  }

  /* 로그인 */
  .loginBoxCover,
  .joinViewBoxCover{
      width: 100%;
      max-width: 100%;
  }
  .login_inputBox input,
  .login_inputBox,
  .page_loginBox .searchInfo,
  .page_loginBox .button,
  .sns-tit{
      width: 100%;
  }
  .page_loginBox{
      padding: 30px 20px;
  }
  .sns-tit::before,
  .sns-tit::after{
      width: 25%;
  }

  /* 회원가입 */
  .joinViewBoxCover .inBox{
      width: 100%;
      min-height: auto;
      padding: 30px 20px;
  }
  .switch-container{
      padding-top: 40px;
  }

}

/* 390px 이하 작은 모바일 */
@media (max-width: 390px) {

  /* agreementC */
  .inBox-cont .inContainer .allTitle,
  .inBox-cont .inContainer .inTitle{
      font-size: var(--text-normal);
  }
  .inBox-cont .inContainer .textCheck, .inBox-cont .inContainer .allCheck{
      font-size: var(--text-normal);
      margin-right: 21px;
  }
  .inBox-cont .inContainer .textCheck .check, .inBox-cont .inContainer .allCheck .check{
      width: 18px;
      height: 18px;
      margin-left: 4px;
  }

}
