.dt-wrapper { width: 100%; }

.dt-buttons { margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px; }

.dt-button {
  display: inline-block;
  padding: 6px 12px;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: all .15s;
}
.dt-button:hover { background-color: #e6e6e6; border-color: #adadad; color: #333; }

.dt-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.dt-length select, .dt-filter input { padding: 4px 8px; border: 1px solid #ddd; border-radius: 4px; }
.dt-filter input { width: 180px; max-width: 100%; }
.dt-length label, .dt-filter label { margin: 0; font-weight: 400; }

.dt-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.dt-info { color: #333; }

.dt-paginate { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.dt-paginate .dt-btn {
  min-width: 34px;
  padding: 4px 10px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  color: #007bff;
  font-size: 14px;
}
.dt-paginate .dt-btn.active { background: #007bff; color: #fff; border-color: #007bff; }
.dt-paginate .dt-btn:disabled { color: #aaa; cursor: not-allowed; }
.dt-paginate .dt-ellipsis { padding: 4px 6px; color: #999; }

.dt-table { width: 100%; border-collapse: collapse; }
.dt-table th, .dt-table td { padding: 8px 10px; border: 1px solid #dee2e6; vertical-align: middle; }
.dt-table thead th { background: #e9ecef; }
.dt-empty { text-align: center; color: #999; padding: 20px !important; }

/* Table row action icon colors (applies to every table: dt-table, mt-table, ...) */
a.act-view,
a.act-edit,
a.act-delete {
  text-decoration: none;
  transition: color .15s ease-in-out;
}

a.act-view { color: #007bff; }
a.act-view:hover { color: #0056b3; }

a.act-edit { color: #28a745; }
a.act-edit:hover { color: #1e7e34; }

a.act-delete { color: #dc3545; }
a.act-delete:hover { color: #bd2130; }
