[data-wv-res-id='___lms_btn_style_1___-1___1606208813703___']:disabled {
  background-color: #f7f8fd;
  border-color: #e9f0f3;
  color: #bbbbbb;
  cursor: not-allowed;
}

.popup_contents .potal-btn-group {
  justify-content: center;
}

/* theme.common.css */
.lms_popup_style_1_wrap .popup_inner .popup_contents_con.type_4 {
  padding-left: 30px;
  padding-right: 30px;
}

.lms_popup_style_1_wrap .popup_inner .popup_contents_con .popup_contents.type_form .popup_contents_desc_con .popup_form_list_box:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

.lms_popup_style_1_wrap .popup_inner .popup_header_con .popup_title {
  z-index: 0;
}

.lms_popup_style_1_wrap .popup_inner .popup_header_con .popup_title::after {
  z-index: -1;
}

.d-flex {
  display: flex;
  gap: 7px;
}

.justify-center {
  justify-content: center;
}

.checkbox-flex {
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 768px) {
  .d-flex {
    flex-direction: column;
  }

  .checkbox-flex {
    flex-direction: row;
  }

  .checkbox-flex>* {
    flex: 0 1 48%;
  }
}

.text-underline,
.text-underline:hover,
.text-underline:focus {
  outline: 0;
  border: 0;
  background: transparent;
  text-decoration: underline !important;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 500;
}

.text-gray {
  color: #666;
}

/* 250828 기능고도화 관련 스타일 추가 */
.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.course-request-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.potal-btn-group {
  display: flex;
  gap: 12px;
}

.potal-btn-group.f-column {
  flex-direction: column;
  gap: 5px;
}

.potal-btn {
  padding: 0;
  border: 0;
  background: transparent;
}

.potal-btn-primary-fill {
  background-color: #2dbfee;
  position: relative;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-size: 15px;
  line-height: 2.1rem;
  letter-spacing: -0em;
  font-weight: 500;
  color: #fff;
  box-sizing: border-box;
  padding: 11px 17px 9px 20px;
}

.potal-btn-primary-outline {
  border: 1px solid;
  border-color: #2dbfee;
  color: #2dbfee;
  position: relative;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-size: 15px;
  line-height: 2.1rem;
  letter-spacing: -0em;
  font-weight: 500;
  box-sizing: border-box;
  padding: 11px 17px 9px 17px;
}

.potal-btn-primary2-fill {
  background-color: #00c7bd;
  position: relative;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-size: 15px;
  line-height: 2.1rem;
  letter-spacing: -0em;
  font-weight: 500;
  color: #fff;
  box-sizing: border-box;
  padding: 11px 17px 9px 20px;
}

.potal-btn-primary2-outline {
  border: 1px solid;
  border-color: #00c7bd;
  color: #00c7bd;
  position: relative;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-size: 15px;
  line-height: 2.1rem;
  letter-spacing: -0em;
  font-weight: 500;
  box-sizing: border-box;
}

.potal-btn-sm {
  padding: 5px 12px;
  min-width: auto;
  font-size: 1.4rem;
}

.potal-btn-secondary-fill {
  position: relative;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-size: 15px;
  line-height: 2.1rem;
  letter-spacing: -0em;
  font-weight: 500;
  color: #fff;
  box-sizing: border-box;
  padding: 11px 17px 9px 17px;
  background-color: #000;
  background-color: #fff;
  color: #a29ebb;
  border: 1px solid #e9f0f3;
}

.potal-btn-secondary-outline {
  border: 1px solid;
  border-color: #e9f0f3;
  color: #a29ebb;
  position: relative;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-size: 15px;
  line-height: 2.1rem;
  letter-spacing: -0em;
  font-weight: 500;
  box-sizing: border-box;
  padding: 11px 17px 9px 17px;
}

/* 공통 테이블 레이아웃 (반응형) */
.potal-table-wrapper {
  width: 100%;
  overflow: hidden;
}

.potal-table-wrapper .potal-table-controls {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.potal-table-wrapper .potal-table-controls .control-right {
  margin-left: auto;
}

.potal-table-wrapper .potal-table-controls .count {
  font-size: 1.5rem;
  font-family: 'GongGothic';
}

.potal-table-wrapper .potal-table-controls .count strong {
  font-weight: 500;
}

.potal-table-wrapper .potal-table-scroll {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.potal-table-wrapper .potal-table-inner {
  min-width: 100%;
  padding: 0;
  min-width: 1170px;
}

.potal-table-wrapper .potal-table-list {
  width: 100%;
  min-width: 1000px;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1.4rem;
}

.potal-table-wrapper .potal-table-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 목록 테이블 */
.potal-table-list .potal-table-head .potal-table-row {
  border-bottom: 1px solid #e9f0f3;
}

.potal-table-list .potal-table-head .potal-table-row .potal-table-header {
  position: relative;
  padding: 12px 12px;
  text-align: center;
  font-weight: 500;
  color: #00c7bd;
  background: #fff;
  white-space: nowrap;
  vertical-align: middle;
}

.potal-table-list .potal-table-head .potal-table-row .potal-table-header:last-child {
  border-right: none;
}

.potal-table-list [data-wv-res-id='___lms_checkbox_style_0___-1___1605682452058___'].type_3 input~label {
  display: block;
  height: 2.2rem;
  padding-left: 2.2rem;
}

.potal-table-list .potal-table-body .potal-table-row {
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
}

.potal-table-list .potal-table-body .potal-table-cell {
  padding: 18px 7px;
  text-align: center;
  vertical-align: middle;
  color: #495057;
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 300;
  background: #fff;
}

.potal-table-list .potal-table-body .potal-table-cell:last-child {
  border-right: none;
}

.potal-table-list .potal-table-body .potal-table-cell.tl {
  text-align: left;
}

.potal-table-list .potal-table-body .potal-table-cell.tr {
  text-align: right;
}

.potal-table-list .potal-table-body .potal-table-cell .potal-btn {
  min-width: 90px;
}

.potal-table-list .potal-table-body .potal-table-cell .potal-btn-sm {
  padding: 5px 12px;
  font-size: 1.4rem;
}

.potal-table-list .potal-table-body .potal-table-cell .lms_check_box_style_0_con input~label {
  width: 22px;
  height: 22px;
  text-align: left;
  margin: 0 auto;
  padding-left: 0;
}

.potal-table-list .potal-table-body .potal-table-cell .lms_check_box_style_0_con input~label::before {
  left: unset;
}

.potal-table-list .potal-table-body .potal-table-cell .instructor-signature {
  border: 0;
  height: auto;
}

.potal-table-list .potal-table-body .potal-table-cell .sportFoundation_select_style_0_wrap {
  position: relative;
}

/* 빈 테이블 상태 */
.potal-table-list .potal-table-body .potal-empty-row {
  background-color: #f8f9fa;
}

.potal-table-list .potal-table-body .potal-empty-row .potal-empty-cell {
  padding: 40px 20px;
  text-align: center;
  color: #6c757d;
}

/* 반응형 디자인 - 카드형 변환 */
@media (max-width: 1024px) {
  .potal-table-list {
    min-width: 900px;
  }
}

@media (max-width: 768px) {

  /* 테이블을 카드 형식으로 변환 */
  .potal-table-wrapper .potal-table-scroll {
    overflow-x: visible;
  }

  .potal-table-wrapper .potal-table-inner {
    min-width: auto;
  }

  .potal-table-wrapper .potal-table-controls {
    margin-bottom: 16px;
  }

  .potal-table-wrapper .potal-table-controls.mo-column {
    flex-direction: column;
  }

  .potal-table-wrapper .potal-table-list {
    min-width: auto;
    display: block;
    font-size: 12px;
  }

  .potal-table-list .potal-table-head {
    overflow: hidden;
    position: absolute;
    clip: rect(0, 0, 0, 0);
    clip-path: polygon(0 0, 0 0, 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    white-space: nowrap;
  }

  .potal-table-list .potal-table-body {
    display: block;
  }

  .potal-table-list .potal-table-body .potal-table-row {
    display: block;
    margin-bottom: 16px;
    border: 1px solid #eceaf7;
    border-radius: 8px;
    padding: 16px 20px;
    background: white;
    position: relative;
  }

  .potal-table-list .potal-table-body .potal-table-row:last-child {
    margin-bottom: 0;
  }

  .potal-table-list .potal-table-head .potal-table-header,
  .potal-table-list .potal-table-body .potal-table-cell {
    padding: 12px 10px;
  }

  .potal-table-list .potal-table-body .potal-table-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5px 0;
    padding-left: 110px;
    border: none;
    text-align: left;
    font-size: 1.4rem;
    min-height: 17px;
  }

  .potal-table-list .potal-table-body .potal-table-cell:not([data-label]) {
    padding-left: 0;
  }

  .potal-table-list .potal-table-body .potal-table-cell:not([data-label])::before {
    display: none;
  }

  .potal-table-list .potal-table-body .potal-table-cell:last-child {
    border-bottom: none;
  }

  .potal-table-list .potal-table-body .potal-table-cell::before {
    content: attr(data-label);
    position: absolute;
    top: 5px;
    left: 0;
    font-weight: 600;
    color: #495057;
    width: 100px;
    font-size: 1.4rem;
  }

  .potal-table-list .potal-table-body .potal-table-cell .view-link {
    padding-right: 1.8rem;
  }

  .potal-table-list .potal-table-body .potal-table-cell .view-link:after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 18L15 12L9 6' stroke='%23999999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    width: 1.8rem;
    height: 1.8rem;
    background-size: 1.8rem 1.8rem;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 12px;
  }

  .potal-table-list .potal-table-body .potal-table-cell .potal-btn-primary-outline {
    width: 100%;
  }

  .potal-table-list .potal-table-body .potal-table-cell .instructor-signature:has(img) {
    border: 1px solid #ddd;
  }

  /* rowspan으로 tr을 많이 묶는 경우, tbody로 하나의 그룹으로 사용할 것 */
  .potal-table-list .potal-table-body.potal-body-group {
    padding: 16px 20px;
    border: 1px solid #eceaf7;
    border-radius: 8px;
  }

  .potal-table-list .potal-table-body.potal-body-group+.potal-table-body {
    margin-top: 16px;
  }

  .potal-table-list .potal-table-body.potal-body-group .potal-table-row {
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .potal-table-list .potal-table-body.potal-body-group .potal-table-row+.potal-table-row {
    border-top: 1px solid #e9f0f3;
    padding-top: 10px;
  }
}

/* 상세 테이블 */
.potal-table-wrapper .potal-table-detail {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1.4rem;
  table-layout: fixed;
}

.potal-table-detail .potal-table-head .potal-table-row {
  border-top: 1px solid #e9f0f3;
  border-bottom: 1px solid #e9f0f3;
}

.potal-table-detail .potal-table-head .potal-table-row .potal-table-header {
  position: relative;
  padding: 12px 12px;
  text-align: center;
  font-weight: 400;
  color: #00c7bd;
  background: #fff;
  white-space: nowrap;
  vertical-align: middle;
}

.potal-table-detail .potal-table-head .potal-table-row .potal-table-header:last-child {
  border-right: none;
}

.potal-table-detail .potal-table-body .potal-table-row {
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
}

.potal-table-detail .potal-table-body .potal-table-cell {
  padding: 18px 15px;
  vertical-align: middle;
  color: #495057;
  font-size: 1.4rem;
  font-weight: 300;
  background: #fff;
}

.potal-table-detail .potal-table-body th.potal-table-cell {
  font-weight: 500;
  color: #353a40;
  background-color: #f7f8fd;
  text-align: center;
}

.potal-table-detail .potal-table-body .potal-table-cell.tl {
  text-align: left;
}

.potal-table-detail .potal-table-body .potal-table-cell.tr {
  text-align: right;
}

.potal-table-detail .potal-table-body .potal-table-cell .potal-btn {
  min-width: 103px;
}

.potal-table-detail .potal-table-body .potal-table-cell .potal-btn-sm {
  padding: 5px 12px;
  font-size: 1.4rem;
}

/* 빈 테이블 상태 */
.potal-table-detail .potal-table-body .potal-empty-row {
  background-color: #f8f9fa;
}

.potal-table-detail .potal-table-body .potal-empty-row .potal-empty-cell {
  padding: 40px 20px;
  text-align: center;
  color: #6c757d;
}

@media screen and (max-width: 768px) {

  /* 테이블을 카드 형식으로 변환 */
  .potal-table-wrapper .potal-table-detail {
    min-width: auto;
    display: block;
    font-size: 12px;
  }

  .potal-table-detail .potal-table-head {
    overflow: hidden;
    position: absolute;
    clip: rect(0, 0, 0, 0);
    clip-path: polygon(0 0, 0 0, 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    white-space: nowrap;
  }

  .potal-table-detail .potal-table-body {
    display: block;
    border: 1px solid #eceaf7;
    border-radius: 8px;
    padding: 16px 20px;
    background: white;
    position: relative;
  }

  .potal-table-detail .potal-table-body .potal-table-row {
    display: block;
    border: 0;
  }

  .potal-table-detail .potal-table-body .potal-table-row:last-child {
    margin-bottom: 0;
  }

  .potal-table-detail .potal-table-head .potal-table-header,
  .potal-table-detail .potal-table-body .potal-table-cell {
    padding: 12px 10px;
  }

  .potal-table-detail .potal-table-body .potal-table-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    padding-left: 115px;
    border: none;
    text-align: left;
    font-size: 1.4rem;
  }

  .potal-table-detail .potal-table-body th.potal-table-cell {
    display: none;
  }

  .potal-table-detail .potal-table-body .potal-table-cell:last-child {
    border-bottom: none;
  }

  .potal-table-detail .potal-table-body .potal-table-cell::before {
    content: attr(data-label);
    position: absolute;
    top: 10px;
    left: 0;
    font-weight: 600;
    color: #495057;
    width: 100px;
    font-size: 1.4rem;
    word-break: keep-all;
  }

  .potal-table-detail .potal-table-body .potal-table-cell .view-link {
    padding-right: 1.8rem;
  }

  .potal-table-detail .potal-table-body .potal-table-cell .view-link:after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 18L15 12L9 6' stroke='%23999999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    width: 1.8rem;
    height: 1.8rem;
    background-size: 1.8rem 1.8rem;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 12px;
  }

  .potal-table-detail .potal-table-body .potal-table-cell .potal-btn-primary-outline {
    width: 100%;
  }
}

@media screen and (max-width: 360px) {
  .potal-table-detail .potal-table-body .potal-table-cell {
    padding-top: 50px;
    padding-left: 0;
  }
}

/* 서명 UI */
.signature-container {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.signature-canvas {
  display: block;
  width: 100%;
  max-width: 200px;
  max-height: 70px;
  border: 1px solid #ddd;
  cursor: crosshair;
  transition: all 0.3s ease;
  background: #fafafa;
  box-sizing: border-box;
}

.signature-canvas:disabled,
.signature-canvas.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
  border-color: #6c757d;
  background: #e9ecef;
}

.signature-canvas.hidden {
  display: none;
}

.signature-controls {
  display: flex;
  gap: 5px;
}

.signature-controls .potal-btn {
  min-width: 105px;
}

.signature-controls .potal-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.instructor-signature {
  max-width: 200px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
}

.instructor-signature:empty {
  display: none;
}

.instructor-signature img {
  max-width: 100%;
  max-height: 100%;
}

@media (max-width: 1024px) {
  .signature-container {
    flex-direction: column;
  }
}

/* 첨부한 이미지 프리뷰 */
.attach-file-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.attach-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.attach-file-item {
  position: relative;
  width: 49%;
}

.attach-file-item.is-full {
  width: 100%;
}

.attach-file-item.is-full .attach-file-preview {
  aspect-ratio: 5 / 2;
  border: 1px solid #ddd;
}

.attach-file-preview {
  width: 100%;
  aspect-ratio: 5 / 3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}

.attach-file-preview img {
  width: 100%;
  object-fit: cover;
}

.attach-file-name>span {
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attach-file-delete {
  border: 0;
  padding: 0;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  width: 22px;
  height: 22px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.attach-file-delete::before {
  content: '';
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6L6 18M6 6L18 18' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  width: 12px;
  height: 12px;
  background-size: 12px 12px;
}

@media screen and (max-width: 768px) {
  .attach-file-wrap {
    flex-direction: column;
  }

  .attach-file-item {
    width: 100%;
  }

  .attach-file-preview {
    width: 100%;
  }

  .attach-file-item.is-full .attach-file-preview {
    aspect-ratio: auto;
  }
}

/* 수강생/강사 권한변경 */
.auth-list {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.auth-item {
  position: relative;
}

.auth-item::after {
  content: '';
  position: absolute;
  bottom: -0.5px;
  right: -0.5px;
  width: 0;
  height: 0;
  border-right: 18px solid #fff;
  border-top: 24px solid transparent;
}

.auth-item button {
  outline: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 9.6rem;
  padding: 12px 13px 12px 12px;
  font-size: 1.6rem;
  box-sizing: border-box;
  background-color: #e9f0f3;
  font-weight: 600;
  color: #353a40;
  text-align: center;
  cursor: pointer;
}

.auth-item.active {
  position: relative;
}

.auth-item.active button {
  background: #2cca7e;
  color: #fff;
}





/* 추가된 부분 251127: 프린트 미리보기 팝업 스타일 */
/* 팝업 컨텐츠 래퍼 (스크롤 가능 영역) */
.print-preview-contents-wrapper {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding: 20px;
}

/* 프린트 미리보기 컨테이너 */
.print-preview-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* 프린트 미리보기 컨텐츠 영역 */
.print-preview-content {
  width: 100%;
  background: #fff;
}

/* A4 용지 크기 기준 페이지 레이아웃 (화면 미리보기용) */
.print-report-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 210mm;
  min-height: 297mm;
  margin: 0 auto 20px;
  padding: 20mm;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* 프린트 리포트 헤더 및 타이틀 */
.print-report-header {
  text-align: center;
  margin-bottom: 25px;
  flex-shrink: 0;
}

.print-report-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

/* 프린트 리포트 테이블 스타일 */
.print-report-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom: 25px;
  border: 1px solid #e9ecef;
  flex-shrink: 0;
}

.print-report-table th,
.print-report-table td {
  padding: 12px;
  border: 1px solid #e9ecef;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.6;
}

.print-report-table th {
  background: #f5f5f5;
  font-weight: bold;
}

.print-report-section-item {
  margin-bottom: 15px;
  flex-shrink: 0;
}

.print-report-section-item:last-child {
  margin-bottom: 0;
}

.print-report-section-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: bold;
}

.print-report-section-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}

.print-report-page-break {
  page-break-before: always;
  break-before: page;
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
}

.print-report-photos {
  margin-top: 30px;
}

.print-report-photos-label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
}

.print-report-photos-grid {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.print-report-photo-item {
  flex: 1;
  width: 50%;
}

.print-report-photo-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ddd;
}

.print-report-signature {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: 40px;
  text-align: right;
  position: relative;
}

.print-report-signature-label {
  font-size: 14px;
  margin-bottom: 10px;
}

.print-report-signature-img {
  display: inline-block;
  height: 70px;
}

.print-report-signature-img img {
  max-width: 100%;
  max-height: 100%;
}

.print-report-header-info {
  margin-top: 10px;
  font-size: 16px;
}

.print-report-section-label {
  margin-top: 20px;
  font-size: 16px;
}

.print-report-table-fixed {
  margin-top: 10px;
  table-layout: fixed;
  width: 100%;
}

.print-report-table th.text-center,
.print-report-table td.text-center {
  text-align: center;
}

.print-report-table th.text-right,
.print-report-table td.text-right {
  text-align: right;
}

.print-report-table th.vertical-middle {
  vertical-align: middle;
}

.print-report-table td.vertical-middle {
  vertical-align: middle;
}

.print-report-signature-note {
  font-size: 10px;
}

.print-report-calculation-section {
  margin-top: 30px;
}

.print-report-calculation-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.print-report-calculation-image {
  border: 1px solid #000;
  padding: 10px;
  min-height: 200px;
}

.print-report-calculation-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.print-report-date {
  margin-top: 30px;
  text-align: center;
  font-size: 16px;
}

.print-report-footnotes {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.8;
}

.print-report-table-margin-top {
  margin-top: 30px;
}

/* 지급조서 팝업 테이블 스타일 (acdm-table-detail과 동일한 스타일 적용) */
.payment-voucher-info-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1.4rem;
  table-layout: fixed;
  margin-bottom: 20px;
}

.payment-voucher-info-table thead tr {
  border-top: 1px solid #e9f0f3;
  border-bottom: 1px solid #e9f0f3;
}

.payment-voucher-info-table thead th {
  padding: 18px 15px;
  vertical-align: middle;
  font-weight: 500;
  color: #353a40;
  background-color: #f7f8fd;
  text-align: center;
  border: 1px solid #e9ecef;
}

.payment-voucher-info-table tbody tr {
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
}

.payment-voucher-info-table tbody td {
  padding: 18px 15px;
  vertical-align: middle;
  color: #495057;
  font-size: 1.4rem;
  font-weight: 300;
  background: #fff;
  border: 1px solid #e9ecef;
}

.payment-voucher-info-table tbody th {
  padding: 18px 15px;
  vertical-align: middle;
  font-weight: 500;
  color: #353a40;
  background-color: #f7f8fd;
  text-align: center;
  border: 1px solid #e9ecef;
}

.payment-voucher-info-table tbody td.text-center {
  text-align: center;
}

.payment-voucher-info-table tbody td.text-right {
  text-align: right;
}

.payment-voucher-info-table tbody td.vertical-middle {
  vertical-align: middle;
}

.payment-voucher-info-table tbody th.vertical-middle {
  vertical-align: middle;
}

/* 인쇄 시 스타일 (acdm-table-detail 인쇄 스타일과 동일) */
/* 추가된 부분 251127: 프린트 스타일 개선 */
/* 프린트 시 모든 폰트 크기를 12px로 통일 및 보더 색상 화면과 동일하게 조정 */
@media print {

  /* 페이지 설정 - 여백 최소화 */
  @page {
    size: A4;
    margin: 5mm;
  }

  /* 전역 스타일 초기화 */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* body와 html 초기화 */
  body,
  html {
    margin: 0;
    padding: 0;
    background: #fff;
    width: 100%;
    height: auto;
    font-family: "맑은 고딕", "Malgun Gothic", sans-serif;
    font-size: 12px !important;
    line-height: 1.6;
  }

  /* 모든 요소 숨기기 */
  body:has(#print-container-temp)>*:not(#print-container-temp) {
    display: none !important;
  }

  /* 인쇄용 임시 컨테이너 표시 */
  #print-container-temp {
    display: block !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    background: #fff;
    margin: 0;
    padding: 0;
  }

  /* 임시 컨테이너 내부의 모든 요소 표시 */
  #print-container-temp>* {
    display: block !important;
  }

  /* print-preview-content 영역 표시 */
  .print-preview-content {
    display: block !important;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
  }

  /* 모든 print-report-page 관련 요소의 box-shadow 제거 */
  .print-report-page,
  .print-report-page *,
  #print-container-temp * {
    box-shadow: none !important;
  }

  /* 인쇄 영역 스타일 - A4 크기, 여백 최소화 */
  .print-report-page {
    display: block !important;
    position: relative;
    width: 200mm;
    /* @page margin 5mm * 2 = 10mm 제외 */
    min-height: auto !important;
    /* 빈 페이지 방지 - 내용에 맞게 자동 조정 */
    margin: 0 auto;
    padding: 10mm;
    /* 여백 최소화 */
    box-shadow: none !important;
    /* 프린트 시 box-shadow 제거 */
    border: none !important;
    page-break-after: always;
    break-after: page;
    font-family: "맑은 고딕", "Malgun Gothic", sans-serif !important;
    font-size: 12px;
    line-height: 1.6;
    background: #fff;
    overflow: visible;
    box-sizing: border-box;
  }

  /* 마지막 페이지는 페이지 나누기 제거 및 빈 페이지 방지 */
  .print-report-page:last-of-type {
    page-break-after: auto !important;
    break-after: auto !important;
    min-height: auto !important;
  }

  /* 빈 페이지 방지 - 내용이 없는 페이지는 표시하지 않음 */
  .print-report-page:empty {
    display: none !important;
  }

  /* 모든 프린트 리포트 요소에 12px 폰트 크기 적용 */
  .print-report-page,
  .print-report-page *,
  .print-report-table,
  .print-report-table th,
  .print-report-table td,
  .acdm-table-wrapper,
  .acdm-table-detail,
  .acdm-table-detail th,
  .acdm-table-detail td,
  .acdm-table-body,
  .acdm-table-cell,
  .print-report-section,
  .print-report-section-item,
  .print-report-section-item p,
  .print-report-section-item strong,
  .print-report-signature,
  .print-report-signature-label,
  .print-report-photos,
  .print-report-photos-label,
  .print-report-header-info,
  .print-report-section-label,
  .print-report-calculation-title,
  .print-report-date,
  .print-report-footnotes,
  .print-report-signature-note {
    font-family: "맑은 고딕", "Malgun Gothic", sans-serif !important;
    font-size: 12px !important;
  }

  /* 타이틀 스타일 - 프린트 시 20px로 설정 */
  .print-report-title {
    font-size: 20px !important;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    font-family: "맑은 고딕", "Malgun Gothic", sans-serif !important;
  }

  .payment-voucher-info-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
  }

  .payment-voucher-info-table thead tr {
    border-top: 1px solid #e9f0f3;
    border-bottom: 1px solid #e9f0f3;
  }

  .payment-voucher-info-table tbody tr {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
  }

  .payment-voucher-info-table tbody th,
  .payment-voucher-info-table tbody td {
    font-size: 12px;
    padding: 8px;
    border: 1px solid #e9ecef;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .payment-voucher-info-table tbody th {
    background: #f5f5f5;
    font-weight: bold;
    text-align: center;
  }

  .payment-voucher-info-table thead th {
    font-size: 12px;
    padding: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    vertical-align: middle;
    background: #f5f5f5;
    font-weight: bold;
    color: #000;
  }

  .payment-voucher-info-table {
    page-break-inside: avoid;
  }

  .payment-voucher-info-table thead {
    display: table-header-group;
  }

  .payment-voucher-info-table tbody {
    display: table-row-group;
  }

  .payment-voucher-info-table tr {
    page-break-inside: avoid;
  }

  .print-report-page td img {max-width:90%;}
}

.certificate_style_0_wrap .certificate_top_con .certificate_title.type_activity{
  line-height: 55px;
}

.certificate_style_0_wrap .certificate_subject_info_con .certificate_subject_info .info_title.type_activity{
  width: 130px;
}

.certificate_style_0_wrap .certificate_bottom_con .representative.type_activity>img {
  right: 100px; 
}

@media print {
  .certificate_style_0_wrap .certificate_top_con .certificate_title.type_activity {
    font-size: 42px;
  }
  .certificate_style_0_wrap .certificate_subject_info_con .certificate_subject_info.type_activity{
    font-size: 15px;
    line-height: 21px;
  }
  .certificate_style_0_wrap.type_3 .certificate_contents_con .certificate_contents_text_box.type_activity{
    font-size: 18px;
    line-height: 36px;
  }
  .certificate_style_0_wrap .certificate_bottom_con .date.type_activity{
    font-size: 18px;
    line-height: 24px;
  }
  .certificate_style_0_wrap .certificate_bottom_con .representative.type_activity>span{
    font-size: 32px;
    line-height: 38px;
  }
}