@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
}

/* 폰트 적용 */
body {
  font-family: "Ubuntu", sans-serif;
}

.container {
  display: flex;
  width: 100%;
  height: 100%;
  margin-bottom: 160px;
}

.sections {
  width: 100%;
  padding: 16px;
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section-page {
  width: 100%;
  /* height: 560px; */
  outline: auto;
  outline-width: 1px;
  outline-color: #e6e6e6;
  padding: 20px;
  border-radius: 20px;
}

.section-page h2 {
  color: #000;
  font-size: 24px;
  margin-bottom: 24px;
  margin-top: 10px;
}

.section-page h3 {
  color: #666;
  font-size: 20px;
  margin: 10px 0 20px 0;
}

.articles {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-page .articleA {
  width: 100%;
  padding: 20px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-style: dashed;
  border-color: #9747ff;
  border-width: 1px;
  margin-bottom: 20px;
  /* outline-style: ; */
}

.section-page .articleB {
  width: 100%;
  margin-bottom: 100px;
}

.section-page .articleB table {
  width: 100%;
  border-collapse: collapse;
  font-size: 20px;
  margin-top: 30px;
}

.section-page .articleB th,
.section-page .articleB td {
  border-bottom: 2px solid #ccc; /* 가로선 */
  padding: 12px;
  text-align: center;
}

.section-page .articleB th:first-child,
.section-page .articleB td:first-child {
  width: 11.25%;
}

.section-page .articleB th:nth-child(2),
.section-page .articleB td:nth-child(2) {
  width: 11.25%;
  text-align: center;
}

.section-page .articleB th:nth-child(3),
.section-page .articleB td:nth-child(3) {
  width: 11.25%;
  text-align: center;
}

.section-page .articleB th:nth-child(4),
.section-page .articleB td:nth-child(4) {
  width: 11.25%;
  text-align: center;
}

.section-page .articleB th:nth-child(5),
.section-page .articleB td:nth-child(5) {
  width: 11.25%;
  text-align: center;
}

.section-page .articleB th:nth-child(6),
.section-page .articleB td:nth-child(6) {
  width: 11.25%;
  text-align: center;
}

.section-page .articleB th:nth-child(7),
.section-page .articleB td:nth-child(7) {
  width: 11.25%;
  text-align: center;
}

.section-page .articleB th:last-child,
.section-page .articleB td:last-child {
  width: 11.25%;
  text-align: center;
}

.section-page .articleC {
  margin-bottom: 20px;
}

.sectionB .tables {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.sectionB table {
  border-collapse: collapse;
  font-size: 20px;
  margin-top: 30px;
}

.sectionB .tableA {
  width: 20%;
}

.sectionB .tableB {
  width: 70%;
}

.sectionB th,
.sectionB td {
  border-bottom: 2px solid #ccc; /* 가로선 */
  padding: 8px;
  text-align: center;
  font-size: 18px;
}

.sectionB .tableA td:first-child {
  width: 50%;
}

.sectionB .tableA td:last-child {
  width: 50%;
  text-align: center;
}

.sectionB .tableB td:first-child {
  width: 20%;
}

.sectionB .tableB td:last-child {
  width: 80%;
  text-align: center;
}

.sections .btn-save-row {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
}

.sections .btn-save-row .btn-save {
  outline: auto;
  outline-width: 2px;
  outline-color: #2dcff5;
  padding: 8px 20px 8px 20px;
  border-radius: 6px;
  color: #2dcff5;
  margin-left: 20px;
}

.section-page .btn-upload {
  width: 140px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #629ffb;
  color: #fff;
  border-radius: 32px;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 0px;
}

.section-page .articleB .btn-upload {
  width: auto;
  padding-left: 16px;
  padding-right: 16px;
}

input[type="checkbox"].typeA {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background-color: #fff;
  appearance: none;
  border: 3px solid #000;
  transition: all 0.3s ease;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
}

input[type="checkbox"].typeA:checked {
  background-color: #000;
  border-color: #000;
  outline: none;
}

input[type="checkbox"].typeA:checked::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 5px;
  width: 6px;
  height: 12px;
  border: solid #ffbd05;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg); /* 체크 모양 만들기 */
}

input[type="checkbox"].typeB {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background-color: #fff;
  appearance: none;
  border: 2px solid #000;
  transition: all 0.3s ease;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
}

input[type="checkbox"].typeB:checked {
  background-color: #009b83;
  border-color: #000;
  outline: none;
  border: none;
}

input[type="checkbox"].typeB:checked::after {
  content: "";
  position: absolute;

  top: 1px;
  left: 4px;
  width: 6px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg); /* 체크 모양 만들기 */
}
