    @font-face {
     font-family:Tahoma;
     src:url('Tahoma-Regular-font.ttf') format('truetype'),
     font-weight:normal;
     font-style:normal;
    }

    @font-face {
     font-family:Tahoma-B;
     src:url('TAHOMAB0.TTF') format('truetype'),
     font-weight:normal;
     font-style:normal;
    }    

    body {
      font-family: "Tahoma" !important;
      font-size: 14.8px !important;
      font-weight: 200;
      font-style: normal;
    }


    h3, h4, h5, h6 {
      font-family: "Tahoma-B" !important;
      font-style: normal;
    }

    a {
      font-size: 1em !important;
    }


    .page-wrapper .page-body-wrapper .page-title .row h3 {
      font-size: 20px !important;
    }


    .scope-bottom-wrapper .sidebar-left-icons .nav-item {
      padding-bottom: 30px !important;
    }


    .table-responsive {
        -ms-overflow-style:-ms-autohiding-scrollbar !important;
    }

    .table-responsive>.table {
        margin-bottom: 0 !important;
    }

    .table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th {
        white-space: nowrap !important;
    }


:root {
  --color-primary: #7366ffe6;
  --color-primary-tint: #FFF;
  --color-accent: #645ac8;
  --color-accent-tint: #FFF;
  --color-line: #ccc;
  --item-width: 220px;
  --item-gap: 20px;
}
/***** Vertical Sitemap *****/
.vsitemap {
  text-align: left;
}
.vsitemap  * {
  box-sizing: border-box;
}
.vsitemap ul {
  margin: 0 var(--item-gap);
  list-style: none;
  padding: 0;
}
.vsitemap ul > li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin: 0 0 calc(var(--item-gap) / 2);
  position: relative;
}
.vsitemap ul > li:before {
  content: "";
  position: absolute;
  top: 1em;
  height: 1px;
  left: calc(-1 * var(--item-gap) / 2);
  width: calc(var(--item-gap) / 2);
  background: var(--color-line);
}

/* Draw Line */
.vsitemap ul > li:first-child:before {
  width: var(--item-gap);
  left: calc(-1 * var(--item-gap));
}
.vsitemap ul li:after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--item-gap));
  left: calc((var(--item-gap) / 2) - var(--item-gap));
  bottom: 0;
  width: 1px;
  background: var(--color-line);
}
.vsitemap ul li:first-child:after {
  top: 1em;
}
.vsitemap ul li:last-child:after {
  bottom: auto;
  height: calc(var(--item-gap) + 1em);
}
.vsitemap ul li:only-child:after {
  display: none;
}

/* Box Item */
.vsitemap small {
  line-height: 1.5em;
  position: relative;
  font-size: 0.8em;
}
.vsitemap a {
  line-height: 1.5em;
  display: block;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  width: var(--item-width);
  transition: background-color 0.4s;
}
.vsitemap a, 
.vsitemap a:visited {
  background: var(--color-primary);
  color:var(--color-primary-tint);
}
.vsitemap a:hover, 
.vsitemap a:active {
  background: var(--color-accent);
  color: var(--color-accent-tint);
}

/* Responsive */
/* tablet */
@media only screen and (max-width: 768px) {
  .vsitemap > ul > li > ul > li ul li{
    flex-direction: column;
  }
  .vsitemap > ul > li > ul > li ul li ul{
    margin-top: calc(var(--item-gap)/2);
  }
  .vsitemap > ul > li > ul > li > ul li:after {
    left: calc(-1 * var(--item-gap)/2);
  }
  .vsitemap > ul > li > ul > li > ul > li li:first-child:before {
    width: calc(var(--item-gap)/2);
    left: calc(-1 * var(--item-gap)/2);
  }
  .vsitemap > ul > li > ul > li > ul > li li:first-child:after{
    top: calc(-1 * var(--item-gap)/2);
  }
  .vsitemap > ul > li > ul > li > ul > li li:only-child:after {
    display: block;
    height: calc(var(--item-gap)/2 + 1em);
  }
}
/* mobile */
@media only screen and (max-width: 576px) {
  .vsitemap > ul > li ul li{
    flex-direction: column;
  }
  .vsitemap > ul > li ul li ul{
    margin-top: calc(var(--item-gap)/2);
  }
  .vsitemap > ul > li > ul li:after {
    left: calc(-1 * var(--item-gap)/2);
  }
  .vsitemap > ul > li > ul > li li:first-child:before {
    width: calc(var(--item-gap)/2);
    left: calc(-1 * var(--item-gap)/2);
  }
  .vsitemap > ul > li > ul > li li:first-child:after{
    top: calc(-1 * var(--item-gap)/2);
  }
  .vsitemap > ul > li > ul > li li:only-child:after {
    display: block;
    height: calc(var(--item-gap)/2 + 1em);
  }
}

.noi-dung img {
    max-width: 100%; 
    max-height: 100%; 
    height: auto; 
    width: auto; 
    display: block; 
    margin: 0 auto;
    object-fit: contain; 
}

.noi-dung {
    max-height: 100%;
    max-width: 100%;
    overflow: auto;
    word-wrap: break-word;
    padding: 15px;
    box-sizing: border-box;
}

.center {
  text-align: center;
}

.table th {
    font-weight: 700 !important;
}

.nav-tabs .nav-link.active {
    font-weight: 700 !important;
}
.btn_edit {
  background: #F5F5F5 !important;
  padding: 10px;
}
.dropdown-menu .dropdown-item {
    opacity: 100 !important;
}
@media only screen and (max-width: 575.98px) {
    .page-wrapper .page-header .header-wrapper .nav-right > ul li .profile-media img {
        height: 25px !important;
    }
}

/* Làm mờ container khi đang tải */
.is-loading {
    position: relative;
    opacity: 0.5;
    pointer-events: none; /* Ngăn người dùng tương tác trong lúc tải */
}

/* Spinner loading */
.loading-spinner {
    position: absolute;
    top: 20px; /* Đặt spinner cách đầu container 20px */
    left: 50%;
    transform: translateX(-50%); /* Chỉ căn giữa theo chiều ngang */
    z-index: 10;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #6b48ff; /* Màu tím giống nút active */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}