html,
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  --primary-color: #358AE3;
  font-family: 'Pretendard', system-ui, sans-serif;
}
textarea {
  font-family: 'Pretendard', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

:root {
  --primary1-color: #CDE2F8;
  --primary2-color: #9AC5F1;
  --primary3-color: #68A7EA;
  --primary-color: #358AE3;
  --primary5-color: #036DDC;
  --primary6-color: #0257B0;
  --primary7-color: #024184;
  --primary8-color: #012C58;
  --primary9-color: #01162C;

  --orange1-color: #FFE9CD;
  --orange2-color: #FFD39B;
  --orange3-color: #FEBE68;
  --orange-color: #FEA836;
  --orange5-color: #FE9204;
  --orange6-color: #CB7503;
  --orange7-color: #985802;
  --orange8-color: #663A02;
  --orange9-color: #331D01;

  --gray0-color: #F8F8F8;
  --gray1-color: #E8E8E8;
  --gray2-color: #D1D1D1;
  --gray3-color: #BBBBBB;
  --gray-color: #A4A4A4;
  --gray5-color: #8D8D8D;
  --gray6-color: #717171;
  --gray7-color: #555555;
  --gray8-color: #383838;
  --gray9-color: #1C1C1C;

  --red1-color: #F8D2D4;
  --red2-color: #F0A5A9;
  --red3-color: #E9787E;
  --red-color: #E14B53;
  --red5-color: #DA1E28;
  --red6-color: #AE1820;
  --red7-color: #831218;
  --red8-color: #570C10;
  --red9-color: #2C0608;
}

.header {
  width: 100%;
  height: 72px;
  padding: 0 30px 0 30px;
  gap: 0;
  opacity: 1;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
}

.content {
  flex: 1;
  padding: 40px 70px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content > h1 {
  margin: 0;
}

.content > .description {
  padding: 30px;
  background-color: #f6fbfe;
  border: 1px solid #dddddd;
  font-size: 14px;
  color: #717171;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 8px;
}

.content > .description > .sub {
  background-color: white;
  padding: 20px;
  display: flex;
  gap: 10px;
}

.content > .description > .sub > .sub-content {
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content > .description > .sub > .sub-content > .sub-li {
  display: flex;
  gap: 8px;
  color: #161616;
  font-weight: 500;
}

.content > .description > .sub > .sub-content > .sub-li > div {
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.content > .description > .sub > .sub-content > .sub-li .sub-desc {
  color: #717171;
}

.content > .description > .sub > .sub-header {
  color: var(--primary-color);
  font-weight: 600;
}

.description .link {
  color: var(--primary-color);
  cursor: pointer;
}

.footer {
  color: #717171;
  background-color: #f7f7f7;
  border-top: 1px solid #dddddd;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #dddddd;
  border-left: none;
  border-right: none;
  box-sizing: border-box;
}

table td.label {
  font-weight: 400;
  color: #717171;
  max-width: 200px;
  background-color: #f9f9f9;
  font-size: 14px;
}


table tr {
  border-bottom: 1px solid #dddddd;
}
table td {
  padding: 10px;
}

td > input,
textarea {
  width: 100%;
}

input,
textarea {
  border: 1px solid #dddddd;
  padding: 9.5px 10px;
  border-radius: 2px;
  resize: none;
}

input::placeholder {
  color: #999999;
  font-size: 14px;
  font-weight: 400;
}

input.disabled {
  background-color: rgba(239, 239, 239, 0.3);
}

textarea::placeholder {
  color: #999999;
  font-size: 14px;
  font-weight: 400;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
}

label {
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  font-size: 15px;
}

.w240 {
  width: 240px;
}

.w100 {
  width: 100%;
}

.w200 {
  width: 200px;
}

.h48 {
  height: 48px;
}

.mb10 {
  margin-bottom: 10px;
}

button {
  cursor: pointer;
  border: none;
  background-color: var(--primary-color);
  color: white;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  padding: 9.5px 12px;
  border-radius: 2px;
}

.alert {
  color: var(--red-color);
  font-size: 14px;
}

.center {
  display: flex;
  width: auto;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

input::file-selector-button {
  display: none;
}

input[type="radio"] {
  display: none;
}

input[type="radio"] + label {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  user-select: none;
}

#file-upload-button {
  display: none;
}

input[type="radio"] + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 1px solid #cccccc;
  border-radius: 50%;
  background-color: white;
}

input[type="radio"]:checked + label::before {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

input[type="radio"]:checked + label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: white;
}

form {
  display: contents;
}

button:disabled {
  background-color: #dddddd;
  color: #999999;
}

@media (max-width: 786px) {
  .content {
    padding: 0px 0px 20px 0px;
  }

  .content > * {
    margin: 0px 20px;
  }

  .content > .description {
    padding: 20px;
    font-size: 14px;
  }

  .content > .description > .sub {
    padding: 16px;
  }

  .content > .description > .sub .sub-desc {
    font-size: 12px;
    font-weight: 400;
  }

  h1 {
    padding: 12px;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0px;
    background-color: white;
    box-shadow: 0px 2px 3px 0px #00000014;
    z-index: 1;
    font-size: 16px;
  }

  .header {
    display: none;
  }

  input,
  textarea {
    border: none;
    border-bottom: 1px solid #dddddd;
  }

  textarea {
    background-color: #f7f7f7;
  }

  .center > .w200.h48 {
    width: 100%;
  }

  table {
    display: flex;
    border: none;
    flex-direction: column;
  }

  table tr {
    border: none;
  }

  table td.label {
    width: 100%;
    background-color: transparent;
    font-weight: 500;
    color: #161616;
  }

  tr {
    display: flex;
    flex-direction: column;
  }

  /* .td-content > .row {
    display: flex;
    flex-direction: column;
    align-items: start;
  } */

  .w100 {
    flex: auto;
  }

  .w240 {
    width: 100%;
  }

  label[for="radio-2"] {
    display: none;
  }

  .td-content {
    display: flex;
    flex-wrap: wrap;
  }

  tbody {
    display: flex;
    flex-direction: column;
  }
}

.inputBlock--btn img {
  width: 20px; /* 원하는 너비로 설정 */
  height: 20px; /* 원하는 높이로 설정 */
  object-fit: contain; /* 이미지 비율 유지 */
  display: inline-block; /* 기본적인 inline 속성 */
  vertical-align: middle;
}

.help-message{
  position: relative;
  cursor: pointer;
  width: 14px;
  height: 14px;
  background-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 7.43605C0 7.14423 0 6.85268 0 6.56086C0.00822028 6.51647 0.0175366 6.47263 0.0243868 6.42797C0.0764486 6.09094 0.104946 5.74842 0.183038 5.41769C1.06836 1.66404 4.71762 -0.641473 8.4973 0.158087C11.5928 0.812969 13.9073 3.57416 14.0005 6.73513C14.055 8.58113 13.4856 10.2156 12.2693 11.6078C11.1889 12.845 9.82871 13.6059 8.20904 13.8936C7.95449 13.9388 7.69665 13.9649 7.44045 13.9999H6.56499C6.52991 13.9923 6.49539 13.9802 6.46004 13.9775C5.06479 13.867 3.809 13.3892 2.70886 12.5252C1.29278 11.413 0.420056 9.96707 0.104672 8.19149C0.060008 7.94132 0.0342512 7.68786 0 7.43605ZM6.91791 3.48456C6.53951 3.48346 6.17233 3.54292 5.83558 3.72322C5.45936 3.92462 5.16727 4.20082 5.10699 4.65102C5.07273 4.90776 5.20097 5.11217 5.43634 5.20095C5.68925 5.29658 5.86983 5.25 6.01916 5.00367C6.25317 4.61759 6.59814 4.50305 7.02094 4.53867C7.37578 4.56854 7.62513 4.73623 7.69445 5.0012C7.75282 5.22424 7.70596 5.43688 7.55718 5.6032C7.3977 5.78185 7.2196 5.94927 7.02724 6.09176C6.44278 6.52497 6.22741 7.10724 6.29098 7.81281C6.31454 8.07367 6.42661 8.19149 6.68637 8.21149C6.79844 8.22026 6.91517 8.21423 7.02532 8.19286C7.23302 8.15231 7.32509 8.02955 7.32975 7.81719C7.33167 7.73527 7.33084 7.65306 7.33386 7.57113C7.34427 7.28945 7.44839 7.0486 7.65582 6.85597C7.73583 6.78171 7.8205 6.71211 7.90517 6.64334C8.21178 6.39426 8.48388 6.11587 8.67349 5.76459C9.10807 4.959 8.82913 4.10574 8.00408 3.71226C7.65993 3.54813 7.29495 3.48675 6.91709 3.48429L6.91791 3.48456ZM6.0978 9.54921C6.09177 9.94625 6.40497 10.2742 6.79214 10.2764C7.17439 10.2786 7.49744 9.9594 7.50183 9.57524C7.50621 9.18724 7.19548 8.86446 6.81132 8.85788C6.4236 8.85131 6.10356 9.16121 6.0978 9.54948V9.54921Z" fill="%23D5D5D5"/></svg>');

> div {
  display: none;
}

&:hover{
> div {
  display: inline;
}
}

> div {
  top: 20px;
  width: max-content;
  position: absolute;
  background-color: white;
  padding: 14.5px 16px ;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid #DDDDDD;
  opacity: 0;
  box-shadow: 0px 4px 10px 0px #00000033;
  left: -21px;
  font-size: 12px;
  color: #161616;
}
}

.check-prefix {
  margin-left: -22px;
}

.check-prefix::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('/assets/images/common/small_check-b6ec2f470569630b516f9dacff624873.png');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 6px;
  vertical-align: middle;
}
