.khung-noidung,
.y-kien-vbqppl-block {
  background-color: #fff;
  margin-top: 12px;
  padding: 8px 20px;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(25, 90, 148, 0.15);
  margin-bottom: 16px;
}

main.container-fluid.mt-4 {
  min-height: calc(100vh - 347px);
}

@media (min-width: 992px) {
  main.container-fluid.mt-4 {
    margin-top: 16px !important;
  }
  .container-fluid.web-links-content {
    padding-left: 16px;
    padding-right: 16px;
  }
  main.container-fluid {
    padding-left: 24px;
    padding-right: 24px;
  }
  .main-content-row {
    display: flex;
    flex-wrap: nowrap;
  }
  .main-content-col {
    flex: 0 0 56%;
    min-width: 0;
    padding-left: 6px;
    padding-right: 6px;
    max-width: 56%;
  }
  .tintuc-content-col {
    flex: 0 0 78%;
    min-width: 0;
    padding-left: 6px;
    padding-right: 6px;
    max-width: 78%;
  }
  .main-content-row .col-3,
  .sidebar-col {
    flex: 0 0 22%;
    max-width: 22%;
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (min-width: 1681px) {
  header.header-top {
    padding: 6px;
  }
  .main-footer .container-fluid,
  .bottom-menu-content,
  .container-fluid.web-links-content,
  .header-top .container-fluid,
  .navbar.main-menu-nav .container-fluid-max-xl,
  main.container-fluid {
    max-width: 1600px !important;
    position: relative;
    padding-left: 0;
    padding-right: 0;
  }
}
.form-group {
  margin-bottom: 10px;
}

.form-group label {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-control:not(.input-group-text) {
  padding: 3px 10px;
  border: 1px solid #747474;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
}

/* Đặt chiều cao mặc định cho input và select */
input.form-control:not(.input-group-text),
select.form-control {
  height: 28px;
}

/* Áp dụng style cho các ô input có icon (input-group) */
.input-group {
  border: 1px solid #747474;
  border-radius: 4px;
  overflow: hidden;
  height: 28px;
}

/* Bỏ viền của input và icon bên trong input-group để tránh bị viền kép */
.input-group .form-control,
.input-group .input-group-text {
  border: none;
  background-color: #fff;
  height: 100%;
  min-width: unset;
  padding: 0 8px;
}

/* Tùy chỉnh riêng cho select box để có mũi tên dropdown */
select.form-control {
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7' fill='none'%3e%3cpath d='M5.50003 6.25012L0.903442 1.65354L2.43636 0.121704L5.50003 3.18645L8.56369 0.121704L10.0966 1.65354L5.50003 6.25012Z' fill='%23747474'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
  padding-right: 30px;
}

.article-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
  margin-bottom: 0px;
}

@media (max-width: 991.98px) {
  .an-mobile {
    display: none !important;
  }
  body {
    background-color: #fff;
  }
  .khung-noidung {
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
  }
}
/* ------------------------------------------- */
/* CSS cho Khối Nhiệm Vụ, Quyền Hạn (Component 3.png) */
/* ------------------------------------------- */
.chucnang-nhiemvu-quyenhan-page-container {
  box-shadow: 0 0 60px rgba(25, 90, 148, 0.15);
  padding: 12px 20px 8px 20px;
  border-radius: 8px;
  background-color: #fff;
  margin-bottom: 20px;
}

.task-block {
  background-color: #fff;
  border-radius: 8px; /* Bo góc khối lớn */
  margin-bottom: 12px;
  overflow: hidden; /* Quan trọng để tiêu đề sát góc */
  border: solid 1px #2a78e3;
}

/* Tiêu đề Khối */
.task-header {
  background-color: #2a78e3; /* Nền xanh */
  color: #fff;
  padding: 6px 12px 6px 112px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  min-height: 42px;
}

.task-block.khongthugon .task-header {
  padding-left: 12px;
}

.task-header h2 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
  flex-grow: 1; /* Chiếm hết khoảng trống */
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
}

.task-header .btn-collapse-all {
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity 0.2s;
  padding: 0 8px 0 12px;
  background: rgba(25, 90, 148, 0.5411764706);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  gap: 6px;
}

.task-header .btn-collapse-all:hover {
  opacity: 1;
}

/* Nội dung bên trong */
.task-content {
  padding: 20px;
}

/* Kiểu dáng chung cho các Mục */
.task-item {
  margin-bottom: 8px;
}

/* Mục nội dung ngắn (Static Item) */
.static-task-item {
  border: 1px solid #eaeaea; /* Border mỏng */
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

/* Mục Nội dung dài (Collapse/Accordion Item) */
.accordion-item-task {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  background-color: #fff;
}

.accordion-button-task {
  font-size: 15px;
  color: #000;
  background-color: #fbfbfb; /* Nền tiêu đề */
  padding: 6px 12px;
  width: 100%;
  text-align: left;
  border: 1px solid transparent; /* Thêm border trong suốt để không bị giật layout khi hover */
  border-radius: 0; /* Bỏ bo góc của button cũ */
  position: relative; /* Cần cho icon */
  padding-right: 30px; /* Dành chỗ cho icon */
  transition: background-color 0.2s;
  cursor: pointer;
  line-height: 1.6;
  border-radius: 8px;
  min-height: 42px;
}

.accordion-button-task:hover {
  background-color: #fcfcfc;
  background-color: #f0f0f0;
}

.accordion-icon-task {
  transition: transform 0.2s;
  font-size: 16px;
  color: #6c757d;
  position: absolute;
  right: 12px;
  top: 12px;
}

.accordion-button-task:not(.collapsed) .accordion-icon-task {
  transform: rotate(180deg); /* Xoay mũi tên khi mở */
  color: #0d6efd;
}

.accordion-body-task {
  padding: 15px;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  text-align: justify;
}

.history-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
  display: inline-block;
}

.content-meta {
  font-size: 13px;
  color: #999;
  text-align: right;
  margin-bottom: 15px;
}

@media (max-width: 991.98px) {
  .history-title {
    font-size: 18px;
    text-align: justify;
  }
  .chucnang-nhiemvu-quyenhan-page-container {
    box-shadow: unset;
    padding-left: 0;
    padding-right: 0;
  }
  .task-block {
    max-height: calc(100vh - 150px);
    overflow-x: hidden;
    overflow-y: auto;
  }
  .task-block .task-header {
    padding: 6px 12px 6px 32px;
    position: sticky;
    top: -1px;
    z-index: 10;
  }
  .task-header .btn-collapse-all {
    padding: 0;
    font-size: 23px;
    background: transparent;
    color: #bedaff;
  }
}
/* Ghi đè style của Clay để phù hợp với thiết kế */
.article-breadcrumb .breadcrumb {
  margin-bottom: 0; /* Bỏ margin-bottom mặc định của breadcrumb */
  font-size: 13px;
  padding: 0px 0 2px 0;
  background: transparent;
  box-shadow: unset;
}

.article-breadcrumb .breadcrumb-item a {
  color: #f65050;
  text-decoration: none;
}

.breadcrumb-item + .breadcrumb-item::before {
  margin-top: -0.26em;
}

.article-breadcrumb .breadcrumb-item {
  line-height: 1;
}

.article-breadcrumb .breadcrumb-item.active,
.article-breadcrumb .breadcrumb-item .active {
  font-weight: normal;
  color: #667085;
}

/* Thanh Header chứa Tiêu đề khối, Cỡ chữ và Công cụ */
.article-header-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
  border-bottom: solid 1px #e7e7e7;
  margin-bottom: 12px;
}

/* Phần Tiêu đề khối (TIN THANH TRA) */
.article-section-title {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  color: #195a94;
}

.article-section-title i {
  color: #195a94; /* Màu xanh cho icon */
  margin-right: 8px;
  font-size: 20px;
}

/* Phần Cỡ chữ (A- A A+) */
.article-font-sizer {
  display: flex;
  font-size: 16px;
  font-weight: 700;
  margin-left: auto; /* Đẩy sang phải */
  align-items: end;
  height: 25px;
  margin-bottom: -4px;
}

.article-font-sizer a {
  color: #195a94; /* Màu xanh cho các nút */
  text-decoration: none;
  padding: 0 2px;
  margin: 0px 1px;
  transition: color 0.1s;
  font-family: serif;
  line-height: 1;
}

.article-font-sizer a:hover {
  color: #e60000;
}

/* Phần In/Gửi bạn bè */
.article-tools-actions {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.article-tool-btn {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 4px 3px 4px;
  border: 1px solid #e7e7e7;
  text-decoration: none !important;
  margin-left: 8px;
  border-radius: 2px;
  line-height: 1;
}

.article-tool-btn:hover {
  background-color: #f0f0f0;
}

.article-tool-btn i {
  color: #747474;
  margin-right: 5px;
}

.article-font-sizer small {
  font-weight: normal;
  padding-right: 4px;
  padding-bottom: 5px;
}

.tangcochu {
  font-size: 2rem;
}

.article-font-sizer .giamcochu {
  padding-bottom: 2px;
}

.article-header-toolbar.gop-y {
  height: 38px;
  text-transform: uppercase;
}

.article-header-toolbar.gop-y .btn-primary {
  background-color: #2a78e3;
  border-color: #2a78e3;
  color: #fff;
  border-radius: 8px;
  text-transform: uppercase;
  padding: 5px 8px 5px 16px;
  gap: 10px;
  display: flex;
  align-items: center;
}

@media (max-width: 991.98px) {
  .article-header-toolbar {
    height: 42px;
    padding-top: 6px;
  }
  .article-font-sizer .giamcochu {
    padding: 2px 10px;
    font-size: 23px;
  }
  .article-font-sizer .tangcochu {
    padding: 0 5px;
  }
  .article-font-sizer {
    margin-right: -10px !important;
  }
}
/* ------------------------------------------- */
/* CẬP NHẬT CSS cho Thanh Cuối Bài Viết (Frame 214.png) */
/* ------------------------------------------- */
.article-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  margin-top: 12px;
}

/* Đường kẻ ngang màu xám */
.article-footer-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 1px;
  background-color: #888; /* Màu xám */
  z-index: 1;
  margin: 0px 0px 0px 30px; /* Trừ khoảng cách cho nút quay lại và icon */
}

/* Nút mũi tên quay lại */
.footer-back-btn {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  background-color: #195a94; /* Màu xanh dương */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.footer-back-btn:hover {
  background-color: #0056b3;
  color: #fff;
  text-decoration: none;
}

/* Khối Icon Mạng Xã Hội */
.footer-social-icons {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  background-color: #fff; /* Màu xám cho nền icon */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #747474;
  font-size: 21px;
  margin-left: 8px; /* Khoảng cách giữa các icon */
  text-decoration: none;
  transition: background-color 0.2s;
  border: solid 1px #888;
}

.social-icon-btn:not(.zalo):hover {
  background-color: #0d6efd; /* Đổi màu khi hover */
  color: #fff;
  border-color: #0d6efd;
  text-decoration: none;
}

.social-icon-btn.zalo .zaloxanh {
  display: none;
}

.social-icon-btn.zalo:hover .zaloxam {
  display: none;
}

.social-icon-btn.zalo:hover .zaloxanh {
  display: block;
}

.social-icon-btn:hover.facebook {
  background-color: #4281ff;
  border-color: #4281ff;
}

.social-icon-btn:hover.twitter {
  background-color: #1da1f2;
  border-color: #1da1f2;
}

.social-icon-btn:hover.linkedin {
  background-color: #0077b5;
  border-color: #0077b5;
}

/* Căn chỉnh lại thanh điều hướng Previous/Next (Tách riêng khỏi Footer Bar) */
.article-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px dotted #ccc;
  margin-top: 30px; /* Giữ khoảng cách trên thanh đen */
}

/* ------------------------------------------- */
/* CẬP NHẬT CSS cho Khối Tài Liệu Đính Kèm */
/* ------------------------------------------- */
.attachment-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.attachment-link-container {
  display: inline-flex; /* Giữ flex để căn chỉnh các item bên trong */
  align-items: center;
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 10px;
  transition: all 0.2s;
  line-height: 1;
}

.attachment-link-container:hover {
  background-color: #e9f5ff;
  border-color: #0d6efd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.attachment-link-container a {
  font-size: 14px;
  color: #009ae5;
  text-decoration: none;
  font-weight: normal;
  display: inline-block; /* Thay đổi từ flex sang inline-block */
  white-space: nowrap; /* Ngăn không cho text xuống dòng */
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attachment-link-container a i {
  margin-right: 8px;
  font-size: 14px;
  color: #747474;
  vertical-align: middle; /* Căn icon theo chiều dọc với text */
}

.modal-open .modal-backdrop.fade {
  opacity: 0.8;
}
.modal-open .modal.thuctd .modal-dialog {
  margin-top: 100px;
}
.modal-open .modal.thuctd .modal-dialog .modal-content {
  max-height: calc(100vh - 140px);
}