/* ---------------- - 폼 컨테이너 및 제목 - ---------------- */
.join_wrap {
  width: 980px;
  border: 1px solid #D9D9D9;
  box-sizing: border-box;
  border-radius: 20px;
  /* box-shadow: 2px 2px 8px #D9D9D9; */
  padding: 50px 80px;
  margin: 0 auto;
  text-align: center;
  margin-top: 32px;
}

.page_title {
  color: #44667A;
  margin-bottom: 60px;
  text-align: center;
}

/* ---------------- - 목록 및 중앙 정렬 - ---------------- */
.input_list {
  padding: 0;
  margin: 0 auto;
  /* join_wrap 내부에서 중앙 정렬 */
  text-align: left;
  width: 650px;
  /* 레이블(150px) + 입력영역(500px) 너비 */
}

.row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.address_row {
  align-items: baseline;
}

/* ---------------- - 필드와 버튼 스타일 - ---------------- */

/* 레이블 (p.label) */
.label {
  flex-shrink: 0;
  width: 150px;
  font-size: 16px;
  font-weight: 500;
  color: #444;
  text-align: left;
}

/* 입력 필드 영역 (div.input_box) */
.input_box {
  flex-grow: 1;
  max-width: 500px;
}


/* 입력 필드 (input.input_text) */
.input_text,
.input_field {
  width: 100%;
  height: 48px;
  border: 1px solid #ccc;
  border-radius: 24px;
  padding: 0 18px;
  box-sizing: border-box;
  font-size: 16px;
  color: #666;
}


.input_box.with_btn,
.with_button {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.input_box.with_btn .input_text,
.input_box.with_btn .input_field,
.input_box.with_button .input_text,
.input_box.with_button .input_field {
  width: calc(100% - 108px);
}

.sub_btn {
  flex-shrink: 0;
  height: 48px;
  width: 100px;
  background-color: #fff;
  color: #44667A;
  border: 1px solid #44667A;
  border-radius: 24px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  /* a, label, button이 버튼처럼 보이도록 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub_btn:hover {
  background-color: #5F9EA0;
  border: none;
  color: #fff;
}

/* ---------------- - 번호 인증 - ---------------- */

.phone_box {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  /* 요소들 사이 간격 */
}

/* 2. 010 선택창 스타일 */
.phone_select {
  flex-shrink: 0;
  width: 80px;
  height: 48px;
  border: 1px solid #ccc;
  border-radius: 24px;
  text-align: center;
  font-size: 16px;
  color: #666;
  background-color: #fff;
  outline: none;
}

/* 3. 번호 입력칸 (phone_input): 기존의 calc(100% - 108px)를 무시함 */
.phone_box .phone_input {
  width: 80px;
  flex-grow: 0;
  text-align: center;
  padding: 0;
}

.phone_box .btn_verify {
  width: 90px;
  margin-left: auto;
  font-size: 13px;
}

.phone_box p {
  margin: 0;
  flex-shrink: 0;
}

/* ---------------- - 주소 및 기타 - ---------------- */
.address_inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zip_code_input {
  width: 150px;
  flex-shrink: 0;
}

/* ---------------- - 메시지 및 체크박스 - ---------------- */

/* 메시지 컨테이너 (div.msg) */
.msg {
  flex-basis: 100%;
  font-size: 14px;
  font-weight: 500;
  margin-top: 5px;
  padding-left: 5px;
  box-sizing: border-box;
  text-align: left;
}

.msg_success {
  color: #008000;
}

.msg_error {
  color: #CC0000;
}

.msg .icon_check,
.msg .icon_x {
  margin-right: 5px;
  font-weight: 700;
}

.msg.hidden {
  display: none;
}


.chk_hidden {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* ---------------- - 최종 버튼 - ---------------- */
.btn_join.main_btn {
  width: 250px;
  height: 52px;
  background-color: #5F9EA0;
  color: white;
  border: none;
  border-radius: 26px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 40px;
}

.main_btn a {
  color: #fff;
  text-decoration: none;
  /* a태그 밑줄 제거 */
  display: block;
  /* a태그가 버튼 전체를 덮도록 */
  line-height: 52px;
  /* 텍스트를 버튼 중앙에 정렬 */
}

.main_btn:hover {
  background-color: #44667A;
}

.hidden {
  display: none !important;
}