@charset "utf-8";

.guide {
  border: solid 2px #dcdcdc;
  padding: 30px 40px 20px 50px;
  width: 650px;
  margin: auto;
  margin-bottom: 50px;
}

h3.book-h3 {
  font-size: 18px;
  font-weight: bold;
  padding: 10px 0;
}

label.category.subject {
  font-size: 20px;
  margin-top: 10px;
}

hr.border {
  display: block;
  height: 10px;
  border-bottom: 1px solid #f4f4f4;
}

.required::before {
  content: "*";
  display: inline-block;
  color: #005eae;
  margin-right: 4px;
}

.line-container {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.line {
  height: 2px;
  background-color: black;
}

.line.fixed {
  width: 181px;
  background-color: #14237f;
}

.line.flexible {
  flex: 1;
  margin-left: 8px;
  background-color: #656976;
}

.bl-1 {
  border-left: solid 0.3px #97979742;
}

.rrno-input {
  width: 80px;
/*   text-align: center; */
}

.rrno-dash-wrap {
  margin: 0 6px;
}

.input-number-password {
  -webkit-text-security: disc;
}

.label-btn-gap {
  gap: 8px;
}

.aplcnt-addr-box:not(.disabled) {
  display: contents;
}

.aplcnt-addr-box .parsley-errors-list{
  padding-left: 16px;
}

.addr-input-box input[type="text"] + .parsley-errors-list {
  padding-bottom: 20px;
}

.addr-input-box::-webkit-input-placeholder {
  opacity: 0;
}

.addr-input-box:-moz-placeholder {
  opacity: 0;
}

.addr-input-box ::-moz-placeholder {
  opacity: 0;
}

.addr-input-box :-ms-input-placeholder {
  opacity: 0;
}

.addr-input-box input::placeholder {
  opacity: 0;
}

/* .input-control[type=radio]+label, .input-control[type=checkbox]+label { */
/*   position: relative; */
/*   display: flex; */
/*   align-items: center; */
/*   cursor: pointer; */
/* } */
.checkbox+.checkbox-label {
  color: #333; /* 체크 전 텍스트 색상 (회색) */
  cursor: pointer;
  transition: color 0.3s ease;
}

.checkbox+.checkbox-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border: 2px solid #999;
  background-color: #fff;
  vertical-align: middle;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.checkbox:checked+.checkbox-label::before {
  border-color: #007bff;
  background-color: #007bff;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.173 11.09L3.477 8.393a.75.75 0 0 1 1.06-1.06l1.636 1.636 4.384-4.384a.75.75 0 0 1 1.06 1.06l-5.029 5.03a.75.75 0 0 1-1.06 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.checkbox:checked+.checkbox-label {
  color: #007bff; /* 체크 후 텍스트 색상 (파란색) */
}

.file-upload-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 32px;
  position: relative;
  height: 100%;
  padding: 10px 16px;
  min-height: 48px;
}

.file-upload-box.dragging {
  background-color: #f3f5f7;
  /*     border: 2px dashed blue; */
}

.placeholder-text {
  color: #999999;
  font-size: 14px;
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.file-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  width: 100%;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  width: 100%;
}

.file-item span.file-name {
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
}

.file-item span.file-name:hover {
  text-decoration: underline;
}

.delete-btn {
  display: inline-block;
  background-color: red;
  color: white;
  width: 48px;
  height: 28px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.delete-btn:hover {
  background-color: darkred;
}

.blwnNmCheck-wrap {
  padding: 0 !important;
}

/* parsley */
.parsley-errors-list {
  width: 100%;
}

.parsley-required, .parsley-telformat, .parsley-type {
  color: red;
  font-weight: bold;
  text-align: left;
  margin-top: 3px;
}

.parsley-required::before, .parsley-telformat::before, .parsley-type::before {
  content: '※ ';
}

#parsley-id-multiple-nrt_yn {
  padding-left: 16px;
  padding-bottom: 10px;
}

.disabled {
  pointer-events: none;
  background-color: #e1e1e2;
}

.disabled input,
.disabled button {
  pointer-events: none;
  user-select: none;
}

.disabled input {
  background-color: #e1e1e2;
  color: #212121;
}

/* validation */
.rrno-valid {
  color: red;
  font-weight: bold;
  text-align: left;
  display: none;
  margin: 0 0 8px 16px;
}

.rrno-valid::before {
  content: '※ ';
}

@media ( max-width : 1024px) {
  div.category .control-btn {
    display: block;
    width: 20px;
    height: 20px;
    background: url('../images/minus.png') no-repeat;
    cursor: pointer;
    margin-left: auto;
  }
  .addr-input-box::-webkit-input-placeholder {
    opacity: 1;
  }
  .addr-input-box:-moz-placeholder {
    opacity: 1;
  }
  .addr-input-box ::-moz-placeholder {
    opacity: 1;
  }
  .addr-input-box :-ms-input-placeholder {
    opacity: 1;
  }
  .addr-input-box input::placeholder {
    opacity: 1;
  }
  .form-container .item-box.check-same-wrap {
    flex: auto;
    width: 10%;
  }
}