/* 회원가입 폼 스타일 */
.register {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Noto Sans KR", Sans-serif;
}

#fregister p {
  position: relative;
  text-align: center;
  color: #fff;
  height: 50px;
  line-height: 50px;
  font-size: 1.1em;
  background: #dd553a;
  margin: 0 0 10px;
  font-weight: bold;
}
#fregister_private table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1em;
}

.register form {
  background-color: #fff;
  padding: 30px 20px;
}

.register ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.register ul li {
  margin-bottom: 20px;
}

.register label {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.register input[type="text"],
.register input[type="password"],
.register input[type="email"],
.register input[type="tel"],
.register textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  font-size: 1em;
  box-sizing: border-box;
}

.register input[type="text"]:focus,
.register input[type="password"]:focus,
.register input[type="email"]:focus,
.register input[type="tel"]:focus,
.register textarea:focus {
  border-color: #66afe9;
  outline: none;
}

.register .image-upload {
  display: flex;
  justify-content: flex-start;
}

.register .image-upload--multiple {
  flex-direction: column;
}

.register .image-upload img {
  width: 300px;
  height: auto;
}

.card-image-preview-container {
  padding: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-image-preview {
  position: relative;
}

.card-image {
  width: 240px;
  height: 240px;
  object-fit: contain;
}

.remove-image-button {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 0 1px 1px 0;
  display: flex;
  width: 24px;
  height: 24px;
  justify-content: center;
  align-items: center;
  line-height: 1;
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
  background-color: red;
  border-radius: 50%;
}

.btn_confirm {
  margin-top: 32px;
  display: flex;
  column-gap: 12px;
  row-gap: 12px;
}

.btn_submit {
  flex: 1;
  padding: 0;
  height: 50px !important;
  font-weight: bold;
  font-size: 1.083em;
  border: 0;
  background: #3a8afd;
  color: #fff;
  cursor: pointer;
}

.btn_submit:hover {
  background-color: #2375eb; /* Darker shade for hover */
}

.btn_close {
  flex: 1;
  padding: 0;
  height: 50px !important;
  font-weight: bold;
  font-size: 1.083em;
  text-align: center;
  border: 1px solid #dcdcdc;
  cursor: pointer;
  background: #fff;
  color: #5c5c5c;
  line-height: 50px;
}

.btn_close2 {
  flex: 1;
  padding: 0;
  height: 50px !important;
  font-weight: bold;
  font-size: 1.083em;
  text-align: center;
  border: 1px solid #dcdcdc;
  cursor: pointer;
  background: #fff;
  color: #5c5c5c;
}

.register .pt-social-login-btn--kakao {
  padding: 10px 0 !important;
  display: flex;
  flex: 1;
  height: 50px;
  justify-content: center;
  align-items: center;
  color: #000;
  column-gap: 10px;
  box-shadow: none;
  background: #F7E71B;
}

.register .pt-social-login-btn__icon {
    height: 20px;
    width: auto;
}

.fregister_agree {
  position: absolute;
  top: 0;
  right: 0;
}

#fregister section {
  margin: 10px auto 15px;
  border: 1px solid #dde7e9;
  position: relative;
}

.registration-errors {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 15px;
  margin-bottom: 20px;
  color: #721c24;
}
#fregister h2 {
  text-align: left;
  padding: 20px;
  border-bottom: 1px solid #dde7e9;
  font-size: 1.2em;
  margin: 0;
}
#fregister_chkall {
  position: relative;
  text-align: center;
  background: #f5f7fa;
  line-height: 50px;
  border: 1px solid #e5e9f0;
  margin-bottom: 15px;
}
.registration-errors p {
  margin: 0;
}
.form_01 .left_input {
  float: left;
}
.form_01 li {
  margin-bottom: 10px;
}
.half_input {
  width: 49.5%;
}
.form_01 .margin_input {
  margin-right: 1%;
}
.form_01 ul:after,
.form_01 li:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#fregister_term,
#fregister_private {
  margin-bottom: 30px;
}
#fregister_private table {
  background-color: white;
  margin: 0;
}
#fregister_private table th {
  background: #f7f7f9;
  width: 33.33%;
  color: #000;
  padding: 10px;
  border: 1px solid #d8dbdf;
}
#fregister_private table td {
  border: 1px solid #e7e9ec;
  padding: 10px;
  border-top: 0;
  background-color: white;
}
#fregister_term textarea,
#fregister_private div {
  background-color: #ffffff;
  padding: 15px;
  border: 1px solid #ddd;
  height: 150px;
  overflow-y: auto;
}

.fregister_agree {
  margin-top: 10px;
  border: none;
}
.red {
  color: red !important;
  font-weight: 700;
  font-size: 16px;
}

.fregister_agree label {
  display: inline-block;
  margin-left: 5px;
  font-weight: normal;
  color: #555;
}
#fregister textarea {
  display: block;
  padding: 20px;
  width: 100%;
  height: 150px;
  background: #fff;
  border: 0;
  line-height: 1.6em;
}

.fregister_agree input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 5px;
}
.msg_sound_only,
.sound_only {
  display: inline-block !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0;
  line-height: 0;
  border: 0 !important;
  overflow: hidden !important;
}
.chk_all {
  text-align: center;
  margin-bottom: 30px;
}

.chk_all label {
  font-weight: bold;
  color: #333;
}

.btn_top {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.btn_top label {
  font-size: 1.2em;
  margin: 0 10px;
  cursor: pointer;
}

.register_form_inner h2 {
  font-size: 1.4em;
  margin-bottom: 25px;
  color: #333;
  font-weight: 700;
}

.register_form_inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.register_form_inner ul li {
  margin-bottom: 20px;
}

.register_form_inner ul .notice {
  color: #555555; /* 회색 글자 */
  font-size: 12px; /* 기본 글씨보다 작게 */
  margin-top: 10px; /* 상단 여백 */
  list-style: none; /* 불릿 포인트 제거 */
}
.half_input {
  width: 48%;
  float: left;
}

.margin_input {
  margin-right: 4%;
}

.frm_input {
  width: 100%;
  padding: 12px 15px;
  box-sizing: border-box;
  font-size: 1em;
}

.address_search {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.address_search input[type="text"] {
  flex: 1;
}

.address_search button {
  flex-shrink: 0;
  padding: 12px 20px;
  background-color: #c7253e; /* Updated primary color */
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.address_search button:hover {
  background-color: #a41c33; /* Darker shade for hover */
}

.frm_address {
  margin-bottom: 10px;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.agreements {
  margin-top: 30px;
}

.agreements h2 {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #333;
  font-weight: 700;
}

.agreements textarea {
  resize: none;
}

#fregisterform .form_01 div {
  margin: 0 0 20px;
}

.register_form_inner {
  background: #f7f7f7;
  border: 1px solid #dde7e9;
  margin-bottom: 20px;
}
.register_form_inner ul {
  padding: 20px;
}
.form_01 .margin_input {
  margin-right: 1%;
}

.form_01 .left_input {
  float: left;
}
.form_01 li {
  margin-bottom: 10px;
}
.half_input {
  width: 49.5%;
}
/* 반응형 디자인 */
@media (max-width: 768px) {
  .half_input,
  .margin_input {
    width: 100%;
    margin-right: 0;
    float: none;
  }
  #fregister_chkall {
    font-size: 12px;
  }
  #fregister textarea {
    font-size: 12px;
  }
  #fregister h2 {
    font-size: 16px;
  }

  #fregister p {
    font-size: 9px;
  }
  #fregister_private table {
    font-size: 12px;
  }
  .red {
    font-size: 12px;
  }
  .register {
    padding: 10px;
  }

  .register form {
    padding: 20px 15px;
  }

  .btn_confirm {
    flex-wrap: wrap;
  }

  .btn_submit,
  .btn_close,
  .btn_close2 {
    font-size: 14px;
  }

  .pt-social-login-btn.pt-social-login-btn--kakao {
    width: 100%;
    flex: 0 0 auto;
  }


  .address_search {
    flex-direction: column;
  }

  .btn_top label {
    display: block;
    margin-bottom: 5px;
  }
}
