/**
 * eBayt UI Standard v1.0
 * Bootstrap enhancement layer shared by all eBayt Vxx systems.
 * Bootstrap remains the foundation; this file only standardises eBayt visual patterns.
 */
:root{
  --ebui-primary:#075f70;
  --ebui-primary-2:#0b7f8f;
  --ebui-accent:#26dad2;
  --ebui-ink:#172033;
  --ebui-muted:#667085;
  --ebui-line:#e4eaf0;
  --ebui-soft:#f6f9fb;
  --ebui-white:#fff;
  --ebui-danger:#dc4c4c;
  --ebui-warning:#b87900;
  --ebui-success:#087a54;
  --ebui-radius:14px;
  --ebui-control-height:40px;
}

/* Page / Hero */
.ebayt-ui{font-family:inherit;color:var(--ebui-ink)}
.ebayt-ui *{box-sizing:border-box}
.ebayt-hero{
  width:100%;min-height:126px;padding:18px 22px;margin:0 0 14px;
  display:flex;flex-direction:column;justify-content:center;
  position:relative;overflow:hidden;color:#fff;
  border-radius:15px;background:linear-gradient(135deg,#064f5f 0%,#087685 72%,#0a8792 100%);
  box-shadow:0 10px 26px rgba(7,95,112,.16)
}
.ebayt-hero:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-90px;top:-115px;border:32px solid rgba(255,255,255,.06)}
.ebayt-hero-eyebrow{font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#9af4ef;margin-bottom:6px}
.ebayt-hero-title{font-size:21px;line-height:1.25;font-weight:800;margin:0 0 6px;color:#fff!important}
.ebayt-hero-subtitle{font-size:12px;line-height:1.5;color:rgba(255,255,255,.84);margin:0;max-width:none;width:100%}

/* Filter */
.ebayt-filter{background:#fff;border:1px solid var(--ebui-line);border-radius:var(--ebui-radius);padding:15px 16px;margin-bottom:14px;box-shadow:0 4px 18px rgba(23,32,51,.05)}
.ebayt-filter-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.ebayt-filter-title{font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:800;color:#123f4c;display:flex;gap:8px;align-items:center}
.ebayt-filter-title:before{content:"";display:block;width:3px;height:18px;border-radius:3px;background:var(--ebui-accent)}
.ebayt-filter-note{font-size:10px;color:#8a96a7}
.ebayt-filter .row{align-items:flex-end}
.ebayt-filter .form-group{margin-bottom:0!important}
.ebayt-filter label,.ebayt-filter .control-label{font-size:10px!important;letter-spacing:.045em;text-transform:uppercase;font-weight:800!important;color:#68758a!important;margin:0 0 6px!important;padding:0!important}
.ebayt-filter .form-control{height:var(--ebui-control-height)!important;border:1px solid #dbe3ea!important;border-radius:9px!important;background:#fbfcfd!important;font-size:12px!important;color:#25344b!important;padding:7px 10px!important;box-shadow:none!important}
.ebayt-filter .form-control:focus{border-color:#7edbd7!important;box-shadow:0 0 0 3px rgba(38,218,210,.12)!important}
.ebayt-btn-search{height:var(--ebui-control-height)!important;border:0!important;border-radius:9px!important;background:linear-gradient(135deg,var(--ebui-primary),var(--ebui-primary-2))!important;color:#fff!important;font-size:11px!important;font-weight:800!important;padding:0 18px!important;box-shadow:0 5px 12px rgba(7,95,112,.16)!important}
.ebayt-btn-search i{margin-right:6px}

/* Result / Table */
.ebayt-result-card{background:#fff;border:1px solid var(--ebui-line);border-radius:var(--ebui-radius);box-shadow:0 4px 18px rgba(23,32,51,.05);overflow:hidden}
.ebayt-result-card.card-body,.ebayt-result-card>.card-body,.ebayt-result-card#resultquery{padding:0!important}

/* Generic DataTable shell. This is the standard tabledata presentation for every Vxx. */
.ebayt-table-zone{padding:0;background:#fff}
.ebayt-table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid #edf1f4;flex-wrap:wrap}
.ebayt-table-heading{display:flex;align-items:center;gap:10px;min-width:0}
.ebayt-table-icon{width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:#eaf8f8;color:var(--ebui-primary);display:flex;align-items:center;justify-content:center;font-size:15px}
.ebayt-table-heading strong{display:block;font-size:15px;line-height:1.25;color:#172033;font-weight:800}
.ebayt-table-heading span{display:block;font-size:11.5px;line-height:1.35;color:#7c899a;margin-top:2px}
.ebayt-btn-add{border:1px solid #bcecea!important;background:#effafa!important;color:var(--ebui-primary)!important;border-radius:9px!important;height:38px!important;padding:0 14px!important;font-size:12px!important;font-weight:800!important;box-shadow:none!important}
.ebayt-btn-add:hover{background:#dff7f5!important;border-color:#9cddd8!important}

/* DataTables top/bottom controls */
.ebayt-table-zone .dataTables_wrapper{width:100%;padding:0}
.ebayt-table-zone .dataTables_wrapper:after{content:"";display:block;clear:both}
.ebayt-table-zone .dataTables_length,
.ebayt-table-zone .dataTables_filter{font-size:12px!important;color:#4f5b6b!important;margin:0!important;padding:12px 18px!important;font-weight:600}
.ebayt-table-zone .dataTables_length{float:left!important}
.ebayt-table-zone .dataTables_filter{float:right!important;text-align:right!important}
.ebayt-table-zone .dataTables_length label,
.ebayt-table-zone .dataTables_filter label{margin:0!important;font-size:12px!important;font-weight:600!important;color:#555f6e!important;display:flex!important;align-items:center!important;gap:8px!important;text-transform:none!important;letter-spacing:0!important}
.ebayt-table-zone .dataTables_length select{height:38px!important;min-width:68px!important;border:1px solid #d8e0e8!important;border-radius:9px!important;background:#fff!important;color:#172033!important;padding:5px 28px 5px 10px!important;font-size:13px!important;font-weight:700!important;box-shadow:none!important;margin:0!important}
.ebayt-table-zone .dataTables_filter input{height:38px!important;width:260px!important;max-width:34vw!important;border:1px solid #d8e0e8!important;border-radius:10px!important;background:#fff!important;color:#172033!important;padding:7px 12px!important;font-size:12.5px!important;box-shadow:none!important;margin-left:0!important}
.ebayt-table-zone .dataTables_filter input:focus,
.ebayt-table-zone .dataTables_length select:focus{outline:0!important;border-color:#8edbd7!important;box-shadow:0 0 0 3px rgba(38,218,210,.11)!important}

/* Table frame */
.ebayt-table-zone .table-responsive{clear:both;border-top:1px solid #edf1f4;border-bottom:1px solid #edf1f4;border-left:0;border-right:0;border-radius:0;overflow:auto;margin:0!important}
.ebayt-table-zone table.dataTable,
.ebayt-table-zone table.ebayt-table{margin:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important;border:0!important;font-size:12.5px!important;color:#2c3b51!important}
.ebayt-table-zone table caption{display:none!important}
/* Compact table header standard — aligned with V12 Prestasi Program */
.ebayt-table-zone table thead th{height:40px;background:#f5f7fa!important;color:#4a586d!important;text-transform:uppercase!important;letter-spacing:.035em!important;font-size:10.5px!important;line-height:1.15!important;font-weight:800!important;padding:8px 10px!important;border:0!important;border-bottom:1px solid #dfe6ed!important;white-space:nowrap!important;vertical-align:middle!important}
.ebayt-table-zone table tbody td{min-height:58px;padding:15px 12px!important;border:0!important;border-bottom:1px solid #e9eef3!important;color:#344054!important;vertical-align:middle!important;background:#fff!important;font-size:12.5px!important;line-height:1.42!important}
.ebayt-table-zone table tbody tr:nth-child(even) td{background:#fbfcfd!important}
.ebayt-table-zone table tbody tr:hover td{background:#f5fbfb!important}
.ebayt-table-zone table tbody tr:last-child td{border-bottom:0!important}
.ebayt-table-zone .text-wrap{white-space:normal!important;line-height:1.42!important;font-weight:750;color:#26364d}
.ebayt-table-zone .code{font-weight:800;color:#4b596c}
.ebayt-table-zone .ebayt-col-no{width:58px;text-align:center!important;white-space:nowrap}
.ebayt-table-zone .ebayt-col-ref{width:100px;white-space:nowrap;font-weight:800}
.ebayt-table-zone .ebayt-col-main{min-width:280px}
.ebayt-table-zone .ebayt-col-action{width:150px;min-width:150px;text-align:center!important;white-space:nowrap!important}
.ebayt-table-zone .ebayt-col-action.ebayt-col-action-sm{width:82px;min-width:82px}
.ebayt-table-zone .ebayt-col-progress{width:100px;min-width:100px;text-align:center!important;white-space:nowrap!important}
.ebayt-table-zone thead .ebayt-col-action{text-align:center!important}

/* DataTables sorting glyphs: keep them subtle and aligned with the header. */
.ebayt-table-zone table.dataTable thead .sorting,
.ebayt-table-zone table.dataTable thead .sorting_asc,
.ebayt-table-zone table.dataTable thead .sorting_desc{background-position:right 8px center!important;padding-right:26px!important}

/* Standard table action icons. Bootstrap .btn stays the base. */
.ebayt-actions{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.ebayt-action{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border-radius:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:none!important;margin:0!important;font-size:14px!important;line-height:1!important;transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease!important}
.ebayt-action i{margin:0!important;line-height:1!important}
.ebayt-action-view{background:#fff8e9!important;color:#b97700!important;border:1px solid #ffd47b!important}
.ebayt-action-edit{background:#ebfaf9!important;color:#078a86!important;border:1px solid #a9e5e1!important}
.ebayt-action-delete{background:#fff1f1!important;color:#d33b3b!important;border:1px solid #ffbcbc!important}
.ebayt-action-pdf{background:#fff1f1!important;color:#bd3434!important;border:1px solid #ffcaca!important}
.ebayt-action-print{background:#f2f5f8!important;color:#445269!important;border:1px solid #dbe4e9!important}
.ebayt-action:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(23,32,51,.08)!important}
.ebayt-action:focus{outline:0!important;box-shadow:0 0 0 3px rgba(38,218,210,.12)!important}

/* Badge / status */
.ebayt-table-zone .badge,.ebayt-badge{display:inline-flex;align-items:center;justify-content:center;font-size:11px!important;line-height:1!important;min-width:58px;min-height:28px;padding:7px 11px!important;border-radius:999px!important;font-weight:800!important;border:0!important}
.ebayt-table-zone .bg-success,.ebayt-badge-success{background:#e8f8f1!important;color:#087a54!important}
.ebayt-table-zone .bg-warning,.ebayt-badge-warning{background:#fff6df!important;color:#a36a00!important}
.ebayt-table-zone .bg-danger,.ebayt-badge-danger{background:#fff0f0!important;color:#bd3434!important}

/* DataTables footer / pagination */
.ebayt-table-zone .dataTables_info,
.ebayt-table-zone .dataTables_paginate{font-size:11.5px!important;color:#748094!important;padding:13px 18px 15px!important;margin:0!important}
.ebayt-table-zone .dataTables_info{float:left!important}
.ebayt-table-zone .dataTables_paginate{float:right!important;text-align:right!important}
.ebayt-table-zone .dataTables_wrapper .dataTables_paginate .paginate_button{min-width:34px!important;height:34px!important;line-height:32px!important;padding:0 9px!important;margin:0 2px!important;border:1px solid transparent!important;border-radius:8px!important;background:#fff!important;color:#566277!important;font-size:11.5px!important}
.ebayt-table-zone .dataTables_wrapper .dataTables_paginate .paginate_button:hover{background:#f1f6f8!important;color:#075f70!important;border-color:#dbe8eb!important}
.ebayt-table-zone .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.ebayt-table-zone .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{background:var(--ebui-primary)!important;color:#fff!important;border-color:var(--ebui-primary)!important}


/* KPI / status summary cards - generic reusable summary for data modules */
.ebayt-status-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 18px 4px;background:#fff}
.ebayt-status-box{position:relative;overflow:hidden;border:1px solid var(--ebui-line);border-radius:11px;padding:12px 14px;background:#fff;min-height:70px}
.ebayt-status-box:after{content:"";position:absolute;right:-12px;top:-20px;width:58px;height:58px;border-radius:50%;background:#f6f8fb}
.ebayt-status-box .lbl{position:relative;z-index:1;font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:800;color:#667085;margin-bottom:6px}
.ebayt-status-box .val{position:relative;z-index:1;font-size:22px;font-weight:850;line-height:1;color:#172033}
.ebayt-status-box.good{border-left:4px solid var(--ebui-accent)}
.ebayt-status-box.watch{border-left:4px solid #ffb22b}
.ebayt-status-box.critical{border-left:4px solid #ef5350}
.ebayt-status-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0;padding:11px 18px 14px;border-top:1px solid #eef1f4;color:#667085;font-size:11px;background:#fff}
.ebayt-status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.ebayt-status-dot.good{background:var(--ebui-accent)}
.ebayt-status-dot.watch{background:#ffb22b}
.ebayt-status-dot.critical{background:#ef5350}

/* Loading / skeleton / empty / error - standard reusable states */
.ebayt-skeleton{position:relative;overflow:hidden;background:#edf1f4;border-radius:8px;min-height:12px}
.ebayt-skeleton:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation:ebaytSkeleton 1.25s infinite}
.ebayt-skeleton-line{height:12px;margin:10px 0}
.ebayt-skeleton-table{padding:16px}
.ebayt-skeleton-table .ebayt-skeleton{height:38px;margin:8px 0}
@keyframes ebaytSkeleton{100%{transform:translateX(100%)}}
.ebayt-empty,.ebayt-error{padding:28px 18px;text-align:center;border:1px dashed #dfe6eb;border-radius:12px;background:#fbfcfd;color:#6b7788;font-size:12px}
.ebayt-error{background:#fff8f8;border-color:#f1d5d5;color:#a23d3d}

/* Search helper row hover */
.ebayt-search-table>tbody>tr:hover{background:#E8F9FB;cursor:pointer}

@media(max-width:900px){.ebayt-status-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.ebayt-status-summary{grid-template-columns:1fr}}

@media(max-width:767px){
  .ebayt-hero{min-height:112px;height:auto;padding:15px 16px;border-radius:13px}
  .ebayt-filter-head{align-items:flex-start;flex-direction:column;gap:4px}
  .ebayt-table-toolbar{align-items:flex-start;padding:14px}
  .ebayt-table-zone .dataTables_length,.ebayt-table-zone .dataTables_filter{float:none!important;width:100%!important;padding:10px 14px!important}
  .ebayt-table-zone .dataTables_filter label{justify-content:space-between!important}
  .ebayt-table-zone .dataTables_filter input{width:100%!important;max-width:none!important;flex:1 1 auto!important}
  .ebayt-table-zone .dataTables_info,.ebayt-table-zone .dataTables_paginate{float:none!important;width:100%;text-align:center!important;padding:10px 14px!important}
  .ebayt-table-zone table thead th{font-size:10.5px!important}
  .ebayt-table-zone table tbody td{font-size:12px!important}
}


/* =========================================================
   eBayt UI Standard — Executive / Performance Presentation
   Reusable by V12, V16 and other systems
   ========================================================= */
.ebayt-exec-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 18px 4px;background:#fff}
.ebayt-exec-stat{position:relative;overflow:hidden;border:1px solid var(--ebui-line);border-radius:11px;padding:12px 14px;background:#fff;min-height:70px}
.ebayt-exec-stat:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#cfd7df}
.ebayt-exec-stat.good:before{background:var(--ebui-accent)}
.ebayt-exec-stat.watch:before{background:#ffb22b}
.ebayt-exec-stat.critical:before{background:#ef5350}
.ebayt-exec-stat .lbl{font-size:10px;text-transform:uppercase;letter-spacing:.055em;font-weight:800;color:#667085;margin-bottom:6px}
.ebayt-exec-stat .val{font-size:22px;font-weight:850;line-height:1;color:#172033}
.ebayt-table-meta{display:inline-flex;align-items:center;gap:7px;border:1px solid #dce6eb;background:#f5fafb;color:#0f6679;border-radius:9px;padding:7px 10px;font-size:11px;font-weight:800;white-space:nowrap}
.ebayt-manager{display:flex;align-items:center;gap:10px;min-width:260px}
.ebayt-manager-avatar{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;border-radius:10px;background:#eaf8f8;border:1px solid #cbeae8;color:#087b76;font-size:11px;font-weight:900;letter-spacing:.04em}
.ebayt-manager strong{display:block;color:#26364d;font-size:12px;line-height:1.3;font-weight:800}
.ebayt-manager small{display:block;margin-top:2px;color:#98a2b3;font-size:10px;font-weight:650}
.ebayt-dept{display:flex;align-items:flex-start;gap:7px;min-width:210px;color:#475467;font-size:11.5px;font-weight:650;line-height:1.35}
.ebayt-dept i{margin-top:2px;color:#0f7b87;font-size:11px}
.ebayt-kpi-count{display:inline-flex;flex-direction:column;align-items:center;min-width:82px;padding:6px 8px;border:1px solid #e5eaf0;border-radius:9px;background:#fafbfc}
.ebayt-kpi-count strong{font-size:15px;line-height:1;color:#172033;font-weight:850}
.ebayt-kpi-count span{margin-top:4px;font-size:9px;color:#8a95a5;font-weight:700;text-transform:uppercase}
.ebayt-performance{min-width:190px}
.ebayt-performance-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.ebayt-performance-label{font-size:10px;color:#7a8699;font-weight:700}
.ebayt-performance-track{height:6px;border-radius:999px;background:#eef2f5;overflow:hidden}
.ebayt-performance-track span{display:block;height:100%;border-radius:999px}
.ebayt-performance-track span.good{background:var(--ebui-accent)}
.ebayt-performance-track span.watch{background:#ffb22b}
.ebayt-performance-track span.critical{background:#ef5350}
.ebayt-performance-track.compact{width:90px;margin:6px auto 0;height:4px}
.ebayt-performance-badge{display:inline-flex;min-width:58px;justify-content:center;padding:6px 9px;border-radius:999px;font-size:10.5px;font-weight:850}
.ebayt-performance-badge.good{background:#e8f8f1;color:#087a54}
.ebayt-performance-badge.watch{background:#fff6df;color:#a36a00}
.ebayt-performance-badge.critical{background:#fff0f0;color:#bd3434}
.ebayt-performance-mini{display:flex;flex-direction:column;align-items:center;gap:4px}
.ebayt-performance-mini .count{font-size:10px;color:#667085;font-weight:650;text-align:center}
.ebayt-status-legend strong{color:#475467}
@media(max-width:900px){.ebayt-exec-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ebayt-manager{min-width:220px}.ebayt-dept{min-width:190px}}
@media(max-width:520px){.ebayt-exec-summary{grid-template-columns:1fr}}

/* =========================================================
   eBayt UI Standard — iziModal
   Reference: V12 > Pemantauan KPI > Prestasi Program
   MainLayout owns the modal shell; modules only provide title/content.
   ========================================================= */
.ebayt-modal.iziModal{
  border-radius:16px!important;
  overflow:hidden!important;
  box-shadow:0 24px 70px rgba(15,35,48,.24)!important;
  border:0!important;
}
.ebayt-modal .iziModal-header{
  min-height:64px!important;
  padding:0 18px!important;
  display:flex!important;
  align-items:center!important;
  background:linear-gradient(118deg,#073f51 0%,#075d6d 72%,#0b7180 100%)!important;
  border-bottom:1px solid rgba(255,255,255,.11)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.07) inset!important;
}
/* Default iziModal icon remains available for legacy/plain titles. */
.ebayt-modal .iziModal-header-icon{
  width:36px!important;height:36px!important;min-width:36px!important;
  margin:0 11px 0 0!important;border-radius:9px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:rgba(255,255,255,.10)!important;color:#fff!important;
  font-size:17px!important;line-height:36px!important;text-align:center!important;
}
/* A branded title already carries its own icon, so avoid duplicate icons.
   .ebayt-modal-branded is the reliable cross-browser switch; :has() stays as fallback. */
.ebayt-modal.ebayt-modal-branded .iziModal-header-icon,
.ebayt-modal .iziModal-header:has(.ebayt-modal-brand-icon) .iziModal-header-icon,
.ebayt-modal .iziModal-header:has(.kpi-modal-brand-icon) .iziModal-header-icon{display:none!important;width:0!important;min-width:0!important;margin:0!important;padding:0!important}
.ebayt-modal .iziModal-header-title{
  display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important;
  margin:0!important;color:#fff!important;font-family:inherit!important;font-size:14px!important;
  font-weight:600!important;line-height:1.25!important;letter-spacing:0!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.ebayt-modal-brand-icon,
.ebayt-modal .kpi-modal-brand-icon{
  display:block!important;width:36px!important;height:36px!important;object-fit:contain!important;
  flex:0 0 36px!important;padding:4px!important;border-radius:9px!important;
  background:rgba(255,255,255,.08)!important;
}
.ebayt-modal-title-path,
.ebayt-modal .kpi-modal-title-path{
  display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;
  color:rgba(255,255,255,.78)!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.ebayt-modal-title-path strong,
.ebayt-modal .kpi-modal-title-path strong{color:#fff!important;font-weight:800!important}
.ebayt-modal-sep,
.ebayt-modal .kpi-modal-sep{color:rgba(255,255,255,.35)!important;font-weight:400!important}
.ebayt-modal .iziModal-header-buttons{
  right:14px!important;margin-top:-18px!important;display:flex!important;gap:6px!important;
}
.ebayt-modal .iziModal-button{
  width:36px!important;height:36px!important;opacity:.92!important;border-radius:10px!important;
  background-color:rgba(255,255,255,.10)!important;background-size:58%!important;
  transition:background-color .18s ease,opacity .18s ease!important;
}
.ebayt-modal .iziModal-button:hover{
  background-color:rgba(255,255,255,.19)!important;opacity:1!important;transform:none!important;
}
.ebayt-modal .iziModal-button-close:hover{transform:none!important}
.ebayt-modal .iziModal-content{background:#f4f7f9!important}
.ebayt-modal .iziModal-loader{background:rgba(255,255,255,.96)!important}
.ebayt-modal-body{padding:18px;background:#f4f7f9}
.ebayt-modal-footer{
  display:flex;align-items:center;justify-content:flex-end;gap:8px;
  padding:12px 18px;border-top:1px solid #e4eaf0;background:#fff;
}
@media(max-width:720px){
  .ebayt-modal .iziModal-header{min-height:58px!important;padding:0 12px!important}
  .ebayt-modal-brand-icon,.ebayt-modal .kpi-modal-brand-icon{width:32px!important;height:32px!important;flex-basis:32px!important}
  .ebayt-modal .iziModal-header-icon{width:32px!important;height:32px!important;min-width:32px!important;line-height:32px!important}
  .ebayt-modal .iziModal-header-title{font-size:12px!important}
  .ebayt-modal-title-path span:not(:last-child),
  .ebayt-modal .kpi-modal-title-path span:not(:last-child){display:none!important}
  .ebayt-modal .iziModal-header-buttons{right:10px!important}
}


/* =========================================================
   Cross-system list extensions (V16 pilot: Permohonan > Senarai Muallaf)
   These remain generic and are available to every Vxx module.
   ========================================================= */
.ebayt-ui .ebayt-filter .custom-select,
.v16-module-body .ebayt-ui .ebayt-filter .form-control,
.v16-module-body .ebayt-ui .ebayt-filter .custom-select{
  height:var(--ebui-control-height)!important;min-height:var(--ebui-control-height)!important;
  border:1px solid #dbe3ea!important;border-radius:9px!important;background-color:#fbfcfd!important;
  color:#25344b!important;font-size:12px!important;font-weight:600!important;padding:7px 10px!important;
  box-shadow:none!important;line-height:normal!important
}
.v16-module-body .ebayt-ui .ebayt-filter .form-control:focus,
.v16-module-body .ebayt-ui .ebayt-filter .custom-select:focus{
  border-color:#7edbd7!important;box-shadow:0 0 0 3px rgba(38,218,210,.12)!important
}
.v16-module-body .ebayt-ui .ebayt-filter input[readonly]{background:#f4f7f9!important;color:#536174!important;font-weight:750!important}
.ebayt-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr)) auto;gap:12px;align-items:end}
.ebayt-filter-field{min-width:0}
.ebayt-filter-actions{display:flex;align-items:center;gap:8px;min-height:var(--ebui-control-height);white-space:nowrap}
.ebayt-btn-add-solid{height:var(--ebui-control-height)!important;border:1px solid var(--ebui-primary)!important;border-radius:9px!important;background:var(--ebui-primary)!important;color:#fff!important;padding:0 14px!important;font-size:11px!important;font-weight:800!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;box-shadow:0 5px 12px rgba(7,95,112,.13)!important}
.ebayt-btn-add-solid:hover{background:#064f5f!important;border-color:#064f5f!important;color:#fff!important}
.ebayt-btn-add-solid i{margin:0!important}

/* Table rules with enough specificity to win over legacy Vxx list themes. */
.v16-module-body .ebayt-ui .ebayt-table-zone .table-responsive{border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;margin:0!important}
.v16-module-body .ebayt-ui .ebayt-table-zone table,
.v16-module-body .ebayt-ui .ebayt-table-zone table.dataTable{
  width:100%!important;margin:0!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;
  font-size:12.5px!important;background:#fff!important
}
.v16-module-body .ebayt-ui .ebayt-table-zone table thead th,
.v16-module-body .ebayt-ui .ebayt-table-zone table.dataTable thead th{
  height:40px!important;padding:8px 10px!important;background:#f5f7fa!important;color:#4a586d!important;
  border:0!important;border-bottom:1px solid #dfe6ed!important;font-size:10.5px!important;line-height:1.15!important;
  font-weight:800!important;letter-spacing:.035em!important;text-transform:uppercase!important;vertical-align:middle!important;white-space:nowrap!important
}
.v16-module-body .ebayt-ui .ebayt-table-zone table tbody td,
.v16-module-body .ebayt-ui .ebayt-table-zone table.dataTable tbody td{
  padding:13px 10px!important;border:0!important;border-bottom:1px solid #e9eef3!important;background:#fff!important;
  color:#344054!important;font-size:12px!important;line-height:1.42!important;vertical-align:middle!important
}
.v16-module-body .ebayt-ui .ebayt-table-zone table tbody tr:nth-child(even) td{background:#fbfcfd!important}
.v16-module-body .ebayt-ui .ebayt-table-zone table tbody tr:hover td{background:#f2f9fa!important;color:#26364d!important}
.ebayt-table-zone td.ebayt-name{min-width:250px;font-weight:750!important;color:#26364d!important;white-space:normal!important}
.ebayt-table-zone td.ebayt-muted-strong{font-weight:700!important;color:#536174!important}
.ebayt-table-zone .ebayt-col-place{min-width:135px}
.ebayt-table-zone .ebayt-col-district{min-width:105px}
.ebayt-table-zone .ebayt-col-id{min-width:125px;white-space:nowrap}

/* Status pills are useful when the status is categorical rather than numeric. */
.ebayt-status-pill{display:inline-flex;align-items:center;gap:6px;min-height:27px;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:800;line-height:1;white-space:nowrap}
.ebayt-status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:0 0 6px}
.ebayt-status-info{background:#edf4ff;color:#3267a8}
.ebayt-status-danger{background:#fff0f0;color:#b94a4a}
.ebayt-status-warning{background:#fff6e8;color:#a56b17}
.ebayt-status-success{background:#eaf8f2;color:#247c61}

/* Server-side pager standard for large datasets. */
.ebayt-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px 14px;border-top:1px solid #edf1f4;background:#fbfcfd}
.ebayt-pager-info{color:#748094;font-size:11px}.ebayt-pager-info strong{color:#475467;font-weight:800}
.ebayt-pager-controls{display:flex;align-items:center;gap:5px}
.ebayt-page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 9px;border:1px solid #dfe6ed;border-radius:8px;background:#fff;color:#566277;font-size:11px;font-weight:800;cursor:pointer;transition:.15s ease}
.ebayt-page-btn:hover:not(:disabled):not(.active){background:#f1f6f8;border-color:#d2e3e7;color:var(--ebui-primary)}
.ebayt-page-btn.active{background:var(--ebui-primary);border-color:var(--ebui-primary);color:#fff}
.ebayt-page-btn:disabled{opacity:.38;cursor:not-allowed}.ebayt-page-gap{padding:0 3px;color:#98a2b3;font-size:11px}

/* DataTables export-only toolbar, used with server-side paging. */
.ebayt-table-zone .dt-buttons{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;float:left!important;margin:10px 0 10px 18px!important}
.ebayt-table-zone .dt-button.ebayt-export{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;min-width:38px!important;height:36px!important;margin:0!important;padding:0!important;border:1px solid #dbe4e9!important;border-radius:8px!important;background:#fff!important;background-image:none!important;color:#445269!important;box-shadow:none!important;font-size:0!important}
.ebayt-table-zone .dt-button.ebayt-export:hover,.ebayt-table-zone .dt-button.ebayt-export:focus{background:#f2f6f8!important;border-color:#cddbe2!important;color:var(--ebui-primary)!important;box-shadow:0 0 0 3px rgba(38,218,210,.09)!important}
.ebayt-table-zone .dt-button.ebayt-export span{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;font-size:0!important}
.ebayt-table-zone .dt-button.ebayt-export svg.ebayt-export-icon{display:block!important;visibility:visible!important;opacity:1!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;overflow:visible!important;color:currentColor!important;flex:0 0 18px!important}
.ebayt-table-zone .dt-button.ebayt-export svg.ebayt-export-icon path,.ebayt-table-zone .dt-button.ebayt-export svg.ebayt-export-icon rect,.ebayt-table-zone .dt-button.ebayt-export svg.ebayt-export-icon circle{visibility:visible!important;opacity:1!important}
.ebayt-table-zone .dt-button.ebayt-export-copy{color:#526174!important}.ebayt-table-zone .dt-button.ebayt-export-pdf{color:#c63c3c!important}.ebayt-table-zone .dt-button.ebayt-export-csv{color:#247c61!important}.ebayt-table-zone .dt-button.ebayt-export-print{color:#3267a8!important}
.ebayt-table-zone .dt-button.ebayt-export-copy:hover,.ebayt-table-zone .dt-button.ebayt-export-copy:focus{color:#364152!important}.ebayt-table-zone .dt-button.ebayt-export-pdf:hover,.ebayt-table-zone .dt-button.ebayt-export-pdf:focus{color:#a92f2f!important}.ebayt-table-zone .dt-button.ebayt-export-csv:hover,.ebayt-table-zone .dt-button.ebayt-export-csv:focus{color:#17664d!important}.ebayt-table-zone .dt-button.ebayt-export-print:hover,.ebayt-table-zone .dt-button.ebayt-export-print:focus{color:#24558f!important}

/* Generic skeleton table for AJAX lists. */
.ebayt-skeleton-panel{padding:14px 16px;background:#fff;border:1px solid var(--ebui-line);border-radius:var(--ebui-radius);box-shadow:0 4px 18px rgba(23,32,51,.05)}
.ebayt-skeleton-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 0 12px}
.ebayt-skeleton-toolbar .ebayt-skeleton:first-child{width:160px;height:16px}.ebayt-skeleton-toolbar .ebayt-skeleton:last-child{width:110px;height:32px}
.ebayt-skeleton-grid{display:grid;grid-template-columns:48px 1fr .8fr .85fr 1.4fr .8fr;gap:12px;padding:13px 6px;border-top:1px solid #eef2f5}
.ebayt-skeleton-grid .ebayt-skeleton{height:13px}

@media(max-width:1100px){.ebayt-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ebayt-filter-actions{grid-column:1/-1}}
@media(max-width:767px){
  .ebayt-filter-grid{grid-template-columns:1fr}.ebayt-filter-actions{width:100%;flex-wrap:wrap}.ebayt-filter-actions .btn{flex:1 1 auto}
  .ebayt-pager{align-items:flex-start;flex-direction:column}.ebayt-pager-controls{width:100%;overflow-x:auto;padding-bottom:2px}
  .ebayt-table-zone .dt-buttons{float:none!important;margin:10px 14px 4px!important}
  .ebayt-skeleton-grid{grid-template-columns:40px 1fr 1fr}.ebayt-skeleton-grid .ebayt-skeleton:nth-child(n+4){display:none}
}

/* eBayt UI Standard: disabled row action (V16 Pengesah pilot) */
.ebayt-action:disabled,
.ebayt-action.disabled{
  opacity:.42!important;
  cursor:not-allowed!important;
  transform:none!important;
  box-shadow:none!important;
  filter:grayscale(.15);
}


/* =========================================================
   eBayt TableData toolbar + composite cells
   Standardised from V16 Pegawai Pengesah pilot.
   ========================================================= */
.ebayt-dt-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;border-bottom:1px solid #edf1f4;background:#fff;flex-wrap:wrap}
.ebayt-dt-head .dt-buttons{float:none!important;margin:0!important;padding:0!important;order:1}
.ebayt-dt-controls{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;margin-left:auto;order:2}
.ebayt-dt-head .dataTables_length,.ebayt-dt-head .dataTables_filter{float:none!important;padding:0!important;width:auto!important}
.ebayt-dt-head .dataTables_filter input{width:240px!important;max-width:32vw!important}
.ebayt-dt-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;clear:both;background:#fff}
.ebayt-dt-foot .dataTables_info,.ebayt-dt-foot .dataTables_paginate{float:none!important}
.ebayt-cell-primary{font-size:12.5px;font-weight:780;line-height:1.38;color:#2b3a50;white-space:normal}
.ebayt-cell-secondary{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:10.5px;font-weight:650;line-height:1.3;color:#7a8798;white-space:normal}
.ebayt-cell-secondary i{width:12px;text-align:center;color:#91a0b2;font-size:10px}
.ebayt-table-zone .ebayt-col-status{min-width:145px;white-space:nowrap}
.ebayt-table-zone .ebayt-col-action-md{width:104px!important;min-width:104px!important}

/* =========================================================
   Standard modal form shell
   Bootstrap stays the base; these rules normalise legacy forms.
   ========================================================= */
.ebayt-modal-form{padding:16px!important;background:#f4f7f9;color:#344054}
.ebayt-modal-form>.row:first-child{margin:0}
.ebayt-modal-form>.row:first-child>.col-md-3:empty{display:none}
.ebayt-modal-form .container-fluid{padding:0!important;max-width:100%}
.ebayt-modal-form .ebayt-form-card{border:1px solid #e1e8ee!important;border-radius:13px!important;background:#fff!important;box-shadow:0 5px 18px rgba(23,32,51,.055)!important;overflow:hidden!important;margin:0!important}
.ebayt-modal-form .ebayt-form-card>.card-body{padding:18px!important}
.ebayt-modal-form .ebayt-form-title{font-size:18px!important;font-weight:820!important;line-height:1.3!important;color:#172033!important;margin:0!important}
.ebayt-modal-form .ebayt-form-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:2px 2px 14px;border-bottom:1px solid #edf1f4}
.ebayt-modal-form .ebayt-form-head-copy{min-width:0;flex:1 1 auto}
.ebayt-modal-form .ebayt-form-eyebrow{margin-bottom:5px;color:var(--ebui-primary);font-size:9.5px;font-weight:850;letter-spacing:.075em;text-transform:uppercase}
.ebayt-modal-form .ebayt-form-head-copy p{margin:5px 0 0;color:#7a8798;font-size:11px;line-height:1.4}
.ebayt-modal-form .ebayt-form-ref{width:220px;flex:0 0 220px}
.ebayt-modal-form .ebayt-form-ref .form-control{text-align:center!important;font-weight:800!important;color:#26364d!important;background:#f7f9fb!important}
.ebayt-modal-form .ebayt-form-tabs{display:flex!important;gap:5px!important;flex-wrap:wrap!important;padding:7px!important;margin:15px 0 0!important;border:1px solid #e3e9ef!important;border-radius:11px!important;background:#f7f9fb!important}
.ebayt-modal-form .ebayt-form-tabs .nav-item{margin:0!important}
.ebayt-modal-form .ebayt-form-tabs .nav-link{border:0!important;border-radius:8px!important;padding:9px 12px!important;color:#667085!important;background:transparent!important;font-size:11px!important;font-weight:780!important;line-height:1.15!important;white-space:nowrap!important}
.ebayt-modal-form .ebayt-form-tabs .nav-link:hover{background:#eef5f6!important;color:var(--ebui-primary)!important}
.ebayt-modal-form .ebayt-form-tabs .nav-link.active{background:#fff!important;color:var(--ebui-primary)!important;box-shadow:0 2px 7px rgba(23,32,51,.08)!important}
.ebayt-modal-form .ebayt-form-tab-content{width:100%!important;padding-top:12px!important}
.ebayt-modal-form .tab-pane>.card-body,.ebayt-modal-form .tab-pane .card-body{padding:14px 4px!important}
.ebayt-modal-form .form-group{margin-bottom:10px!important}
.ebayt-modal-form label,.ebayt-modal-form .control-label{display:block!important;margin:0 0 5px!important;padding:0!important;color:#68758a!important;font-size:10.5px!important;font-weight:800!important;line-height:1.25!important;letter-spacing:.025em!important;text-transform:uppercase!important}
.ebayt-modal-form .form-control,.ebayt-modal-form .custom-select{width:100%!important;min-height:38px!important;height:38px!important;border:1px solid #dbe3ea!important;border-radius:8px!important;background:#fff!important;color:#2c3a50!important;font-size:12px!important;font-weight:620!important;line-height:1.3!important;padding:7px 10px!important;box-shadow:none!important}
.ebayt-modal-form textarea.form-control{height:auto!important;min-height:82px!important;resize:vertical}
.ebayt-modal-form .form-control[readonly],.ebayt-modal-form .form-control:disabled,.ebayt-modal-form .custom-select:disabled{background:#f5f7f9!important;color:#536174!important}
.ebayt-modal-form .form-control:focus,.ebayt-modal-form .custom-select:focus{border-color:#86dcd8!important;box-shadow:0 0 0 3px rgba(38,218,210,.11)!important;outline:0!important}
.ebayt-modal-form .card{border-color:#e3e9ef!important;box-shadow:none!important;border-radius:10px!important}
.ebayt-modal-form .card-title{color:#223047!important;font-weight:800!important}
.ebayt-modal-form .profile-pic{display:block!important;width:112px!important;height:112px!important;max-width:112px!important;max-height:112px!important;object-fit:cover!important;border-radius:14px!important;border:4px solid #fff!important;box-shadow:0 4px 15px rgba(23,32,51,.13)!important;margin:0 auto!important}
.ebayt-modal-form .file-upload{display:none!important}
.ebayt-modal-form .form-actions{margin-top:16px!important;padding:13px 0 0!important;border-top:1px solid #e8edf2!important}
.ebayt-modal-form .form-actions .text-left{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.ebayt-modal-form .ebayt-form-action,.ebayt-modal-form .form-actions .btn{min-height:38px!important;border-radius:8px!important;padding:0 14px!important;font-size:11px!important;font-weight:800!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;box-shadow:none!important}
.ebayt-modal-form .ebayt-form-action i,.ebayt-modal-form .form-actions .btn i{margin:0!important}
.ebayt-modal-form .ebayt-form-action-approve,.ebayt-modal-form .form-actions .btn-info{background:var(--ebui-primary)!important;border-color:var(--ebui-primary)!important;color:#fff!important}
.ebayt-modal-form .ebayt-form-action-reject,.ebayt-modal-form .form-actions .btn-danger{background:#fff1f1!important;border-color:#ffc0c0!important;color:#bd3434!important}
.ebayt-modal-form .table-responsive{border:1px solid #e3e9ef!important;border-radius:10px!important;overflow:auto!important}
.ebayt-modal-form table.table{margin:0!important;background:#fff!important;font-size:11.5px!important}
.ebayt-modal-form table.table thead th{padding:9px 10px!important;background:#f5f7fa!important;color:#526075!important;border:0!important;border-bottom:1px solid #dfe6ed!important;font-size:10px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.025em!important;vertical-align:middle!important}
.ebayt-modal-form table.table tbody td{padding:10px!important;border-color:#e9eef3!important;color:#3b495e!important;vertical-align:middle!important}
.ebayt-modal-form table.table tbody tr:hover td{background:#f3fafa!important}

@media(max-width:767px){
  .ebayt-dt-head{align-items:stretch;padding:10px 14px}.ebayt-dt-controls{width:100%;margin-left:0;justify-content:space-between}.ebayt-dt-head .dataTables_filter{flex:1 1 100%!important}.ebayt-dt-head .dataTables_filter label{width:100%!important}.ebayt-dt-head .dataTables_filter input{width:100%!important;max-width:none!important;flex:1 1 auto!important}
  .ebayt-dt-foot{align-items:center;flex-direction:column;padding-bottom:4px}.ebayt-modal-form{padding:10px!important}.ebayt-modal-form .ebayt-form-head{align-items:stretch;flex-direction:column}.ebayt-modal-form .ebayt-form-ref{width:100%;flex-basis:auto}.ebayt-modal-form .ebayt-form-card>.card-body{padding:13px!important}.ebayt-modal-form .ebayt-form-tabs{flex-wrap:nowrap!important;overflow-x:auto!important}.ebayt-modal-form .form-actions .btn{flex:1 1 auto!important}
}


/* v1.0.3 — Standard action icons: independent of Font Awesome availability */
.ebayt-action svg.ebayt-action-icon{
    display:block!important;
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
    color:currentColor!important;
    overflow:visible!important;
}
.ebayt-action svg.ebayt-action-icon path,
.ebayt-action svg.ebayt-action-icon rect,
.ebayt-action svg.ebayt-action-icon circle{
    visibility:visible!important;
    opacity:1!important;
}
.ebayt-table-icon:empty::before{
    content:"≡";
    display:block;
    font-size:20px;
    line-height:1;
    font-weight:800;
    color:currentColor;
}


/* Standard TableData heading icon */
.ebayt-table-icon .ebayt-table-icon-svg{
    display:block!important;
    width:20px!important;
    height:20px!important;
    color:currentColor!important;
    overflow:visible!important;
}
.ebayt-table-icon .ebayt-table-icon-svg *{
    visibility:visible!important;
    opacity:1!important;
}


/* =========================================================
   eBayt Standard — Registered/People Table & Server Paging
   ========================================================= */
.ebayt-filter-grid{display:grid;gap:14px;align-items:end}
.ebayt-filter-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ebayt-field-span-2{grid-column:span 2}
.ebayt-btn-svg{width:16px;height:16px;display:block;flex:0 0 16px}

.ebayt-person-cell{display:flex;flex-direction:column;gap:4px;min-width:0}
.ebayt-person-name{color:#26384d;font-size:12.5px;font-weight:850;line-height:1.3;white-space:normal;overflow-wrap:break-word}
.ebayt-person-original{color:#66758a;font-size:11.5px;font-weight:650;line-height:1.3;white-space:normal;overflow-wrap:break-word}
.ebayt-person-meta{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:3px}
.ebayt-person-meta span{display:inline-flex;align-items:center;gap:5px;color:#43556c;font-size:11px;font-weight:700;line-height:1.25}
.ebayt-person-meta b{color:#7a8797;font-size:9.5px;font-weight:850;text-transform:uppercase;letter-spacing:.025em}

.ebayt-address-cell{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#415269;font-size:11.5px;line-height:1.4}
.ebayt-syahadah-cell{display:flex;flex-direction:column;gap:2px;min-width:0;color:#44556b;font-size:11.2px;line-height:1.32}
.ebayt-syahadah-date{color:#2f4057;font-weight:850}
.ebayt-syahadah-file{color:#637388;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ebayt-syahadah-cell strong{margin-top:2px;color:#2f4057;font-size:11.5px}
.ebayt-syahadah-cell small{color:#657387;font-size:10.5px;font-weight:700}

.ebayt-photo-cell{display:flex;align-items:center;justify-content:center;width:100%}
.ebayt-photo-thumb{width:58px!important;height:74px!important;max-width:58px!important;max-height:74px!important;object-fit:cover!important;object-position:center top!important;border:1px solid #d8e1e9!important;border-radius:8px!important;background:#eef3f6!important;box-shadow:0 2px 5px rgba(34,54,74,.08)!important}
.ebayt-photo-thumb.is-placeholder{object-position:center;opacity:.82}

.ebayt-table-zone #listingresult{table-layout:fixed!important;width:100%!important;min-width:1180px!important}
.ebayt-table-zone #listingresult tbody td{vertical-align:middle!important;line-height:1.35!important;overflow-wrap:anywhere!important}
.ebayt-table-zone #listingresult.ebayt-has-image thead th:nth-child(4),
.ebayt-table-zone #listingresult.ebayt-has-image tbody td:nth-child(4){width:30%!important;min-width:330px!important}
.ebayt-table-zone #listingresult.ebayt-has-image thead th:nth-child(5),
.ebayt-table-zone #listingresult.ebayt-has-image tbody td:nth-child(5){width:20%!important;min-width:220px!important}
.ebayt-table-zone #listingresult.ebayt-no-image thead th:nth-child(4),
.ebayt-table-zone #listingresult.ebayt-no-image tbody td:nth-child(4){width:34%!important;min-width:350px!important}
.ebayt-table-zone #listingresult.ebayt-no-image thead th:nth-child(5),
.ebayt-table-zone #listingresult.ebayt-no-image tbody td:nth-child(5){width:24%!important;min-width:240px!important}

.ebayt-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-top:1px solid #e7edf2;background:#fff;color:#667085;font-size:11px;font-weight:650}
.ebayt-pager-controls{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.ebayt-page-size{height:32px;padding:0 28px 0 9px;border:1px solid #dfe5eb;border-radius:8px;background:#fff;color:#526175;font-size:10.5px;font-weight:700}
.ebayt-page-btn{min-width:32px;height:32px;padding:0 9px;border:1px solid #dfe5eb;border-radius:8px;background:#fff;color:#526175;font-size:11px;font-weight:750;cursor:pointer}
.ebayt-page-btn:hover:not(:disabled),.ebayt-page-btn.active{border-color:#90d8da;background:#edfafa;color:#08757b}
.ebayt-page-btn:disabled{opacity:.42;cursor:not-allowed}

.ebayt-skeleton-table{border:1px solid #e5eaf0;border-radius:15px;background:#fff;overflow:hidden}
.ebayt-skeleton-table-toolbar{height:58px;display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid #edf1f4}
.ebayt-skeleton-table-toolbar span{width:180px;height:13px;border-radius:6px;background:#edf2f6;animation:ebaytSkPulse 1.15s ease-in-out infinite}
.ebayt-skeleton-table-toolbar i{width:38px;height:34px;border-radius:8px;background:#edf2f6;animation:ebaytSkPulse 1.15s ease-in-out infinite}
.ebayt-skeleton-table-head,.ebayt-skeleton-table-row{display:grid;grid-template-columns:.5fr 1fr 1.4fr 2fr 1fr;gap:14px;align-items:center;padding:0 14px}
.ebayt-skeleton-table-head{height:40px;background:#f2f5f8;border-bottom:1px solid #dde5ec}
.ebayt-skeleton-table-row{min-height:62px;border-bottom:1px solid #edf1f4}
.ebayt-skeleton-table-head span,.ebayt-skeleton-table-row span{height:10px;border-radius:5px;background:#e9eef3;animation:ebaytSkPulse 1.15s ease-in-out infinite}
@keyframes ebaytSkPulse{0%,100%{opacity:.55}50%{opacity:1}}

.ebayt-empty,.ebayt-error{margin:14px;padding:26px 20px;border:1px solid #e2e8ee;border-radius:12px;background:#fff;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px}
.ebayt-empty strong,.ebayt-error strong{font-size:13px;color:#26384d}
.ebayt-empty span,.ebayt-error span{font-size:11.5px;color:#748196}
.ebayt-error{border-color:#f2d5d5;background:#fffafa}
.ebayt-error strong{color:#b03c3c}

@media(max-width:991px){
  .ebayt-filter-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .ebayt-filter-grid-4{grid-template-columns:1fr}
  .ebayt-field-span-2{grid-column:span 1}
  .ebayt-pager{align-items:flex-start;flex-direction:column}
  .ebayt-pager-controls{width:100%}
}


/* =========================================================
   eBayt Registered List — compact enterprise presentation
   Same visual language as Senarai Pengesahan
   ========================================================= */
.ebayt-table-registered .ebayt-table-toolbar{
    min-height:70px;
    padding:12px 16px;
}
.ebayt-table-registered .ebayt-table-title{
    font-size:15px;
    font-weight:850;
    color:#172237;
}
.ebayt-table-registered .ebayt-table-meta{
    font-size:11px;
}
.ebayt-table-context{
    display:inline-flex!important;
    align-items:center!important;
    gap:6px!important;
    min-height:34px;
    padding:0 11px!important;
    border:1px solid #d7e4e8;
    border-radius:9px;
    background:#f5fbfb;
    color:#086b75!important;
    font-weight:750!important;
}
.ebayt-meta-icon{width:14px;height:14px;display:block;flex:0 0 14px}

.ebayt-table-registered .ebayt-dt-head{
    min-height:58px;
    padding:10px 14px;
    border-top:1px solid #edf1f4;
    border-bottom:1px solid #edf1f4;
    background:#fff;
}
.ebayt-table-registered .dataTables_filter{
    margin-left:auto!important;
}
.ebayt-table-registered .dataTables_filter input{
    width:250px!important;
    height:38px!important;
}

.ebayt-table-registered table.ebayt-table{
    min-width:1050px!important;
    table-layout:fixed!important;
    margin:0!important;
}
.ebayt-table-registered table.ebayt-table thead th{
    height:40px!important;
    padding:8px 10px!important;
    font-size:10.5px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
}
.ebayt-table-registered table.ebayt-table tbody td{
    padding:11px 10px!important;
    vertical-align:middle!important;
    font-size:12px!important;
}
.ebayt-table-registered table.ebayt-table tbody tr{
    min-height:72px!important;
}
.ebayt-table-registered table.ebayt-table tbody tr:hover{
    background:#f5fafb!important;
}

.ebayt-table-registered .ebayt-col-no{width:52px!important;text-align:center!important}
.ebayt-table-registered .ebayt-col-location{width:130px!important}
.ebayt-table-registered .ebayt-col-main{width:310px!important}
.ebayt-table-registered .ebayt-col-contact{width:245px!important}
.ebayt-table-registered .ebayt-col-syahadah{width:230px!important}
.ebayt-table-registered .ebayt-col-photo{width:88px!important;text-align:center!important}
.ebayt-table-registered .ebayt-col-action-sm{width:72px!important;text-align:center!important}

.ebayt-location-cell{display:flex;flex-direction:column;gap:4px;min-width:0}
.ebayt-location-cell .ebayt-cell-primary{
    font-size:12.5px;
    font-weight:850;
    color:#26384d;
    line-height:1.25;
}
.ebayt-location-cell .ebayt-cell-secondary{
    font-size:10.5px;
    font-weight:700;
    color:#8190a4;
    line-height:1.25;
}
.ebayt-contact-cell{display:flex;flex-direction:column;gap:7px;min-width:0}
.ebayt-contact-phone{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#43556c;
    font-size:11px;
    font-weight:750;
}
.ebayt-contact-phone span{
    color:#8a97a8;
    font-size:9px;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.ebayt-table-registered .ebayt-address-cell{
    color:#42546b;
    font-size:11px;
    line-height:1.4;
    -webkit-line-clamp:2;
}
.ebayt-table-registered .ebayt-person-name{
    font-size:12.5px;
    line-height:1.25;
}
.ebayt-table-registered .ebayt-person-original{
    font-size:10.8px;
    color:#7b8798;
}
.ebayt-table-registered .ebayt-person-meta{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:3px;
    margin-top:3px;
}
.ebayt-table-registered .ebayt-person-meta span{
    display:grid;
    grid-template-columns:82px minmax(0,1fr);
    gap:6px;
    font-size:10.5px;
}
.ebayt-table-registered .ebayt-person-meta b{
    font-size:8.8px;
    color:#8a97a8;
}
.ebayt-syahadah-primary{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:0 8px;
    border-radius:7px;
    background:#eef7f7;
    color:#086f77;
    font-size:10.8px;
    font-weight:850;
}
.ebayt-syahadah-meta{
    display:grid;
    gap:3px;
    margin-top:5px;
}
.ebayt-syahadah-meta span{
    display:grid;
    grid-template-columns:72px minmax(0,1fr);
    gap:6px;
    color:#526175;
    font-size:10.2px;
    font-weight:650;
    line-height:1.25;
}
.ebayt-syahadah-meta b{
    color:#8995a6;
    font-size:8.8px;
    text-transform:uppercase;
    letter-spacing:.03em;
}
.ebayt-table-registered .ebayt-photo-thumb{
    width:52px!important;
    height:66px!important;
    border-radius:9px!important;
}
.ebayt-table-registered .ebayt-actions{
    justify-content:center;
}
.ebayt-table-registered .ebayt-action{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    border-radius:9px!important;
}

.ebayt-table-registered .ebayt-pager{
    min-height:54px;
    padding:10px 14px;
}
.ebayt-table-registered .ebayt-pager-info{
    color:#69778b;
    font-size:10.8px;
}
.ebayt-table-registered .ebayt-pager-info strong{
    color:#2d3d52;
}

@media(max-width:1200px){
    .ebayt-table-registered table.ebayt-table{min-width:1020px!important}
}
@media(max-width:767px){
    .ebayt-table-registered .ebayt-table-toolbar{
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
    }
    .ebayt-table-context{align-self:flex-start}
    .ebayt-table-registered .ebayt-dt-head{
        flex-direction:column;
        align-items:stretch;
        gap:9px;
    }
    .ebayt-table-registered .dataTables_filter,
    .ebayt-table-registered .dataTables_filter input{
        width:100%!important;
        margin:0!important;
    }
}


/* Standard filter primary action */
.ebayt-filter .ebayt-filter-actions .ebayt-btn-search{
    min-width:124px;
    padding-left:18px!important;
    padding-right:18px!important;
    justify-content:center;
}
#resultquery.is-loading{pointer-events:none}


/* eBayt filter action — compact standard button */
.ebayt-filter .ebayt-filter-actions{
    width:auto;
}
.ebayt-filter .ebayt-filter-actions .btn{
    flex:0 0 auto;
}
.ebayt-filter .ebayt-filter-actions .ebayt-btn-search{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    width:auto!important;
    min-width:132px!important;
    height:40px!important;
    padding:0 20px!important;
    line-height:1!important;
    white-space:nowrap;
}
.ebayt-filter .ebayt-filter-actions .ebayt-btn-search .ebayt-btn-svg{
    width:16px!important;
    height:16px!important;
    flex:0 0 16px!important;
    margin:0!important;
}
.ebayt-filter .ebayt-filter-actions .ebayt-btn-search span{
    display:inline-block;
    line-height:1!important;
}
@media(max-width:767px){
    .ebayt-filter .ebayt-filter-actions{
        width:100%;
    }
    .ebayt-filter .ebayt-filter-actions .ebayt-btn-search{
        width:100%!important;
        min-width:0!important;
    }
}


/* =========================================================
   eBayt TableData — Senarai Muallaf
   Explicit content-driven column sizing; never global nowrap.
   ========================================================= */
.ebayt-table-muallaf .table-responsive{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
}
.ebayt-table-muallaf table.ebayt-table-muallaf-grid{
    width:100%!important;
    min-width:1460px!important;
    table-layout:fixed!important;
    margin:0!important;
}
.ebayt-table-muallaf table.ebayt-table-muallaf-grid th,
.ebayt-table-muallaf table.ebayt-table-muallaf-grid td{
    box-sizing:border-box!important;
    vertical-align:middle!important;
}
.ebayt-table-muallaf table.ebayt-table-muallaf-grid thead th{
    padding:8px 10px!important;
    white-space:normal!important;
    line-height:1.15!important;
}
.ebayt-table-muallaf table.ebayt-table-muallaf-grid tbody td{
    padding:11px 10px!important;
    line-height:1.35!important;
    overflow:visible!important;
}

/* 1 — No. */
.ebayt-table-muallaf table .ebayt-col-no{
    width:54px!important;
    min-width:54px!important;
    max-width:54px!important;
    text-align:center!important;
    white-space:nowrap!important;
}
/* 2 — Tempat Syahadah */
.ebayt-table-muallaf table .ebayt-col-place{
    width:190px!important;
    min-width:190px!important;
    max-width:190px!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
}
/* 3 — Daerah */
.ebayt-table-muallaf table .ebayt-col-district{
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
    white-space:normal!important;
}
/* 4 — No. Rujukan */
.ebayt-table-muallaf table .ebayt-col-ref{
    width:175px!important;
    min-width:175px!important;
    max-width:175px!important;
    white-space:nowrap!important;
    font-weight:800!important;
}
/* 5 — Status */
.ebayt-table-muallaf table .ebayt-col-state{
    width:105px!important;
    min-width:105px!important;
    max-width:105px!important;
    white-space:normal!important;
}
/* 6 — Nama */
.ebayt-table-muallaf table .ebayt-col-main{
    width:300px!important;
    min-width:300px!important;
    max-width:300px!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
}
.ebayt-table-muallaf table td.nameapp{
    font-weight:800;
    color:#26384d;
}
.ebayt-table-muallaf table td.nameapp .text-muted{
    display:block;
    margin-top:3px;
    font-size:11px!important;
    line-height:1.3!important;
    color:#8794a7!important;
}
/* 7 — MyKad / identification */
.ebayt-table-muallaf table .ebayt-col-id{
    width:175px!important;
    min-width:175px!important;
    max-width:175px!important;
    white-space:nowrap!important;
}
/* 8 — Status Permohonan */
.ebayt-table-muallaf table .ebayt-col-status{
    width:205px!important;
    min-width:205px!important;
    max-width:205px!important;
    text-align:left!important;
    white-space:normal!important;
}
/* 9 — Actions; two icon buttons need real room */
.ebayt-table-muallaf table .ebayt-col-action,
.ebayt-table-muallaf table .ebayt-col-action-sm{
    width:106px!important;
    min-width:106px!important;
    max-width:106px!important;
    text-align:center!important;
    white-space:nowrap!important;
}
.ebayt-table-muallaf .ebayt-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
}

/* Prevent generic DataTables nowrap rules from overriding this grid. */
.ebayt-table-muallaf table.dataTable tbody th,
.ebayt-table-muallaf table.dataTable tbody td{
    white-space:normal;
}
.ebayt-table-muallaf table.dataTable tbody td.ebayt-col-ref,
.ebayt-table-muallaf table.dataTable tbody td.ebayt-col-id,
.ebayt-table-muallaf table.dataTable tbody td.ebayt-col-action{
    white-space:nowrap!important;
}

@media(max-width:1200px){
    .ebayt-table-muallaf table.ebayt-table-muallaf-grid{
        min-width:1460px!important;
    }
}
