/* layout */
html {
  height: 100%;
  font-size: 14px;
  font-family: "Spoqa Han Sans Neo", "sans-serif";
}

div._wsaicon img {
  display: none !important;
}

@media screen and (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }
}

body {
  margin: 0;
  height: 100%;
  font-family: "Spoqa Han Sans Neo", "sans-serif";
}

/* 입력폼 */

input:focus {
  outline: none;
}

input::placeholder {
  color: #c2c2c2;
}

select {
  width: 100%;
  height: 29px;
  font-size: 15px;
  background: #fff url(https://static.nid.naver.com/images/join/pc/sel_arr_2x.gif) 100% 50%
    no-repeat;
  background-size: 20px 8px;
  -webkit-appearance: none;
  display: inline-block;
  text-align: start;
  border: none;
  cursor: default;
  font-family: Dotum, "돋움", Helvetica, sans-serif;
}

/* 에러메세지 */

.error {
  margin-top: 9px;
  font-size: 12px;
  color: red;
  display: none;
}

.alert_next_box {
  font-size: 12px;
  color: blue;
}

#alertTxt {
  position: absolute;
  top: 19px;
  right: 38px;
  font-size: 12px;
  color: red;
  display: none;
}

/*NickName*/

.NickName_layout {
  display: flex;
}

.NickName_layout p {
  font-size: 13px;
  color: #7a7676;
  margin-left: 9px;
  margin-top: 24px;
}

.NickName_text {
  font-size: 13px;
  color: rgb(14, 28, 216);
}

.birthCheck {
  font-size: 13px;
  color: rgb(14, 28, 216);
}

#error_userNickname_box {
  font-size: 14px;
  color: rgb(209, 9, 9);
}

/* 상담경험유무 */
.tpye_container {
  display: flex;
  width: 101%;
  margin-top: -13px;
}

.select {
  display: flex;
  margin-right: 10px;
}

/* 해외거주자/외국인 회원가입 */

.approve_container {
  width: 100%;
  height: 100%;
  position: relative;
  top: 25px;
}

.approve_inner {
  position: absolute;
  left: 0;
  right: 0;
  top: 120px;
  margin: 0 auto;
  text-align: center;
  max-width: 800px;
}

@media screen and (min-width: 1920px) {
  .approve_inner {
    top: 290px;
  }
}

.CTA {
  letter-spacing: 1px;
}

@media screen and (max-width: 768px) {
  .info_text p {
    padding: 12px;
    font-size: 14px;
    line-height: 0;
  }
  .CTA {
    font-size: 12px;
    letter-spacing: 0px;
  }
}

.approve_inner h2 {
  border-bottom: 1px solid #cacaca;
  padding-bottom: 20px;
}

.home_btn {
  width: 300px;
  height: 50px;
  border-radius: 50px;
  font-weight: 800;
  background-color: #e68a00;
  color: #fff;
  max-width: 320px;
  margin: 50px auto;
  cursor: pointer;
}

.home_btn a {
  color: #fff;
}

.info_text {
  padding: 20px;
  font-size: 17px;
  line-height: 25px;
  letter-spacing: 1px;
}

/* new signup */

.sectionStyled {
  width: 100%;
  background-color: #fcfdff;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  flex: 1;
}

@media (max-width: 768px) {
  .sectionStyled {
    padding: 0;
  }
}

.sectionStyled .box {
  width: 100%;
  height: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 40px 0 30px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .sectionStyled .box {
    box-shadow: none;
    border-radius: 0;
    padding: 40px 0;
  }
}

.sectionStyled .navBar {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 25px 50px;
}

.navBar .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
}

.navBar svg {
  width: 18px;
  height: 18px;
  padding: 4px 2px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.form {
  width: 100%;
  max-width: 90%;
  row-gap: 35px;
  display: flex;
  flex-direction: column;
  padding: 0 25px;
}

@media screen and (max-width: 768px) {
  .form {
    padding: 0 20px;
  }
}

.inputLine {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.inputLine div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e5e5e5;
}

.inputLine div input {
  width: 100%;
  font-size: 1rem;
  appearance: none;
  border: none;
}

#protectormobile {
  background: #e8f0fe;
  color: rgb(43, 43, 43);
}

.inputLine div select {
  width: 100%;
  border: none;
  -webkit-appearance: none; /* for chrome */
  -moz-appearance: none; /*for firefox*/
  appearance: none;
  font-size: 1rem;
}

.inputLine div button {
  width: auto;
  white-space: nowrap;
  font-size: 0.98rem;
  font-weight: 500;
  color: #46ab66;
  padding: 2px 4px;
}

button {
  background-color: transparent;
  border: none;
  outline: none;
  transition: all 0.3s ease-in-out;
}

.labelStyled {
  width: 100%;
  font-size: 0.813rem;
  color: #666;
  display: flex;
  column-gap: 0.308em;
  white-space: nowrap;
  margin-bottom: 0.308em;
}

.LineStyled {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e5e5;
}

.LineStyled select {
  width: 100%;
  height: 100%;
  -webkit-appearance: none; /* for chrome */
  -moz-appearance: none; /*for firefox*/
  appearance: none;
  font-size: 0.938rem;
  padding: 8px 0 8px;
}

.BtnStyled {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  width: 100%;
  height: auto;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 400;
  background-color: #c5c5c5;
  color: #fff;
  border-radius: 4px;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease-in-out;
  user-select: none;
  border: none;
  cursor: pointer;
  margin-top: 15px;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: #00000080;
}

.dialogStyled {
  z-index: 9000;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px 40px;
  box-shadow: 0 3px 30px rgba(0, 0, 0, 0.1);
  transition: 0.2s ease-in-out;
}

.protectDialogStlyled {
  max-width: 600px;
}

.selfDialogStyled {
  width: 320px;
  padding: 30px;
}

@media screen and (max-width: 600px) {
  .protectDialogStlyled {
    max-width: 89%;
    border-radius: 0;
  }

  .selfDialogStyled {
    width: 87%;
    border-radius: 0;
  }
}

/* 취소버튼 */
.cancelBtnIconLayout {
  z-index: 999;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  cursor: pointer;
  align-items: center;
  user-select: none;
  transition: 0.3s ease-in-out;
}

.protectorAuth {
  display: flex;
  flex-direction: column;
  margin: 0;
  row-gap: 10px;
}

.protectorAuth h1 {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 6px 0;
}

.protectorAuth p {
  background: #f8f8f8;
  border-radius: 4px;
  padding: 12px;
  margin: 0;
}

.AgreeSelect {
  display: grid;
  flex-direction: row;
  row-gap: 5px;
  padding: 0 10px;
  grid-template-columns: repeat(2, 1fr);
}

.checkStyled {
  display: flex;
  align-items: center;
  column-gap: 12px;
  cursor: pointer;
}

.checkStyled > a {
  color: #2d2d2d;
  text-decoration: none;
}

.AgreeSelect .checkStyled:last-child {
  grid-column: span 2; /* 마지막 항목이 두 칼럼을 차지하도록 함 */
}

.checkedInput {
  width: 27px;
  height: 27px;
  max-width: 27px;
  max-height: 27px;
  border: 0px solid gainsboro;
  border-radius: 1000px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23e2e2e2' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");

  user-select: none;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}

.checkedInput:checked {
  border-color: transparent;
  background-size: 100% 100%;
  background-position: 50%;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%2346ab66' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
  border-radius: 1000px;
  cursor: pointer;
}

.checkedInputAll {
  width: 27px;
  height: 27px;
  max-width: 27px;
  max-height: 27px;
  border: 0px solid gainsboro;
  border-radius: 1000px;
  appearance: none;
  background-color: #e2e2e2;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
  user-select: none;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}

.checkedInputAll:checked {
  border-color: transparent;
  background-size: 100% 100%;
  background-position: 50%;
  background-repeat: no-repeat;
  background-color: #46ab66;
  border-radius: 1000px;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  .AgreeSelect {
    grid-template-columns: repeat(1, 1fr);
  }

  .checkStyled {
    column-gap: 5px;
  }

  .checkedInputAll {
    width: 24px;
    height: 24px;
  }

  .checkedInput {
    width: 52px;
    height: 37px;
  }
}

/* 취소/인증하기버튼 */

.btnStyledSelf {
  margin-top: 16px !important;
}

.btnContainer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  margin-top: 20px;
}

.cancelBtn {
  width: 100%;
  height: 34px;
  border-radius: 4px;
  font-size: 14px;
  color: #aaa;
  background-color: #fff;
  border: 1px solid #d4d4d5;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.cancelBtn:hover {
  background-color: #e2e2e2;
  color: #999;
}

.submitBtn {
  width: 100%;
  height: 34px;
  border-radius: 4px;
  font-size: 14px;
  color: #fff;
  background-color: #46ab66;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.submitBtn:hover {
  background-color: #25b980;
}

.falseFirst {
  background-color: #c2c2c2;
  color: #fff;
}

.falseFirst:hover {
  background-color: #c2c2c2;
}

.foreigner {
  border-radius: 5px;
  background-color: rgb(245, 245, 245);
  padding: 10px;
}

#nationCodeShow {
  width: 80%;
}

#kakao-login-btn {
  opacity: 0;
}

.userMobileSignup {
  display: flex;
  column-gap: 10px;
  margin: 10px 0 5px 0;
}

.userMobileSignup span {
  display: flex;
  align-items: center;
}

.userMobileSignupInfo {
  padding: 0px 41px 10px 41px !important;
  color: #206cff;
}

#userNameField {
  display: none;
}
