.section-comments {
    width: auto;
    padding-top: 15px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.cm-hidden {
    display: none !important;
}

.section-comments .list-inline {
    margin: -5px 0 5px -5px;
    padding-left: 0;
    list-style: none;
    margin-left: -5px;
}

.list-inline>li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}

.section-comments .panel-body {
    padding: 0px;
}

.section-comments .list-group {
    margin-bottom: 0;
}

.section-comments .list-inline {
    margin: -5px 0 5px -5px;
}

.section-comments .panel-title {
    padding-left: 15px;
}

.section-comments .label-info {
    float: right;
}

.section-comments .action {
    margin-top: 5px;
}

.section-comments .comment-title {
    font-size: 13px;
    font-weight: bold;
}

.section-comments .comment-text {
    font-size: 13px;
}

.section-comments .btn-block {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.li-list-group {
    border: 1px dotted #ddd;
    border-right: none;
    border-top: none;
}

.title-comment {
    text-align: center;
    margin-top: 20px;
}
.search-form {
    border-bottom: 1px dotted #ddd;
    border: 1px solid #d0d0d0;
    padding: 16px;
    border-radius: 5px;
}

#datasets-table {
  max-width: 100%;
}

#resources-table {
  max-width: 100%;
  /* table-layout: fixed; */
}

#datasets-table th, td {
  word-break: break-word;
  white-space: normal;
}

#datasets-table th:nth-child(1) {
  width: 5%;
}

#datasets-table th:nth-child(2) {
  width: 7%;
}

#datasets-table th:nth-child(3) {
  width: 28%;
}

#datasets-table th:nth-child(4),
th:nth-child(5),
th:nth-child(6),
th:nth-child(7),
th:nth-child(8),
th:nth-child(9) {
  width: 10%;
}

table.dataTable {
  width: 100% !important;
  margin: 0 auto;
  border-spacing: 0;
}

#datasets-table th {
  vertical-align: middle;
}

#resources-table th {
  vertical-align: middle;
}

.table-custom{
  --bs-table-bg: #0a77bd;
  color: #fff;
}

.text-center {
  text-align: center !important;
}

#datasetCommentTable th.sortable {
  position: relative;
  cursor: pointer;
  padding-right: 28px;
  user-select: none;
}

/* #datasetCommentTable th.sortable:hover {
  background-color: rgba(255, 255, 255, 0.08);
} */

#datasetCommentTable th.sortable .sort-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 14px;
  transform: translateY(-50%);
}

#datasetCommentTable th.sortable .sort-icon::before,
#datasetCommentTable th.sortable .sort-icon::after {
  position: absolute;
  left: 0;
  display: block;
  font-size: 10px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.45);
}

#datasetCommentTable th.sortable .sort-icon::before {
  top: 0;
  content: "▲";
}

#datasetCommentTable th.sortable .sort-icon::after {
  bottom: 0;
  content: "▼";
}

#datasetCommentTable th.sortable.sort-asc .sort-icon::before,
#datasetCommentTable th.sortable.sort-desc .sort-icon::after {
  color: rgba(255, 255, 255, 0.95);
}

#datasetCommentTable th.sortable.sort-asc .sort-icon::after,
#datasetCommentTable th.sortable.sort-desc .sort-icon::before {
  color: rgba(255, 255, 255, 0.2);
}


/* Dashboard Dataset Comment – layout classes */

/* Filter form */
.dcm-filter-form {
    margin-bottom: 20px;
}

/* Keep all filter controls aligned to the same width */
.dcm-filter-form .form-group > select,
.dcm-filter-form .form-group > input {
  width: 100%;
}

.dcm-filter-form .form-group .select2-container {
  width: 100% !important;
}

.dcm-filter-form .form-group .select2-container .select2-choice {
  height: 34px;
  line-height: 34px;
}

.dcm-filter-form .form-group .select2-container .select2-choice > .select2-chosen {
  line-height: 34px;
}

/* Filter action row (Lọc / Xóa / Xuất báo cáo) */
.dcm-filter-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 25px;
}

.dcm-filter-actions .btn + .btn {
    margin-left: 5px;
}

/* Stats row */
.dcm-stats-row {
    margin-bottom: 30px;
}

.dcm-stat-col {
    margin-bottom: 15px;
}

/* Stat card base */
.dcm-stat-card {
    border-radius: 10px;
    padding: 20px 15px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dcm-stat-card--blue {
    background: linear-gradient(135deg, #5b9bd5 0%, #3a7abf 100%);
    box-shadow: 0 4px 12px rgba(58, 122, 191, 0.3);
}

.dcm-stat-card--green {
    background: linear-gradient(135deg, #5cb85c 0%, #3d8b3d 100%);
    box-shadow: 0 4px 12px rgba(61, 139, 61, 0.3);
}

.dcm-stat-card--yellow {
    background: linear-gradient(135deg, #f0ad4e 0%, #c87d1a 100%);
    box-shadow: 0 4px 12px rgba(200, 125, 26, 0.3);
}

.dcm-stat-card--red {
    background: linear-gradient(135deg, #d9534f 0%, #a02020 100%);
    box-shadow: 0 4px 12px rgba(160, 32, 32, 0.3);
}

/* Decorative background icon */
.dcm-stat-icon {
    position: absolute;
    right: -10px;
    top: -10px;
    font-size: 60px;
    opacity: 0.15;
    line-height: 1;
}

/* Stat label text */
.dcm-stat-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 10px;
}

/* Stat numeric value */
.dcm-stat-value {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
}

/* Trend chart panel */
.dcm-chart-panel {
    margin-bottom: 30px;
}

.dcm-chart-body {
    height: 340px;
}

/* Pager wrapper */
.dcm-pager {
    padding: 0 15px 15px;
}