html, body {
    scrollbar-width: thin;                 
    scrollbar-color: #c1c1c1 #f1f1f1;    
}

html::-webkit-scrollbar, 
body::-webkit-scrollbar {
    width: 5px; 
}

html::-webkit-scrollbar-track, 
body::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 5px;
}

html::-webkit-scrollbar-thumb, 
body::-webkit-scrollbar-thumb {
    background-color: #c1c1c1; 
    border-radius: 5px;
    border: 2px solid #f1f1f1; 
}

html::-webkit-scrollbar-thumb:hover, 
body::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}


body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    padding-bottom: 60px;
}

.header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ad0e2b; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-image: url(../images/bg-header-desktop.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; 
}

.wrap-noidung-tk {
    padding: 20px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 5px;
    padding-top: 150px;
}

.wrap-noidung-thongke {
    padding: 20px;
    max-width: 1379px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 5px;
    padding-top: 150px;
}


.wrap-noidung {
    padding-top: 150px;
    max-width: 1079px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 5px;
}

.wrap-content-title {
  margin-bottom: 20px;
  text-align: center;
}

.header {
    text-align: center;
    display: flex;
    justify-content: center;
    height: 80px;
}

.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header h1 {
    font-family: "Segoe UI Black", sans-serif;
    font-weight: bold;
    color: white;
    font-size: 25px;
    margin: 0px;
}
.header h5 {
    color: white;
    font-size: 16px;
    margin: 0px;
    font-style: italic;
}

.header-text {
    flex-grow: 1;
    text-align: left;
    color: white;
}

.infor {
  padding: 15px 20px;
  font-size: 13px;
  color: white;
}

.user {
  cursor: pointer;
}
.inforDisplay {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}
.menu ul li a {
padding: 4px 10px 6px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #a11029;
    background: #fdf1de;
    border: #fdf1de;
    text-decoration: none;
    transition: all 0.3s 
ease;
}
.menu ul li a.active_menu {
  background: #ffffff;
  color: #233875 !important;
}

.table {
  font-size: 14px;
}
.table th
{
   text-align: center;
    vertical-align: middle;
}

.table td {
    text-align: justify;
    vertical-align: middle;
}
.spacer { margin-right: 10px; }


.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
     background: #ad0e2b;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f8f9fa;
    font-size: 14px;
    z-index: 999;
}

.footer h1 {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}



.logo {
    width: 80px;
    height: auto;
    padding: 0 10px 0 0;
}

hr { border: 1px solid whitesmoke; }

.btn-delete {
    background: #dc3545;
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.custom-modal {
  display: none; 
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  overflow-y: auto;
}

.custom-modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 1000px;
  width: 90%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  animation: fadeInDown 0.3s;
}

.modal-title {
  margin-top: 0;
  font-size: 18px;
  font-weight: bold;
}
.modal-footer {
  justify-content: center !important;
}
.close-modal {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}
.close-modal:hover { color: #000; }

@keyframes fadeInDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.pdf-viewer {
  width: 100%;
  border: none;
  overflow: hidden;
}
.pdf-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.table-file-cell {
  max-width: 450px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-baocao {
    margin: 0px;
    padding: 15px;
    border-radius: 10px;
    text-align: justify;
   box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

.item-baocao .btn {
  border-radius: 15px;          
}

.item-index {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ad0e2d;
    color: #fff;
    font-weight: 600;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

.panel-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
              rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  max-height: calc(100vh - 210px);
  min-height: calc(100vh - 210px);
  overflow-y: scroll;       
  scrollbar-width: none; 
}

.panel-box-codinh {
  overflow-y: auto;   
  max-height: 100%;
  min-height: calc(100vh - 210px);
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
              rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.panel-box::-webkit-scrollbar {
  display: none;    
}
.nav-tabs .nav-link { 
  text-align: center; 
}
.tab-content ul li { 
  text-align: justify; 
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.chart-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  max-height: 700px;
  overflow: auto;
}
.chart-card-unit {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}


/* VĂN BẢN */
.search-form-vanban {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.item-vanban {
    margin: 0px;
    padding: 15px;
    border-radius: 8px;
    text-align: justify;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

.item-vanban a {
    text-decoration: none;
    color: #333;
}

.item-vanban a:hover {
    color: #007bff;
}

.custom-line {
    margin-top: 5px;
    margin-bottom: 5px;
    border: 0;
    border-top: 1px solid #f3e8e8;
}


.wrap-tl table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wrap-tl table th {
    background-color: #930000;
    color: #fff;
    text-align: left;
    padding: 10px;
    border-bottom: 2px solid #ddd;
}

.wrap-tl table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.wrap-tl table tr:hover {
    background-color: #f1f1f1;
}

.wrap-tl table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.wrap-tl table td:first-child {
    text-align: center;
    width: 50px;
}

.wrap-tl table td a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wrap-tl table td a:hover {
    text-decoration: none;
    color: #0056b3;
}

.item-vanban .btn-delete {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 12px;
    color: #dc3545; 
    border: none;
    transition: all 0.2s ease-in-out;
}

.item-vanban .btn-delete i {
    color: #fff;
}

.item-vanban .btn-delete:hover {
    color: #bb2d3b; 
    transform: scale(1.05);
}


/* NHIỆM VỤ */
.toggle-text {
  display: inline-block;
  max-width: 600px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.toggle-text.expanded {
  display: block;
  white-space: normal;
  word-break: break-word;
  max-width: none;
}

.toggle-btn {
  margin-left: 6px;
  color: #007bff;
  cursor: pointer;
  text-decoration: none;
}

.toggle-btn:hover {
  color: #0056b3;
}


.status-badge {
  display: inline-block;
  margin: 2px 6px 6px 0;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  background: #f1f1f1;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
  cursor: pointer;
}
.status-badge span {
  font-weight: bold;
  color: #000;
}

.status-badge:hover {
  background: #e9f2ff;
  border-color: #0d6efd;
  color: #0d6efd;
  cursor: default;
}

.nhan-thong-ke {
  text-align: center;
  padding-bottom: 5px;
}
.status-badge[data-status="Chưa triển khai"] {
  background: #fff3cd;
  color: #856404;
  border-color: #ffeeba;
}
.status-badge[data-status="Đang thực hiện"] {
  background: #cce5ff;
  color: #004085;
  border-color: #b8daff;
}
.status-badge[data-status="Thực hiện thường xuyên"] {
  background: #e2e3e5;
  color: #383d41;
  border-color: #d6d8db;
}
.status-badge[data-status="Đã hoàn thành"] {
  background: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}
.status-badge[data-status="Không xác định"] {
  background: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}
.status-badge-label {
  display: inline-block;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border-radius: 12px;
  text-transform: none;
}

.status-chua-trien-khai { background: #6c757d; } 
.status-dang-thuc-hien { background: #ffc107; color:#000; } 
.status-thuong-xuyen    { background: #17a2b8; }  
.status-da-hoan-thanh   { background: #28a745; }  
.status-qua-han         { background: #dc3545; }
.status-chua-cap-nhat   { background: #adb5bd; color:#000; }  


.statuscount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 25px;
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.15);
  transition: all 0.15s ease-in-out;
}

.statuscount .countnum {
  background: rgba(255, 255, 255);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  color: #ff0000;
}

.statuscount:hover {
  transform: scale(1.05);
  box-shadow: 0 0 6px rgba(0,0,0,0.25);
  text-decoration: none;
}

.status-dang-thuc-hien.statuscount,
.status-chua-cap-nhat.statuscount {
  color: #000;
}

.table-wrapper {
  flex: 1;               
  overflow-y: auto;     
  margin-top: 10px;
}

.modal-xxl {
  max-width: 95% !important;
  width: 95% !important;
  height: 90vh;
  margin: auto;
}
.modal-xxl .modal-content {
  height: 90vh;
  display: flex;
  flex-direction: column;
}
.modal-xxl .modal-body {
  overflow-y: auto;
  flex: 1;
}

.table-box-fixed {
  height: calc(100vh - 260px);
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  margin-top: 10px;
}
.table-box-fixed {
  max-height: calc(100vh - 180px);
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #dee2e6;
  border-radius: 5px;
}

.table-beauty {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
  table-layout: fixed;
}

.table-beauty thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, #c4162b 0%, #a30d1b 100%);
  color: #fff;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  padding: 10px 6px;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  border: none;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.2);
}


.table-beauty td {
  border: 1px solid #dee2e6;
  vertical-align: middle;
  padding: 6px 10px;
  background: #fff;
  transition: background 0.15s ease-in-out;
}

.table-beauty tbody tr:nth-child(odd):not(.table-secondary) { background-color: #fafafa; }
.table-beauty tbody tr:hover { background-color: #fff3cd; }

.table-beauty .table-secondary {
  background: #f8d7da !important;
  color: #a71d2a !important;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  vertical-align: middle;
}

.table-beauty td.ketqua-cell {
  padding: 0 !important;
  height: 100%;
  vertical-align: middle;
}

.table-beauty td.ketqua-cell textarea {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  resize: none;
  font-size: 13.5px;
  line-height: 1.6;
  padding: 10px 12px;
  box-sizing: border-box;
  display: block;
}

.table-beauty td.ketqua-cell:has(textarea:focus) {
  outline: 1px solid rgba(220,53,69,0.35);
  outline-offset: -1px;
  background-color: #fffaf9;
}

.table-beauty select {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 13.5px;
  padding: 6px;
  text-align: center;
  box-sizing: border-box;
  appearance: none;
}

.table-beauty select:focus {
  outline: 1px solid rgba(220,53,69,0.3);
  outline-offset: -1px;
  background-color: #fffaf9;
}

.table-beauty .btn {
  padding: 4px 8px;
  font-size: 13px;
  border-radius: 4px;
  margin: 0 1px;
}

.table-beauty a:not(.btn) {
  color: #c82333;               
  font-weight: 500;
  text-decoration: none;
  transition: 0.25s;
}

.table-beauty a:not(.btn):hover {
  color: #ff7f50;                 
  background-color: #fff6f6;
  border-radius: 4px;
  padding: 1px 3px;
}

.table-beauty tbody tr:hover a:not(.btn) {
  color: #dc3545;
}


@media print {
  .table-beauty .btn, .no-print { display: none !important; }
}



.nav-tabs {
  flex-wrap: wrap;
}
.nav-tabs .nav-item { margin-right: 4px; }
.nav-tabs .nav-link {
  border: none !important;
  background: transparent !important;
  color: #555 !important;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px !important;
  transition: all 0.2s ease;
}
.nav-tabs .nav-link:hover {
  background: #ffeaea !important;
  color: #dc3545 !important;
}
.nav-tabs .nav-link.active {
  background: #ffeaea !important;
  color: #dc3545 !important;
}
.nav-tabs .badge {
  font-size: 12px !important;
  background: #fff !important;
  color: #dc3545 !important;
  margin-left: 4px;
}

.table-modern {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.table-modern thead th {
  position: sticky;       
  top: 0;
  background: #bb1f3a;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  z-index: 2;
}

.table-modern th, 
.table-modern td {
  padding: 6px 10px;
  font-size: 14px;
  text-align: justify;
}

.table-modern tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.table-modern tbody tr:hover {
  background: #f9f9f9;
}

.table-modern td a {
  text-decoration: none;
  font-size: 13px;
}

.table input[disabled] {
  background: #f8f9fa;
  cursor: not-allowed;
}

.table-modern input.form-control {
  width: 100%;
  height: 34px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 8px;
  color: #333;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
}

.table-modern input.form-control:focus {
  border-color: #bb1f3a;
  box-shadow: 0 0 0 2px rgba(187, 31, 58, 0.15);
  outline: none;
}

.table-modern input.form-control[disabled] {
  background-color: #f8f9fa;
  color: #888;
  cursor: not-allowed;
  border-color: #e1e1e1;
}


@media (max-width: 768px) {
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 15px;
  }

  .table-modern {
    min-width: 700px;
    font-size: 13px;
  }

  .table-modern th, 
  .table-modern td {
    white-space: nowrap;
    padding: 8px 10px;
  }

  .table-modern th:last-child,
  .table-modern td:last-child {
    right: 0;
    position: sticky;
    background: #fff;
    z-index: 5;
  }

  .table-modern thead th:last-child {
    background: #bb1f3a;
    color: #fff;
  }
}

.dashboard-alert {
  color: #000000;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 5px;
  text-align: justify;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.alert-icon {
  width: 35px;
  height: 35px;
  color: #b40000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-icon i {
  font-size: 18px;
  animation: ring 1.3s infinite;
}

@keyframes ring {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  50% { transform: rotate(5deg); }
  60% { transform: rotate(-5deg); }
  70%, 100% { transform: rotate(0deg); }
}


.badge {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
}
.result-count {
  background: #e9f3ff;
  color: #0d6efd;
  border: 1px solid #b6daff;
  border-radius: 6px;
  padding: 8px 14px;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.btn-print {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    color: #444;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    font-size: 14px;
}

.btn-print:hover {
    background: #053873;   
    border-color: #053873;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.btn-print:active {
    transform: scale(0.95);
}

.setup-container {
  min-height: calc(100vh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.setup-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-items: center;
  align-items: center;
}

.setup-card {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width: 200px;
  height: 130px;
  background:#f8f9fa;
  border:1px solid #ddd;
  border-radius:12px;
  text-decoration:none;
  color:#333;
  transition:all 0.2s ease;
}
.setup-card:hover {
  background:#053873;
  color:#fff;
  transform:translateY(-5px);
  box-shadow:0 6px 12px rgba(0,0,0,0.2);
}
#fileList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.file-chip .remove-btn {
  border: none;
  background: transparent;
  color: #dc3545;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.file-chip .remove-btn:hover {
  color: #a71d2a;
}
.list-file {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}

.file-chip {
    padding: 0px 15px 0px 0px;
    text-decoration: none;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.file-chip:hover {
  color: #007bff;
  border-color: #ffc107;
  text-decoration: none;
}

.file-chip i {
    font-size: 12px;
  color: #007bff;
}

.file-chip a {
  text-decoration: none;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 250px;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}
.stats-card {
  flex: 1;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  text-align: center;
  cursor: pointer;
}

.stats-title {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  margin-bottom: 5px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
.stats-value {
  font-size: 28px;
  font-weight: 700;
}
.stats-card.total     {color:#000;}
.stats-card.doing     {color:#5a3ec8;}
.stats-card.done      {color:#8a2be2;}
.stats-card.overtime  {color:#e60000;}
.stats-card.pending   {color:#555;}
.stats-card.often     {color:#ff6b35;}


.menu-toggle-login {
  position: fixed;
  top: 35px;
  right: 20px;
  color: #ad0e2d;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.menu-toggle-login i {
  font-size: 18px;
}

.menu-toggle-login:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.menu-toggle {
  display: none !important;
}

@media (max-width: 992px) {
  .header-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0px 20px;
  }
  .header {
    padding-top: 40px;
    padding-bottom: 70px;
  }
  .header h1 {
    font-size: 15px;
    margin-top: 8px;
  }

  .header h5 {
    font-size: 8px;
  }

  .logo {
    width: 50px;
    margin-top: 30px;
  }

  .inforDisplay {
    padding-top: 20px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .day, .user {
    font-size: 13px;
  }

  .menu-toggle {
      display: block !important;
      position: absolute;
      right: 15px;
      top: 20px;
      background: none;
      border: none;
      font-size: 26px;
      color: #fff;
      cursor: pointer;
      z-index: 1001;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    right: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    padding: 10px 0;
    width: 220px;
  }

  .menu ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .menu ul li {
    border-bottom: 1px solid #f2f2f2;
  }

  .menu ul li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-align: left;
    border-radius: 0;
  }

  .menu ul li a.active_menu {
    background: #ad0e2b;
    color: #fff !important;
  }

  .menu.open {
    display: flex;
    animation: fadeInDown 0.3s ease;
  }


  .wrap-noidung, .wrap-noidung-tk, .wrap-noidung-thongke {
    padding-top: 160px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 5px;
  }

  .panel-box {
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 20px;
    max-height: calc(100vh - 210px);
    min-height: calc(100vh - 210px);
    overflow-y: scroll;       
    scrollbar-width: none; 
        box-shadow: none;
    border-radius: 0px;
  }

  .panel-box-codinh {
    overflow-y: auto;   
    max-height: 100%;
    min-height: calc(100vh - 210px);
    padding: 20px;
    background: #fff;
    box-shadow: none;
    border-radius: 0px;
  }

  .dashboard-alert {
    margin-top: 10px;
}
.item-vanban {
    margin: 0px 15px;
}
.item-baocao {
    margin: 0px 15px;
}

.mb-2 {
  padding: 15px;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

form.row.g-2.align-items-center.mb-2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 10px !important;
    box-sizing: border-box;
  }

  form.row.g-2.align-items-center.mb-2 > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  form.row.g-2.align-items-center.mb-2 select,
  form.row.g-2.align-items-center.mb-2 input,
  form.row.g-2.align-items-center.mb-2 button,
  form.row.g-2.align-items-center.mb-2 a {
    max-width: 100% !important;
  }

.toggle-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;       
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
  transition: all 0.3s ease;
}

.toggle-text.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* icon xem thêm */
.toggle-btn {
  margin-left: 6px;
  color: #007bff;
  cursor: pointer;
  text-decoration: none;
}
.toggle-btn:hover {
  color: #0056b3;
}
.text-uppercase {
  font-size: 14px;
  font-weight: bold;
}
.text-justify {
 text-align: justify;
}

.setup-menu {
    padding-top: 30px;
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px;
  }
  .setup-card {
    width: 180px;
    height: 120px;
  }
}
