@charset "UTF-8";
/************************************************************************************/
/*************************************** Form ***************************************/
/************************************************************************************/
*:disabled {
  opacity: 0.5;
  cursor: default;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 5px;
}

input::-webkit-input-placeholder {
  color: var(--gray-7c);
  font-weight: 300;
}

input::-moz-placeholder {
  color: var(--gray-7c);
  font-weight: 300;
}

input:-ms-input-placeholder {
  color: var(--gray-7c);
  font-weight: 300;
}

input::-ms-input-placeholder {
  color: var(--gray-7c);
  font-weight: 300;
}

input::placeholder {
  color: var(--gray-7c);
  font-weight: 300;
}

input[type=checkbox],
input[type=radio] {
  overflow: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
  font-size: 1px;
  line-height: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  margin: -1px;
  padding: 0;
  border: 0;
}

input[type=checkbox] + label {
  font-size: 1.8rem;
  font-weight: 600;
  padding-left: 30px;
  position: relative;
}
input[type=checkbox] + label::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--white) url("/images/common/unchecked.png") no-repeat center;
  margin-right: 1rem;
  display: block;
  position: absolute;
  top: 2px;
  left: 0;
}
input[type=checkbox]:checked + label::before {
  outline: 1px solid var(--point-color);
  background: var(--point-color) url("/images/common/checked.png") no-repeat center;
}

input[type=radio] + label {
  margin-right: 2rem;
  padding-left: 36px;
  position: relative;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
input[type=radio] + label::before, input[type=radio] + label::after {
  content: "";
  border-radius: 50%;
  display: block;
  position: absolute;
}
input[type=radio] + label::before {
  width: 28px;
  height: 28px;
  background: var(--white);
  left: 0;
  border: 1px solid var(--border-color);
}
input[type=radio]:checked + label::before {
  border: 1px solid var(--point-color);
}
input[type=radio]:checked + label::after {
  width: 14px;
  height: 14px;
  background: var(--point-color);
  top: 7px;
  left: 7px;
}

select::-ms-expand {
  display: none;
}

select {
  background: url("/images/common/arw_select.svg") no-repeat center right 1em/12px 6px;
  border-radius: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input.error,
select.error,
textarea.error {
  border-color: var(--bs-danger) !important;
}
input.valid,
select.valid,
textarea.valid {
  border-color: var(--bs-success) !important;
}
input.error ~ label.error,
select.error ~ label.error,
textarea.error ~ label.error {
  position: absolute;
  width: auto;
  top: 100%;
  z-index: 5;
  display: block !important;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: 0.1rem;
  font-size: 1.4rem !important;
  color: #fff;
  background-color: var(--bs-danger);
  border-radius: var(--bs-border-radius);
}

label.error {
  font-size: 1.4rem !important;
  color: #fff;
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-danger);
  padding: 0.25rem 0.5rem;
  display: block;
}

/* 파일박스 */
.filebox_wrap {
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--white);
  padding: 2em 1em;
  cursor: pointer;
}
.filebox_wrap input[type=file] {
  width: 1px;
  height: 1px;
  border: 0;
  padding: 0;
  margin: -1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.filebox_wrap .drop_message {
  font-size: 2em;
  margin-bottom: 0.5em;
}
.filebox_wrap .progress {
  font-size: 1.3rem;
  height: 20px;
  margin: 2em 0;
}
.filebox_wrap .bar {
  width: 0%;
  height: 20px;
  border-radius: 5px;
  background-color: var(--percent-color);
}
.filebox_wrap .percent {
  position: absolute;
  display: inline-block;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.filebox_wrap .file-item {
  margin: 0 4px;
}
.filebox_wrap .file-item .file-item-thumb {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-top: 100%;
  margin-bottom: 5px;
}
.filebox_wrap .file-item .file-item-thumb.thumbnail {
  -webkit-box-shadow: 0 0 0 3px #4872f4 inset;
          box-shadow: 0 0 0 3px #4872f4 inset;
}
.filebox_wrap .file-item .btn {
  min-width: 10em;
  font-size: 1.6rem;
  color: var(--white) !important;
  border: none;
}
