.sidebar {
    background-color: #000;
    overflow-y: scroll;
    height: 100vh;
  }
  .sidebar .menu-item {
    cursor: pointer;
    padding: 6px 15px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    border: 1px solid #fff;
  }
  .submenu {
    display: block;
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  .submenu li {
    color: #fff;
    padding: 10px 10px 10px 30px;
  }
  .active {
    background-color: #fff !important;
    color: #000 !important;
  }
  .fa-chevron-down {
    transform: rotate(180deg);
    transition: all 0.4s ease;
  }
  .fa-chevron-down {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .collapsed .fa-chevron-down {
    transform: rotate(0deg);
  }
  .collapsed + .submenu {
    display: none;
  }
  .col-left {
    padding: 0;
  }
  .col-right {
    padding: 0;
  }
  .col-loc {
    padding: 15px 0;
  }
  .table-wrapper {
    width: 100%;
    overflow-x: auto;
    height: 66vh;
    overflow-y: auto;
  }
  .hangdoc p, .hangdoc h3, .hangdoc table th, .hangdoc table td, .hangdoc li {
    color: #fff;
  }
  
  .table-wrapper .table {
    width: 100%;
    min-width: 2100px;
  }
  .table-wrapper .table td,
  .table th {
    font-size: 14px;
    vertical-align: middle;
  }
  .table-wrapper-xml3 {
    width: 100%;
    overflow-x: auto;
    height: 66vh;
    overflow-y: auto;
  }
  .table-wrapper-xml3 .table {
    width: 100%;
    min-width: 2000px;
    overflow-y: auto;
    height: 66vh;
    overflow-x: auto;
  }
  .table-wrapper thead th {
    background-color: #063970;
    position: sticky;
    top: 0;
    z-index: 1;
    color: #fff;
  }
  .table-wrapper-xml3 thead th {
    background-color: #476b6b;
    position: sticky;
    top: 0;
    z-index: 1;
    color: #fff;
    border: 1px solid #fff;
  }
  .table-wrapper-xml3 .table td,
  .table th {
    font-size: 14px;
  }
  .col-refresh {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .container-fluid {
    background-color: #f1f1f1;
  }
  .toggle-outside {
    position: relative;
  }
  .toggle-list {
    display: none;
    position: absolute;
    top: -10px;
    left: 40px;
    margin-top: 10px;
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
  }
  .list-item {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .tab {
    overflow: hidden;
    border: 1px solid #fff;
    background-color: #eeeee4;
  }
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 7px 12px;
    transition: 0.3s;
    font-size: 16px;
    font-weight: 600;
  }
  .tab button.active {
    background-color: #476b6b !important;
    color: #fff !important;
  }
  .tabcontent {
    display: none;
    padding: 3px 7px;
    border-top: none;
    background-color: #476b6b;
  }
  .hangdoc {
    min-height: 75vh;
  }
  .hangdoc .col-lg-2 {
    border: 1.5px solid #fff;
    font-weight: 600;
    padding: 5px 10px;
    color: #fff;
  }
  .hangdoc .col-lg-10 {
    border: 1.5px solid #fff;
    padding: 5px 10px;
    color: #fff;
  }
  .hangdoc .col-lg-3 {
    border: 1.5px solid #fff;
    font-weight: 600;
    padding: 5px 10px;
    color: #fff;
  }
  .hangdoc .col-lg-9 {
    border: 1.5px solid #fff;
    padding: 5px 10px;
    color: #fff;
  }
  .title {
    font-weight: 600;
    font-size: 21px;
  }
  .col-nodata {
    text-align: center;
    font-weight: 600;
    padding-top: 20px;
  }
  .nodata {
    background-color: #eeeee4;
  }
  .xuat,
  .xem,
  .day,
  .taive,
  .lichsu {
    margin-left: 3px;
    color: #fff !important;
    padding: 3px 7px !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border-bottom-left-radius: 0px;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
  }
  .xuat {
    background-color: #428bca;
  }
  .xem {
    background-color: #e28743;
  }
  .day {
    background-color: #219846;
  }
  .lichsu {
    background-color: #154c79;
  }
  .taive {
    background-color: red;
  }
  .xuat:hover {
    color: #428bca !important;
    background-color: #fff;
    border: 1px solid #428bca;
  }
  .xem:hover {
    color: #e28743 !important;
    background-color: #fff;
    border: 1px solid #e28743;
  }
  .day:hover {
    color: #219846 !important;
    background-color: #fff;
    border: 1px solid #219846;
  }
  .lichsu:hover {
    color: #154c79 !important;
    background-color: #fff;
    border: 1px solid #154c79;
  }
  .taive:hover {
    color: red !important;
    background-color: #fff;
    border: 1px solid red;
  }
  
  .logo {
    text-decoration: none;
  }
  .ehc-left {
    color: red !important;
  }
  .ehc-right {
    color: #edca18 !important;
  }
  .datetime-container {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .datetime-button {
    position: absolute;
    right: 10px;
    top: 15px;
    height: 100%;
    border: none;
    background: none;
    cursor: pointer;
  }
  #datetime-button-from {
    top: 7px !important;
  }
  #datetime-button-to {
    top: 7px !important;
  }
  .ui-datepicker-calendar {
    display: block;
  }
  .datetime-container input {
    width: 100%;
    padding: 7px 10px;
    font-size: 15px;
    border: none;
    box-shadow: 0px 0px 5px 0px #bdbdbd;
    box-sizing: border-box;
  }
  .no-outline:focus {
    outline: none;
    box-shadow: none;
  }
  .modaladd input[type="text"],.modaladd textarea{
    margin-top: 8px;
    border-radius: 0 !important;
    border: 1px solid #CCCCCC !important;
  }
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
  }
  .modaladd {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    width: 90%;
    max-height: 95%;
    max-width: 1600px;
  }
  .modal-headerr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #fff;
    padding: 20px 20px 10px 20px;
  }
  .modal-headerr h2 {
    margin: 0;
  }
  .modal-bodyy {
    padding: 20px;
  }
  .modal-footerr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ccc;
    padding: 10px 20px 20px 20px;
  }
  .tencoso {
    color: #012970;
    font-weight: 600;
  }
  .tieude {
    font-size: 26px;
    font-weight: 600;
    color: #012970;
    background-color: #fff;
    padding: 7px 15px;
  }
  .kyhieu {
    font-size: 21px;
    font-weight: 600;
    color: #994a43;
    background-color: #fff;
    padding: 5px 12px;
  }
  .div-tudong{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    width: 350px;
  }
  .tieuchi{
    padding: 0 15px 5px 15px;
  }
  .div-tudong label{
    padding: 0 3px;
  }
  .btn-on{
    color: #fff;
    background-color: #012970;
    padding: 7px 15px;
    border: 1px solid #012970;
  }
  .btn-off{
    color: #012970;
    background-color: #fff;
    padding: 7px 15px;
    border: 1px solid #012970;
  }
  .dacheck {
    color: #219846;
    font-weight: 600;
    font-size: 25px;
  }
  .thanhcong {
    color: #219846;
  }
  .thatbai {
    color: red;
  }
  #pagination {
    list-style: none;
    display: flex;
    justify-content: right;
    padding: 10px;
  }
  #pagination button {
    padding: 4px 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
  }
  #pagination button.active {
    background-color: #1c84c6;
    color: #fff;
    font-size: 13px;
  }
  #itemsPerPageSelect,
  #filterOption,
  #khoadieutri, #searchtype, #loaiphong {
    padding: 5px 10px;
    border: 1px solid #dddddd;
    margin: 10px 0;
    width: 100%;
  }
  .col-pageinfo {
    padding: 10px;
  }
  .col-pageinfo table {
    margin-left: 12px;
  }
  .col-pageinfo table,
  td,
  th {
    border: 1px solid #e7eaec;
  }
  #itemCount,
  #paginationInfo {
    font-size: 14px;
    color: #333;
  }
  .active-page {
    background-color: #007bff;
    color: white;
  }
  /* Switch Button */
  .switch-btn {
    padding-top: 5px;
  }
  .switch-btn span {
    display: flex;
    align-items: center;
    width: 55px;
    height: 26px;
    border-radius: 30px;
    background-color: #ddd;
    transition: 0.3s;
    padding: 0 3px;
    position: relative;
  }
  
  .switch-btn span::before {
    content: "";
    display: inline-block;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    left: 5px;
    transition: 0.6s;
  }
  
  .switch-btn input {
    display: none;
  }
  
  .switch-btn input:checked ~ span {
    background-color: #02bcf0;
  }
  
  .switch-btn input:checked ~ span::before {
    left: 29px;
  }
  th {
    vertical-align: middle;
  }
  .button-container {
    width: 50px;
    overflow: hidden;
    transition: width 0.5s;
    display: flex;
    align-items: center;
  }
  .button-container.expanded {
    width: 350px;
  }
  .button-container button {
    margin: 3px;
  }
  .extra-buttons {
    display: none;
  }
  .button-container.expanded .extra-buttons {
    display: flex;
  }
  .nopadding {
    padding: 0 5px;
  }
  .container-all {
    padding: 60px 15px 0 15px;
  }
  .dt2 {
    margin-top: 15px;
  }
  .toggle-container {
    position: relative;
  }
  button{
    margin-right: 3px;
  }
  .toggleDiv {
    display: none;
    position: absolute;
    padding: 6px;
    border: 1px solid #ccc;
    top: 0px;
    left: 50px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0px 0px 5px 0px #bdbdbd;
    z-index: 99;
  }
  .togglediv-inside {
    display: flex;
  }
  .fixed-width15 {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    word-wrap: break-word;
  }
  
  .fixed-width15,
  .fixed-width15 + td {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    word-wrap: break-word;
  }
  .fixed-width2 {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    word-wrap: break-word;
  }
  
  .fixed-width2,
  .fixed-width2 + td {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    word-wrap: break-word;
  }
  .fixed-width3 {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    word-wrap: break-word;
  }
  
  .fixed-width3,
  .fixed-width3 + td {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    word-wrap: break-word;
  }
  #loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 24px;
    z-index: 1000;
  }
  
  .loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }
  
  @-webkit-keyframes spin {
    0% {
      -webkit-transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
    }
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  #loading-percentage {
    margin-top: 20px;
  }
  .ui-datepicker {
    max-height: 300px;
    overflow-y: auto;
  }
  
  .ui-datepicker-calendar {
    max-height: 200px;
    overflow-y: auto;
  }
  
  .ui-timepicker-div .ui-timepicker-ampm,
  .ui-timepicker-div .ui-timepicker-hour,
  .ui-timepicker-div .ui-timepicker-minute,
  .ui-timepicker-div .ui-timepicker-second,
  .ui-timepicker-div .ui-timepicker-millisec,
  .ui-timepicker-div .ui-timepicker-timezone {
    max-height: 150px;
    overflow-y: auto;
  }
  .notification-item {
    min-width: 300px;
    border-bottom: 1px solid #000;
  }
  .dropdown-menu .dropdown-header,
  .dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 5px 15px;
  }
  .header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 8px 5px;
    transition: 0.3s;
  }
  .dropdown-menu {
    max-height: 500px;
    overflow-y: auto;
  }
  .dropdown-header {
    border-bottom: 1px solid #000;
  }
  @media all and (max-width: 1400px) {
    .table-wrapper-xml3 {
      min-height: 60vh;
    }
    .table-wrapper {
      height: 61vh;
    }
    .tieude {
      font-size: 21px;
    }
    .header {
      height: 48px;
      box-shadow: 0px 2px 10px rgba(1, 41, 112, 0.1);
    }
    .container-all {
      padding: 48px 15px 0 15px;
    }
    .dt2 {
      margin-top: 8px;
    }
    .datetime-container input {
      font-size: 13px;
    }
    #datetime-button-from {
      top: 5px !important;
    }
    #datetime-button-to {
      top: 5px !important;
    }
    .col-loc {
      padding: 8px 0;
    }
    #responsiveBtn,
    #btn-daydaxml,#btn-daydaoffer {
      font-size: 0.875rem !important;
      padding: 0.25rem 0.5rem !important;
    }
    #btnbelow {
      font-size: 0.675rem !important;
      padding: 0.2rem 0.4rem !important;
    }
    #itemsPerPageSelect,
    #filterOption,
    #khoadieutri, #loaiphong {
      margin: 5px 0 5px 0;
      padding: 3px 7px;
      font-size: 12px;
    }
    .table-wrapper .table td,
    .table th {
      font-size: 13px;
      padding: 3px;
    }
    .table-wrapper3 .table td,
    .table th {
      font-size: 13px;
      padding: 3px;
    }
    .switch-btn span {
      width: 45px;
      height: 20px;
      padding: 0 3px;
    }
  
    .switch-btn span::before {
      width: 18px;
      height: 18px;
      left: 5px;
    }
    .switch-btn input:checked ~ span::before {
      left: 24px;
    }
    #pagination {
      padding: 7px;
      margin-bottom: 10px;
    }
    .title {
      font-size: 17px !important;
    }
    .hangdoc .col-lg-3,
    .hangdoc .col-lg-9 {
      font-size: 14px;
    }
    .tab button {
      font-size: 14px;
      padding: 5px 10px;
    }
    .modal-headerr {
      padding: 15px 15px 7px 15px;
    }
    .modal-bodyy {
      padding: 15px;
    }
    .modal-headerr h2 {
      font-size: 23px;
    }
  }
  