 body {
      margin: 0;
      padding: 20px;
      background: #fff;
    }
    #pdf-viewer {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    canvas {
      border: 1px solid #ccc;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
.tab-container button {
  flex: 1 0 14%;
  padding: 12px 0;
  text-align: center;
  background-color: #f1f1f1;
  color: #333;
  border: none;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s, color 0.2s;
}

.tab-container button:last-child {
  border-right: none;
}

.tab-container button:hover {
  background-color: #284181;
  color: #fff;
}

.tab-container button.active {
  background-color: #284181;
  color: #fff;
  font-weight: bold;
  position: relative;
}

.tab-container button.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: orange; /* 선택 표시 (밑줄 효과) */
}

.tab-container {
    position: sticky;
    top: 78px;
    background: #fff;
    display: flex;
    z-index: 1000;
   
  }

  .tab-container button {
    flex: 1 0 14%;
    padding: 12px 0;
    text-align: center;
    background-color: #f1f1f1;
    color: #333;
    border: none;
    border-right: 1px solid #ccc;
	   border-bottom: 1px solid #ccc;
    cursor: pointer;
    font-size: 16px;
  }

  .tab-container button:last-child {
    border-right: none;
  }

  .tab-container button:hover {
    background-color: #284181;
    color: #fff;
  }

  .tab-container button.active {
    background-color: #284181;
    color: #fff;
    font-weight: bold;
  }
	
.btn_quick{position: absolute; background: #284181; color: #fff; padding: 15px 10px; top:90px; right:-85px; width: 85px; border-radius: 0 0 20px 0;  }
.btn_quick a{ color: #fff;}
	
@media (max-width: 768px) {
  .tab-container button {
    flex: 1 0 25%;  /* 각 버튼이 1/3씩 차지하게 */
    font-size: 12px;
  }
  .tab-container {
    flex-wrap: wrap;
  }
  
  /* 탭 버튼들이 두 줄로 나누어지도록 */
  .tab-container button:nth-child(4n) {
    border-right: none; /* 마지막 아이템의 border를 없앰 */
  }
	
    /* 모바일에서 btn_quick을 화면 하단에 고정 */
    .btn_quick {
      position: fixed;
      bottom: 20px;
      right: 40px;
      width: auto;
      padding: 10px 20px;
      border-radius: 20px;
		top:auto;
    }

}

