.aqab-card {
  --aqab-accent: #0d6efd;
  --aqab-accent-soft: rgba(13, 110, 253, 0.08);
  --aqab-border: #dbe3ee;
  --aqab-text: #182230;
  --aqab-muted: #667085;
  background: #ffffff;
  border: 1px solid var(--aqab-border);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.aqab-header {
  background: linear-gradient(135deg, #1f1f1f 0%, #1e1e1e 100%);
  color: #ffffff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.aqab-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aqab-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #20c997 0%, #198754 100%);
  color: #ffffff;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(25, 135, 84, 0.35);
}

.aqab-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  color: #ffffff;
}

.aqab-subtitle {
  margin: 3px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}

.aqab-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.aqab-btn {
  border-radius: 12px !important;
  padding-inline: 14px;
  min-height: 38px;
  font-weight: 600;
}

.aqab-body {
  padding: 18px;
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(13, 110, 253, 0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.aqab-toolbar {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 12px;
  margin-bottom: 14px;
}

.aqab-filter-card,
.aqab-stat-card {
  background: #ffffff;
  border: 1px solid var(--aqab-border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.aqab-filter-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--aqab-muted);
  font-weight: 700;
}

.aqab-input-wrap {
  position: relative;
}

.aqab-input-icon {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #98a2b3;
  font-size: 15px;
  pointer-events: none;
}

.aqab-input {
  min-height: 46px;
  border-radius: 12px !important;
  border: 1px solid #d0d9e5 !important;
  padding-inline-start: 38px !important;
  box-shadow: none !important;
}

.aqab-input:focus {
  border-color: rgba(13,110,253,0.45) !important;
  box-shadow: 0 0 0 0.22rem rgba(13,110,253,0.12) !important;
}

.aqab-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.aqab-stat-card {
  min-width: 150px;
  flex: 1 1 0;
}

.aqab-stat-label {
  display: block;
  color: var(--aqab-muted);
  font-size: 0.84rem;
  margin-bottom: 6px;
  font-weight: 700;
}

.aqab-stat-value {
  display: block;
  color: var(--aqab-text);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
}

.aqab-status {
  border-radius: 14px !important;
  border: 1px solid var(--aqab-border) !important;
  margin-bottom: 14px !important;
  font-weight: 600;
}

.aqab-table-shell {
  background: #ffffff;
  border: 1px solid var(--aqab-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.aqab-table-wrap {
  overflow: auto;
}

.aqab-table thead th {
  white-space: nowrap;
  background: #f8fafc;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 800;
  border-bottom: 1px solid #dde4ee !important;
}

.aqab-table tbody td {
  vertical-align: middle;
  font-size: 0.95rem;
  color: #182230;
}

.aqab-card .dataTables_wrapper {
  padding: 14px;
}

.aqab-card .dataTables_filter,
.aqab-card .dataTables_length {
  display: none;
}

.aqab-card .dataTables_info,
.aqab-card .dataTables_paginate {
  margin-top: 20px;
}

.aqab-card .page-link {
  border-radius: 10px !important;
  margin-inline: 2px;
}

.aqab-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.aqab-chip {
  border: 1px solid #d6deea;
  background: #fff;
  color: #344054;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}

.aqab-chip:hover,
.aqab-chip.is-active {
  background: var(--aqab-accent-soft);
  border-color: rgba(13,110,253,0.25);
  color: #0b5ed7;
}

@media (max-width: 991px) {
  .aqab-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .aqab-body {
    padding: 12px;
  }

  .aqab-header {
    padding: 14px;
  }

  .aqab-title {
    font-size: 1.05rem;
  }
}



/* Custom pagination override */
.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .paginate_button a,
.dataTables_wrapper .dataTables_paginate .pagination .page-link {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
color: #d8a107;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:focus,
.dataTables_wrapper .dataTables_paginate .paginate_button:active,
.dataTables_wrapper .dataTables_paginate .paginate_button a:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button a:focus,
.dataTables_wrapper .dataTables_paginate .paginate_button a:active,
.dataTables_wrapper .dataTables_paginate .pagination .page-link:hover,
.dataTables_wrapper .dataTables_paginate .pagination .page-link:focus,
.dataTables_wrapper .dataTables_paginate .pagination .page-link:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #111 !important;
}

.dataTables_wrapper .dataTables_paginate .pagination .page-item.active .page-link,
.dataTables_wrapper .dataTables_paginate .pagination .page-item.active .page-link:hover,
.dataTables_wrapper .dataTables_paginate .pagination .page-item.active .page-link:focus {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #111 !important;
  border-color: #fefefe !important;
}

.dataTables_wrapper .dataTables_info {
  text-align: center !important;
  margin-top: 10p% !important;
  font-family: 'Cairo', sans-serif !important;
  width: 100%;
}

.btn.btn-dark.btn-sm.aqab-btn.aqab-reload {
background: #e6b81c;}

.aqab-status.alert.alert-success {
--bs-alert-bg: #e6b81c;
}