html {
  width: 100%;
}

body {
  overflow-x: hidden !important;
}

body.show-spinner>main {
  overflow: hidden !important;
}

/* Hide everything under body tag */
body.show-spinner>* {
  opacity: 0;
}

/* Spinner */
body.show-spinner::after {
  content: " ";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border-top-color: rgba(0, 0, 0, 0.3);
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  position: fixed;
  z-index: 1;
}

body.show-spinner {
    background-color: #c0d5fc;
}

.text-green {
  color: green;
}

.text-red {
  color: red;
}

.text-blue {
  color: royalblue;
}

.text-orange {
  color: orange;
}

.text-purple {
  color: purple;
}

.text-gray {
  color: gray;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

.breadcrumb-item {
  font-weight: 600;
  font-size: 1.1rem !important;
}

ol.breadcrumb {
  margin-bottom: -0.5rem;
  padding: .75rem 1rem .75rem 0px;
}
.breadcrumb a {
    color: #959595;
    font-weight: 100;

}
.breadcrumb-item{
    font-size: 13px;
}
.breadcrumb-item.active{

}

.faded_color {
  color: #bcbcbc !important;
  font-weight: bold !important;
}

.approved_color {
  /*สีเขียว อนุมัติ*/
  color: #07d9a6 !important;
}

.disapproved_color {
  /*สีแดง ไม่อนุมัติ*/
  color: #ff4a4a !important;
}

.return_color {
  /*สีส้ม ตีกลับแก้ไข*/
  color: #ffaa2a !important;
}

.approve_color {
  /*สีม่วง อนุมัติแล้ว ตรวจสอบแล้ว*/
  color: #b845ff !important;
}

.waiting_color {
  /*สีม่วงอ่อน รอตรวจสอบ*/
  color: #dfacff !important;
}

.pending_color {
  /*สีเทา รอ*/
  /* color: #d9d9d9 !important; */
  color: #a7a7a7 !important;
}

/* CSS approve_detail */
.todo-timeline {
  margin-top: 65px;
}

.todo-timeline .col-md-3:first-child {
  padding-left: 81px;
}

.todo-timeline .timeline-text {
  display: flex;
  justify-content: space-between;
}

.todo-timeline .timeline-text .timeline-number {
  margin-right: 60px;
}

.todo-timeline .todo-title {
  font-size: 50px;
  color: #0FA3B1;
  white-space: nowrap;
}

.todo-timeline .v-timeline {
  margin-top: 30px;
}

.todo-timeline .v-timeline ul {
  position: relative;
}

.todo-timeline .v-timeline li {
  list-style-type: none;
  position: relative;
}

.approved span.node_no,
.disapproved span.node_no,
.return span.node_no,
.waiting span.node_no,
.pending span.node_no {
  color: white !important;
}

span.node_no {
  font-weight: bolder;
  font-size: 1.4rem;
  position: absolute;
  z-index: 100;
  padding-top: 5px;
  width: 50px;
  height: 50px;
  text-align: center;
}

.v-timeline li .row div:nth-child(n+2) div {
  padding-top: 24px;
}

.todo-timeline .v-timeline .v-timeline-icon:after {
  /*before*/
  content: ' ';
  text-align: center;
  justify-items: center;
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  border-radius: 50%;
  background: #b845ff;
}

.todo-timeline .v-timeline li {
  height: 96px;
}

.todo-timeline .v-timeline li span {
  color: var(--primary-color);
  font-weight: bold;
}

/*approved*/
.todo-timeline .v-timeline li:first-child .v-timeline-icon:before {
  display: none;
}

.todo-timeline .v-timeline .v-timeline-icon:before {
  /*after*/
  content: ' ';
  border-left: 10px solid #b845ff;
  display: inline-block;
  position: absolute;
  left: 19px;
  height: 100px;
  z-index: 1;
  bottom: 50px;
}

.todo-timeline .v-timeline .approved .v-timeline-icon.v-first:before {
  /*after*/
  height: 0;
}

.todo-timeline .v-timeline .approved .v-timeline-icon:after {
  /*before*/
  background: #b845ff;
  z-index: 99;
}

.todo-timeline .v-timeline .approved.return .v-timeline-icon:before {
  /*after*/
  content: ' ';
  border-left: 10px solid #ffaa2a;
  display: inline-block;
  position: absolute;
  left: 19px;
  height: 100px;
  z-index: 1;
  bottom: 50px;
}

.todo-timeline .v-timeline .approved.return .v-timeline-icon:after {
  /*before*/
  background: #b845ff;
  z-index: 99;
}

/*approved*/

/*disapproved*/

.todo-timeline .v-timeline .disapproved .v-timeline-icon:before {
  /*after*/
  content: ' ';
  border-left: 10px solid #ff4a4a;
  display: inline-block;
  position: absolute;
  left: 19px;
  height: 100px;
  z-index: 1;
  bottom: 50px;
}

.todo-timeline .v-timeline .disapproved .v-timeline-icon.v-first:before {
  /*after*/
  height: 0;
}

.todo-timeline .v-timeline .disapproved .v-timeline-icon:after {
  /*before*/
  background: #ff4a4a;
  z-index: 99;
}

/*disapproved*/

/*return*/

.todo-timeline .v-timeline .return .v-timeline-icon:before {
  /*after*/
  content: ' ';
  border-left: 10px solid #ffaa2a;
  display: inline-block;
  position: absolute;
  left: 19px;
  height: 100px;
  z-index: 1;
  bottom: 50px;
}

.todo-timeline .v-timeline .pending.return .v-timeline-icon:before {
  /*after*/
  content: ' ';
  border-left: 10px solid #ffaa2a;
  display: inline-block;
  position: absolute;
  left: 19px;
  height: 100px;
  z-index: 1;
  bottom: 50px;
}

.todo-timeline .v-timeline .return .v-timeline-icon.v-first:before {
  /*after*/
  height: 0;
}

.todo-timeline .v-timeline .return .v-timeline-icon:after {
  /*before*/
  background: #ffaa2a;
  z-index: 99;
}

/*return*/

/*pending*/

.todo-timeline .v-timeline .pending .v-timeline-icon.v-last:after {
  /*before*/
  background: #d9d9d9;
  z-index: 99;
}

.todo-timeline .v-timeline .pending .v-timeline-icon:before {
  /*after*/
  content: ' ';
  border-left: 10px solid #d9d9d9;
  display: inline-block;
  position: absolute;
  left: 19px;
  height: 100px;
  z-index: 1;
  bottom: 50px;
}

.todo-timeline .v-timeline .pending .v-timeline-icon:after {
  /*before*/
  background: #d9d9d9 !important;
  z-index: 99;
}

/*pending*/

/*waiting*/
.todo-timeline .v-timeline .waiting .v-timeline-icon:after {
  /*before*/
  background: #dfacff !important;
  z-index: 99;
}

.todo-timeline .v-timeline .waiting .v-timeline-icon:before {
  /*after*/
  content: ' ';
  border-left: 10px solid #dfacff;
  display: inline-block;
  position: absolute;
  left: 19px;
  height: 100px;
  z-index: 1;
  bottom: 50px;
}

.todo-timeline .v-timeline .waiting.return .v-timeline-icon:before {
  /*after*/
  content: ' ';
  border-left: 10px solid #ffaa2a;
  display: inline-block;
  position: absolute;
  left: 19px;
  height: 100px;
  z-index: 1;
  bottom: 50px;
}

/*waiting*/

.todo-timeline .v-timeline .v-timeline-icon.v-last:before {
  /*after*/
  height: 0;
}

.v-timeline li .col-md-3 span:first-child {
  display: block;
}

.v-timeline li .col-md-3,
.col-md-2 span {
  display: block;
}

/*-------------------------------------------------------------*/
.remark_1 {
  margin-left: 60px;
  max-width: 80%;
}

.my-55 {
  margin-top: -4rem !important;
  margin-bottom: 2rem !important;
}

/* ปุ่ม */
.col-md-12-button {
  display: flex;
  justify-content: center;
}

.default-25 {
  border-radius: 0.25rem;
}

.btn-lg-0,
.btn-group-lg>.btn {
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.05rem;
  padding: 0.75rem 2.6rem 0.6rem 2.6rem;
  width: 11rem;
}

.btn-light {
  color: black;
  background-color: white;
}

.btn-disapprove {
  color: white;
  background-color: #ff4a4a;
}

.btn-return {
  color: white;
  background-color: #ffaa2a;
}

.btn_outline_primary {
  border-color: #9500db;
  color: #9500DC !important;
}

.btn_outline_primary:hover {
  border-color: #9500db;
  background-color: #9500db;
  color: #fff !important;
}

.title_approve {
  font-size: 1em;
  font-weight: 600;
}

.active {
  font-weight: bold;
}

/* table */
.table_approve {
  border-collapse: collapse;
  font-weight: bold;
  font-size: 14px;
}


tr>th.table_approve:last-child {
  text-align: center;
}

tr>td.table_approve:last-child {
  text-align: center;
  color: #07d9a6;
}

.table_approve tr:nth-child(even) {
  background-color: #f7f7f8;
}

.table_approve tr:hover {
  background-color: #ddd;
}

.table_approve th {
  padding-top: 12px;
  padding-bottom: 12px;
}

.text_align {
  text-align: end !important;
}

.node_no {
  content: '';
  text-align: center;
  z-index: 100;
}

/* table */

/* treeview*/
.tree_view {
  overflow-y: auto;
  font-weight: bold;
}


.glyphicon-plus:before {
  /* content: url(../..//assets/img/icon/chevron_down_white.svg); */
  content: "\002b";
  font-size: 30px;
  font-family: "Noto Sans Thai Looped", sans-serif;
}

.glyphicon-minus:before {
  /* content: url(../..//assets/img/icon/chevron_up_white.svg); */
  content: "\2212";
  font-size: 32px;
  font-family: "Noto Sans Thai Looped", sans-serif;
  display: flex;
  padding-bottom: 5px;
  padding-left: 5px;
}

li.list-group-item.node-tree.level-0 {
  background-color: white;
  color: #b845ff;
}

li.list-group-item.node-tree.node-selected .glyphicon-plus:before {
  /* content: url(../..//assets/img/icon/chevron_down_purple.svg) ; */
  content: "\002b";
}

.list-group-item {
  display: flex;
  align-items: center;
}

.treeview .indent{
  content: url(../..//assets/img/icon/folder_white.svg);
}

li.list-group-item.node-tree {
  background-color: #e3e3e3;
  color: black;
  margin-bottom: 5px;
  max-width: 500px;
}

li.list-group-item.node-tree.department {
  background-color: #b845ff;
  color: #fff;
  margin-bottom: 5px;
  max-width: 500px;
}

.node-tree:not(.department):hover {
  background-color: #dfacff !important;

}

/* .list-group-item.node-tree.level-0.flex-container:not(.node-disabled):hover {
  background-color: #dfacff !important;
} */

.text-decoration-underline{
    text-decoration: underline;
}


.treeview .level-1:nth-child(n) {
  /* background-color: #e3e3e3 ; */
  background-color: #dfdfdf;
  color: #000000;
  width: 95%;
  margin-left: 3%;
  max-width: 500px;
}

.treeview .level-2 {
  margin-left: 6%;
  max-width: 500px
}

.treeview .level-3 {
    margin-left: 9%;
    max-width: 500px
}

.treeview .level-4 {
    margin-left: 12%;
    max-width: 500px
}

.treeview .level-5 {
    margin-left: 15%;
    max-width: 500px
}

.treeview .level-5 {
    margin-left: 18%;
    max-width: 500px
}


/* treeview*/

/*Responsive max-width 1000*/
@media (max-width: 1000px) {
  .treeview .level-1 {
    width: 99%;
    margin-left: 1%;
  }

  .treeview .level-2 {
    width: 98%;
    margin-left: 2%;
  }

  .todo-timeline {
    margin-top: 0px;
  }

  .v-timeline li .row div:nth-child(n+2) div {
    padding-top: 0px;
  }

  .todo-timeline .row .col-md-3,
  .col-md-2 {
    padding-left: 81px;
  }

  .todo-timeline .v-timeline {
    margin-left: -50px;
  }

  .todo-timeline .v-timeline li {
    line-height: 20px;
    height: 146px;
  }

  span.node_no {
    margin-top: 6px;
  }

  .todo-timeline .v-timeline .pending .v-timeline-icon:before,
  .todo-timeline .v-timeline .return .v-timeline-icon:before,
  .todo-timeline .v-timeline .disapproved .v-timeline-icon:before,
  .todo-timeline .v-timeline .pending.return .v-timeline-icon:before,
  .todo-timeline .v-timeline .approved .v-timeline-icon:before,
  .todo-timeline .v-timeline .waiting .v-timeline-icon:before,
  .todo-timeline .v-timeline .waiting.return .v-timeline-icon:before,
  .todo-timeline .v-timeline .approved.return .v-timeline-icon:before {
    /*after*/
    height: 122px;
    bottom: 130px;
  }

  .v-timeline li .col-md-3 span,
  li .col-md-2 span {
    font-size: 0.9em;
    margin-left: 81px;
  }

  .v-timeline li .col-md-3,
  .col-md-2 span {
    display: contents !important;
  }

  /*ปุ่ม1000*/
  .col-md-12-button {
    flex-direction: column;
    padding: 17px;
  }

  .btn {
    border-radius: 50px;
    outline: initial !important;
    box-shadow: none !important;
    box-shadow: initial !important;
    font-size: 1rem;
    padding: 0.5rem 1.25rem 0.5rem 1.25rem;
    transition: background-color box-shadow 0.1s linear;
    display: block;
    width: 100%;
  }

  .remark_1 {
    margin-left: 35px;
  }

  .my-55 {
    margin-top: 1rem !important;
  }

  /* .d-none {
    display: contents !important;
  } */

  svg {
    overflow: hidden;
    vertical-align: middle;
    display: inherit;
  }

  /* table1000 */

  #flip-scroll .cf:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }

  #flip-scroll * html .cf {
    zoom: 1;
  }

  #flip-scroll *:first-child+html .cf {
    zoom: 1;
  }

  #flip-scroll table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
  }

  #flip-scroll th,
  #flip-scroll td {
    margin: 0;
    vertical-align: top;
  }

  #flip-scroll th {
    text-align: left;
  }

  #flip-scroll table {
    display: block;
    position: relative;
    width: 100%;
  }

  #flip-scroll thead {
    display: block;
    float: left;
  }

  #flip-scroll tbody {
    display: block;
    width: auto;
    position: relative;
    overflow-x: auto;
    white-space: nowrap;
  }

  #flip-scroll thead tr {
    display: block;
  }

  #flip-scroll th {
    display: block;
    text-align: right;
  }

  #flip-scroll tbody tr {
    display: inline-block;
    vertical-align: top;
  }

  #flip-scroll td {
    display: block;
    min-height: 1.25em;
    text-align: left;
  }

  /* sort out borders */
  #flip-scroll th {
    border-bottom: 0;
    border-left: 0;
  }

  #flip-scroll td {
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  #flip-scroll tbody tr {
    border-left: 1px solid #babcbf;
  }

  #flip-scroll th:last-child,
  #flip-scroll td:last-child {
    border-bottom: 1px solid #babcbf;
  }

  /* table1000 */
  .list-group {
    padding-right: 0px !important;
  }

  .padding-0 {
    padding: 0px !important;
  }

  .list-group-item {
    padding: 5px !important;
    font-size: 15px;
  }

  .treeview span.indent {
    margin-right: 0px !important;
  }

  .icon.expand-icon.glyphicon {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
  }

  .glyphicon-plus:before {
    /* content: url(../..//assets/img/icon/chevron_down_white.svg); */
    content: "\002b";
    font-size: 20px;
    font-family: "Noto Sans Thai Looped", sans-serif;
  }

  .glyphicon-minus:before {
    /* content: url(../..//assets/img/icon/chevron_up_white.svg); */
    content: "\2212";
    font-size: 20px;
    font-family: "Noto Sans Thai Looped", sans-serif;
    display: flex;
    padding-bottom: 5px;
    padding-left: 5px;
  }

}

/*Responsive max-width 1000*/

.flex-container {
  display: flex;
}



.treeview .list-group-item.node-tree.node-selected.level-1.flex-container span.indent:nth-child(n),
.treeview .list-group-item.node-tree.node-selected.flex-container.level-2 span.indent:nth-child(2) {
  content: url(../..//assets/img/icon/user.svg) !important;
}

.treeview .team {
  content: url(../..//assets/img/icon/team_white.svg) !important;
}

/* .treeview .team:first-child {
  content: url(../..//assets/img/icon/team_purple.svg) !important;
} */

.treeview  a.icon-file-add{
  margin-left: auto;
  content: url(../..//assets/img/icon/file_add.svg);
}

.treeview .list-group-item.node-tree.node-selected.level-1 span.icon-file-add:first-child,
.treeview .list-group-item.node-tree.node-selected.level-2 span.icon-file-add:first-child {
  content: url(../..//assets/img/icon/team_purple.svg) !important;
}

.treeview .list-group-item.node-tree.node-selected.level-1.flex-container span.icon-file-add:last-child,
.treeview .list-group-item.node-tree.node-selected.flex-container.level-2 span.icon-file-add:last-child {
  content: url(../..//assets/img/icon/) !important;
}

.level-1-last {
  max-width: 640px !important;
}
.upper {
  text-transform: uppercase;
}
.lower {
  text-transform: lowercase;
}
table.table.table-node tr, table.table.table-node th {
  border-color: #fff !important;
}
th.node-first {
  padding-left: 70px;
}
table.table.table-node th {
  padding-right: 0;
  font-size: 15px;
}
@media (min-width: 1500px) {

  .modal-lg,
  .modal-xl {
    max-width: 1400px;
  }
}

@media only screen and (max-width: 1499px) and (min-width:1200px) {

  .modal-lg,
  .modal-xl {
    max-width: 1100px;
  }
}

@media only screen and (max-width: 1200px) and (min-width:992px) {

  .modal-lg,
  .modal-xl {
    max-width: 923px;
  }
}
.modal_preview {
  position: fixed;
  top: -1%;
  left: 0;
  z-index: 7777;
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
  outline: 0;
}

.modal_download_pdf {
  position: fixed;
  top: -1%;
  left: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
  outline: 0;
  background-color: #1f1f1f87;
}

.modal_print_pdf {
  position: fixed;
  top: -1%;
  left: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
  outline: 0;
  background-color: #1f1f1f87;
}

.modal_noti_km {
  position: fixed;
  top: -1%;
  left: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
  outline: 0;
  background-color: #1f1f1f87;
}

.modal_share_pdf {
  position: fixed;
  top: -1%;
  left: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
  outline: 0;
  background-color: #1f1f1f87;
}

.modal_upload_dc_files {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 7777;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal_del {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  background-color: #1f1f1f87;
}

@media (max-width: 991px) {
  .xs-hide{
    display: none;
  }
}

.modal_preview .modal-header{
  padding: 8px 0px;
}

.padding-0 {
  padding: 0px !important;
}
.btn{
  min-width: auto !important;
}
.text-center{
  text-align: center;
}
.text-left{
  text-align: end;
}
.text-right{
  text-align: start;
}

.modal_preview .modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}

.menu .sub-menu ul li i.icon-setting {
  margin-right: 3px;
}
.require {
  font-weight: bold !important;
  color: red !important;
  margin-right: 3px !important;
}
.ele-disabled {
  pointer-events: none;
  color:#3a3a3a;
  background-color: #f1f1f1 !important
}
.profile-picture {
  min-width: 40px;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid #fff;
  border-radius: 30px;
}
ul#setting .inner-level-menu li a i.icon-setting {
  display: inline-block;
  width: 25px;
  margin-right: 3px;
  vertical-align: middle;
}

ul#setting .inner-level-menu li a span {
  /* display: inline-block; */
  vertical-align: middle;
}
ul#setting div#collapseAuthorization {

}
/* สำหรับหน้าจอขนาดเล็กกว่าหรือเท่ากับ 768px */
@media (max-width: 768px) {
  /* แทรก CSS ที่คุณต้องการให้เป็น responsive สำหรับหน้าจอขนาดนี้ที่นี่ */
  .title_modal_preview{
    padding-left: 20px !important;
    padding-right: 0px !important;
  }
  .sm-w-25{
    width: 25% !important;
  }
}

/* สำหรับหน้าจอขนาดระหว่าง 769px ถึง 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  /* แทรก CSS ที่คุณต้องการให้เป็น responsive สำหรับหน้าจอขนาดนี้ที่นี่ */
  .title_modal_preview{
    padding-left: 20px !important;
    padding-right: 0px !important;
  }
}

/* สำหรับหน้าจอขนาดใหญ่กว่า 1024px */
@media (min-width: 1025px) {
  /* แทรก CSS ที่คุณต้องการให้เป็น responsive สำหรับหน้าจอขนาดนี้ที่นี่ */
  .title_modal_preview{
    padding-left: 30px !important;
    padding-right: 0px !important;
  }
}
/* สำหรับ iPad (portrait) */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .container-fluid {
      /* min-height: 60vh; */
  }
}

/* สำหรับ iPhone (portrait) */
@media only screen and (max-device-width: 767px) and (orientation: portrait) {
  .container-fluid {
      /* min-height: 60vh; */
  }
}

.jstree-anchor {
    padding: 2px 5px 2px 0px;
    border-radius: 3px;
    background-color: #fdf8ff;
    border: 1px solid #f5d5ff;
}

.jstree-default .jstree-anchor {
    margin-bottom: 7px;
    height: 33px !important;
    position: relative;
    cursor:move;
}

.jstree-default .jstree-icon:empty {
    font-size: 17px;
    color: #9500db;
}

.tree_tool{
    position:absolute;right:-50px;

}
.progress-value {
  position: absolute;
  left: 5%;
  z-index: 2;
  font-size: 12px;
  font-weight: bold;
  color: #000;
  text-shadow: 0px 0px 3px #FFF;
}
.progress-bar {
  background-color: #9500db;
  height: 100%;
  border-radius: 10px;
  z-index: 1;
}
.progress-container {
  background-color: #E5E7EF;
  border-radius: 10px;
  height: 20px;
  width: 100%;
  margin: 5px 0;

  display: flex;
  align-items: center;
  position: relative;
}
a.path-location{
  color: #4c4c4c;
}
.bg-doc {
  background-color: #9D3BFF !important;
}
/* iframe {
  pointer-events: none;
} */
.modal_chk_status {
  position: fixed;
  top: -1%;
  left: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
  outline: 0;
  background-color: #1f1f1f87;
}
.pdf_preview_image {
  height: 1200px;
  overflow: auto;
  padding: 1% 10%;
  background-color: #f6f6f6;
}
.btn-set-tooltip {
  border-radius: 50px;
  width: max-content;
  outline: initial !important;
  box-shadow: initial !important;
  font-size: 1rem;
  padding: 5px;
  color: #575057;
  background-color: #d4d4d4;
  border-color: #d4d4d4;

  i ,span{
    font-size: 10px;
    color: #575057;
  }
}

.btn-set-tooltip:hover {
  /* color: #575057;
  background-color: #f3f3f3fa;
  border-color: #f3f3f3; */
}

.draft-button {
  /* right: 5px;
  bottom: 5px; */
  background-color: #ffffff00;
 /* border-color: #9500db;
  color: #9500db;
  border-radius: 50%; */
  border-color: #f0f8ff00;
  width: 50px;
  height: 50px;
  color: #fff;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  z-index: 9000;
}

.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffffff;
  border-color: #ffffff;
  /* color: #9500db; */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  z-index: 9000;
 
}

.floating-button:hover {
  background-color: #9500db;
  color: #ffffff;
}

.floating-tab {
 

  position: fixed;
  background-color: #9500db;
  color: white;
  border-radius: 10px 0px 0px 10px;
  overflow: hidden;
  width: 10px;
  height: 50px;
  transition: width 0.3s ease;
  cursor: pointer;
  bottom: 0;
  right: 0;
  z-index: 9000;

}

.floating-tab:hover {
/* width: 200px; ขนาดเมื่อขยาย */
width: 50px;
height: 50px;
}

.floating-tab .tab-icon {
padding: 10px;
text-align: center;
font-weight: bold;
}

.floating-tab .tab-content {
padding: 10px;
display: none;
}

.floating-tab:hover .tab-content {
display: block;
}

/* Overlay Styles */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* สีพื้นหลังโปร่งแสง */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9001;
}

.hidden {
  display: none;
  /* ซ่อน overlay */
}

.loading-content {
  text-align: center;
  color: white;
}

/* Loading Spinner */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
      transform: rotate(360deg);
  }
}