/* eBayt UI · Material Semi-Dark Pro v2
 * Component skin for the Material Semi-Dark shell.
 * Keeps eBayt class contracts while presenting a lighter Material-style workspace.
 */
html[data-ebayt-layout-variant="material-semi-dark-pro"]{
  --msp-accent:#7367f0;
  --msp-accent-hover:#675bd8;
  --msp-accent-soft:#eeecff;
  --msp-info:#00bad1;
  --msp-success:#28c76f;
  --msp-warning:#ff9f43;
  --msp-danger:#ea5455;
  --msp-bg:#f8f7fa;
  --msp-surface:#fff;
  --msp-surface-2:#f3f2f7;
  --msp-line:#ebe9f1;
  --msp-text:#4b465c;
  --msp-text-2:#5e596d;
  --msp-muted:#8e8998;
  --msp-shadow:0 2px 10px rgba(47,43,61,.09);
  --msp-shadow-hover:0 5px 18px rgba(47,43,61,.12);
}

/* RESET CORE SURFACES */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.card,.ebayt-card,.ebayt-panel,.ebayt-result-card,.kpm-filter-card,.kpm-result-card,.kpm-card,.kpi-card,.dashboard-card,.v16-card,.v16-panel,.v16-filter,.v16-result-card){
  background:var(--msp-surface)!important;
  color:var(--msp-text-2)!important;
  border:0!important;
  border-radius:8px!important;
  box-shadow:var(--msp-shadow)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.card,.ebayt-card,.ebayt-panel,.ebayt-result-card,.kpm-card,.kpi-card,.dashboard-card):hover{
  box-shadow:var(--msp-shadow-hover)!important;
}

/* HERO: no oversized gradient banner; behave like a premium Material card */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero){
  position:relative!important;
  min-height:104px!important;
  margin:0 0 16px!important;
  padding:20px 22px!important;
  border:0!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:var(--msp-shadow)!important;
  color:var(--msp-text)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero)::before{
  content:""!important;
  position:absolute!important;
  left:0!important;top:0!important;bottom:0!important;
  width:4px!important;
  background:linear-gradient(180deg,#7367f0,#9a90f7)!important;
  border-radius:8px 0 0 8px!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero)::after{
  content:""!important;
  position:absolute!important;
  right:-36px!important;top:-46px!important;
  width:150px!important;height:150px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(115,103,240,.08) 0 52%,transparent 53%)!important;
  pointer-events:none!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero) :is(.eyebrow,.kpm-eyebrow,.ebayt-hero-eyebrow,.v16-hero-eyebrow,.ebp-hero-eyebrow){
  color:var(--msp-accent)!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero) :is(h1,h2,h3,.ebayt-hero-title,.kpm-hero-title,.v16-hero-title,.ebp-hero-title){
  color:var(--msp-text)!important;
  font-size:21px!important;
  line-height:1.25!important;
  font-weight:600!important;
  letter-spacing:-.012em!important;
  margin:4px 0 4px!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero) :is(p,.ebayt-hero-subtitle,.kpm-hero-subtitle,.v16-hero-subtitle,.ebp-hero-subtitle){
  color:var(--msp-muted)!important;
  font-size:12.5px!important;
  line-height:1.55!important;
  margin:0!important;
  max-width:860px!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero) :is(.icon,.hero-icon,.ebayt-hero-icon,.kpm-hero-icon,.v16-hero-icon){
  background:var(--msp-accent-soft)!important;
  color:var(--msp-accent)!important;
  border:0!important;
  box-shadow:none!important;
}

/* FILTERS */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-filter,.kpm-filter-card,.v16-filter){
  padding:16px 18px!important;
  margin-bottom:16px!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-filter-title,.kpm-filter-title,.kpm-section-title,.ebayt-result-title,.kpm-table-title){
  color:var(--msp-text)!important;
  font-weight:600!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-filter-title,.kpm-filter-title,.kpm-section-title){
  font-size:11px!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(label,.form-label,.kpm-label){
  color:#7d7889!important;
  font-size:10.5px!important;
  font-weight:600!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}

/* CONTROLS */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.form-control,.custom-select,select,textarea,input[type=text],input[type=search],input[type=number],input[type=date],input[type=email],input[type=password]){
  min-height:38px!important;
  padding:.45rem .72rem!important;
  background:#fff!important;
  color:var(--msp-text)!important;
  border:1px solid #d8d6de!important;
  border-radius:6px!important;
  box-shadow:none!important;
  font-size:12.5px!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.form-control,.custom-select,select,textarea,input):focus{
  border-color:var(--msp-accent)!important;
  box-shadow:0 0 0 2px rgba(115,103,240,.14)!important;
  outline:0!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] ::placeholder{color:#b6b3bd!important;}

/* BUTTONS */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.btn,.ebayt-btn,.kpm-btn){
  min-height:36px!important;
  border-radius:6px!important;
  font-size:12px!important;
  font-weight:500!important;
  box-shadow:none!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.btn-primary,.ebayt-btn-primary,.kpm-btn-primary){
  background:var(--msp-accent)!important;
  border-color:var(--msp-accent)!important;
  color:#fff!important;
  box-shadow:0 2px 6px rgba(115,103,240,.30)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.btn-primary,.ebayt-btn-primary,.kpm-btn-primary):hover{
  background:var(--msp-accent-hover)!important;border-color:var(--msp-accent-hover)!important;
  box-shadow:0 4px 10px rgba(115,103,240,.30)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.btn-secondary,.btn-light,.ebayt-btn-secondary){
  background:#f3f2f7!important;border:0!important;color:#6e6b7b!important;
}

/* RESULTS / TABLE */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-result-card,.kpm-result-card){
  overflow:hidden!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-result-head,.kpm-table-heading,.kpm-result-head){
  padding:15px 18px!important;
  border-bottom:1px solid var(--msp-line)!important;
  background:#fff!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-table-zone,.kpm-table-zone,.table-responsive){
  background:#fff!important;border:0!important;border-radius:0!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .table{
  width:100%!important;background:#fff!important;color:var(--msp-text-2)!important;border-collapse:collapse!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable thead th,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .table thead th{
  background:#f3f2f7!important;
  color:#6e6b7b!important;
  border-top:0!important;
  border-bottom:1px solid #e7e5ea!important;
  font-size:10.5px!important;
  font-weight:600!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  padding:11px 12px!important;
  white-space:nowrap!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable tbody td,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .table tbody td{
  background:#fff!important;
  color:#5e596d!important;
  border-color:#ebe9f1!important;
  padding:11px 12px!important;
  vertical-align:middle!important;
  font-size:12px!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable tbody tr:hover td,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .table-hover tbody tr:hover td{background:#faf9fb!important;}

/* DataTables toolbar must look like the demo, not a nested white box */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.dataTables_wrapper,.dataTables_info,.dataTables_length,.dataTables_filter){color:#8e8998!important;font-size:11.5px!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .row:first-child,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .kpm-table-toolbar{
  margin:0!important;
  padding:12px 16px!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid var(--msp-line)!important;
  color:var(--msp-muted)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_filter input{min-width:180px!important;margin-left:7px!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_length select{min-width:68px!important;margin:0 5px!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_paginate{padding:12px 14px!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_paginate .paginate_button{
  background:#f3f2f7!important;border:0!important;color:#6e6b7b!important;border-radius:6px!important;margin:0 2px!important;min-width:30px!important;padding:.38em .66em!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_paginate .paginate_button.current{
  background:var(--msp-accent)!important;color:#fff!important;box-shadow:0 2px 6px rgba(115,103,240,.25)!important;
}

/* ACTIONS */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.cm_view,.cm_update,.cm_remove,.cm_print,.cm_pdf,.ebayt-action-btn,.kpm-action-btn){
  width:32px!important;height:32px!important;min-height:32px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:0!important;border-radius:6px!important;
  background:#f3f2f7!important;color:#6e6b7b!important;box-shadow:none!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.cm_view,.ebayt-action-view):hover{background:#e5f8fb!important;color:#00a6bb!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.cm_update,.ebayt-action-edit):hover{background:#eeecff!important;color:var(--msp-accent)!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.cm_remove,.ebayt-action-delete):hover{background:#fdeced!important;color:var(--msp-danger)!important;}

/* BADGES */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.badge,.ebayt-badge,.kpm-badge){
  border-radius:5px!important;font-weight:600!important;padding:.34em .58em!important;font-size:10.5px!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.badge-success,.bg-success,.status-success){background:#e7f8ef!important;color:#1f9d58!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.badge-danger,.bg-danger,.status-danger){background:#fcebec!important;color:#d84a4b!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.badge-warning,.bg-warning,.status-warning){background:#fff2e4!important;color:#d9832b!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.badge-info,.bg-info,.status-info){background:#e6f9fc!important;color:#00a8bd!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.badge-primary,.bg-primary){background:#eeecff!important;color:#6558d9!important;}

/* KPI / statistic cards: flatter, lighter and denser */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.kpi-card,.kpm-stat-card,.ebayt-stat-card,.dashboard-card){
  padding:16px!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.kpi-card,.kpm-stat-card,.ebayt-stat-card,.dashboard-card) :is(.value,.metric,.number,h2,h3){
  color:var(--msp-text)!important;font-weight:600!important;
}

/* TABS */
html[data-ebayt-layout-variant="material-semi-dark-pro"] .nav-tabs{border-bottom:1px solid var(--msp-line)!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .nav-tabs .nav-link{
  color:#8c8795!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;font-size:12px!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .nav-tabs .nav-link.active{color:var(--msp-accent)!important;border-bottom-color:var(--msp-accent)!important;}

/* MODAL / IZIMODAL */
html[data-ebayt-layout-variant="material-semi-dark-pro"] .iziModal,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .modal-content{
  background:#fff!important;color:var(--msp-text-2)!important;border:0!important;border-radius:8px!important;box-shadow:0 12px 38px rgba(47,43,61,.18)!important;overflow:hidden!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .iziModal-header{
  background:#fff!important;color:var(--msp-text)!important;border-bottom:1px solid var(--msp-line)!important;box-shadow:none!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .iziModal-header-title,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .iziModal-header-subtitle{color:var(--msp-text)!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .modal-header,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .modal-footer{border-color:var(--msp-line)!important;}

/* SKELETON */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-skeleton,.skeleton,.kpm-skeleton){
  background:linear-gradient(90deg,#eeeef2 25%,#f8f7fa 40%,#eeeef2 60%)!important;background-size:300% 100%!important;
}

/* V12 / V16 compatibility */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.kpm-shell,.kpi-v4,.core12-content,.core12-workspace){color:var(--msp-text-2)!important;background:transparent!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .core12-contextbar{background:transparent!important;border:0!important;box-shadow:none!important;color:#8c8795!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .core12-contextbar a{color:var(--msp-accent)!important;}

/* Remove oversized nested background shells commonly used by old dashboard pages */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.kpi-v4,.dashboard-shell,.kpm-shell,.v16-shell){
  border:0!important;box-shadow:none!important;
}

@media(max-width:767.98px){
  html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero){min-height:96px!important;padding:17px 18px!important;border-radius:8px!important;}
  html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero) :is(h1,h2,h3,.ebayt-hero-title,.kpm-hero-title){font-size:19px!important;}
  html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-filter,.kpm-filter-card){padding:14px!important;}
}

/* ================================================================
 * v3.0 Materialize fidelity component pass
 * Turquoise primary action + softer cards/controls matching the
 * semi-dark reference while preserving eBayt component contracts.
 * ================================================================ */
html[data-ebayt-layout-variant="material-semi-dark-pro"]{
  --msp-accent:#16a6a8;
  --msp-accent-hover:#129a9c;
  --msp-accent-soft:#e4f7f7;
  --msp-info:#16a6a8;
  --msp-bg:#f7f7fa;
  --msp-surface:#fff;
  --msp-surface-2:#f4f4f7;
  --msp-line:#ebeaf0;
  --msp-text:#46445a;
  --msp-text-2:#5f5c70;
  --msp-muted:#9692a3;
  --msp-shadow:0 4px 18px rgba(47,43,61,.08);
  --msp-shadow-hover:0 7px 24px rgba(47,43,61,.11);
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.card,.ebayt-card,.ebayt-panel,.ebayt-result-card,.kpm-filter-card,.kpm-result-card,.kpm-card,.kpi-card,.dashboard-card,.v16-card,.v16-panel,.v16-filter,.v16-result-card){
  border-radius:10px!important;
  box-shadow:var(--msp-shadow)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero){
  min-height:92px!important;
  padding:19px 22px!important;
  border-radius:10px!important;
  box-shadow:var(--msp-shadow)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero)::before{
  width:3px!important;
  background:var(--msp-active,#16a6a8)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero)::after{display:none!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero) :is(.eyebrow,.kpm-eyebrow,.ebayt-hero-eyebrow,.v16-hero-eyebrow,.ebp-hero-eyebrow){color:#8f8a9d!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.ebayt-hero,.kpm-hero,.v16-hero,.ebp-hero) :is(h1,h2,h3,.ebayt-hero-title,.kpm-hero-title,.v16-hero-title,.ebp-hero-title){font-size:20px!important;font-weight:600!important;}

html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.btn-primary,.ebayt-btn-primary,.kpm-btn-primary){
  background:#16a6a8!important;
  border-color:#16a6a8!important;
  box-shadow:0 3px 9px rgba(22,166,168,.26)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.btn-primary,.ebayt-btn-primary,.kpm-btn-primary):hover{
  background:#129a9c!important;
  border-color:#129a9c!important;
  box-shadow:0 5px 14px rgba(22,166,168,.28)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.form-control,.custom-select,select,textarea,input[type=text],input[type=search],input[type=number],input[type=date],input[type=email],input[type=password]){
  border-radius:7px!important;
  border-color:#d9d7df!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.form-control,.custom-select,select,textarea,input):focus{
  border-color:#16a6a8!important;
  box-shadow:0 0 0 2px rgba(22,166,168,.13)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable thead th,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .table thead th{
  background:#f5f4f7!important;
  color:#777386!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_paginate .paginate_button.current{
  background:#16a6a8!important;
  color:#fff!important;
  box-shadow:0 2px 7px rgba(22,166,168,.24)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.badge-primary,.bg-primary){background:#e5f7f7!important;color:#118f91!important;}

/* v4.0 sidebar fidelity companion: component layer intentionally unchanged. */

/* ================================================================
 * v4.1 DataTables + Row Actions UX refinement
 * Layout scope: material-semi-dark-pro only.
 * Goal: clearer hierarchy, semantic row actions, comfortable density,
 *       balanced with the semi-dark/turquoise shell and active theme.
 * ================================================================ */
html[data-ebayt-layout-variant="material-semi-dark-pro"]{
  --msp-table-head:#f8f7fa;
  --msp-table-line:#eceaf0;
  --msp-table-hover:#fbfbfd;
  --msp-action-view-bg:#e8f7fa;
  --msp-action-view-fg:#07899a;
  --msp-action-edit-bg:#fff4df;
  --msp-action-edit-fg:#b56d00;
  --msp-action-print-bg:#e9f3ff;
  --msp-action-print-fg:#2f6fb2;
  --msp-action-pdf-bg:#fff0f0;
  --msp-action-pdf-fg:#c94b52;
  --msp-action-delete-bg:#fdebec;
  --msp-action-delete-fg:#cf3f47;
}

/* DataTables container and toolbar */
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper{
  width:100%!important;
  color:#6c6878!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .row:first-child{
  min-height:58px!important;
  padding:12px 14px!important;
  align-items:center!important;
  background:#fff!important;
  border-bottom:1px solid var(--msp-table-line)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_length,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_filter{
  margin:0!important;
  color:#858091!important;
  font-size:11.5px!important;
  font-weight:500!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_filter label{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin:0!important;
  color:#777283!important;
  font-size:10.5px!important;
  font-weight:650!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_filter input{
  width:190px!important;
  min-width:190px!important;
  height:36px!important;
  min-height:36px!important;
  margin-left:0!important;
  padding:0 11px!important;
  border:1px solid #d9d7df!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#4f4a5d!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_filter input:focus{
  border-color:#16a6a8!important;
  box-shadow:0 0 0 2px rgba(22,166,168,.12)!important;
}

/* Table visual hierarchy */
html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .table{
  margin-top:0!important;
  margin-bottom:0!important;
  border-spacing:0!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable thead th,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .table thead th{
  min-height:42px!important;
  padding:12px 11px!important;
  background:var(--msp-table-head)!important;
  color:#6f697a!important;
  border-top:0!important;
  border-bottom:1px solid #e5e2e9!important;
  font-size:10.5px!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable tbody td,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .table tbody td{
  padding:12px 11px!important;
  background:#fff!important;
  color:#595568!important;
  border-top:0!important;
  border-bottom:1px solid var(--msp-table-line)!important;
  font-size:12px!important;
  line-height:1.45!important;
  vertical-align:middle!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable tbody tr:hover td,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .table-hover tbody tr:hover td{
  background:var(--msp-table-hover)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable tbody tr:hover td:first-child{
  box-shadow:inset 3px 0 0 #16a6a8!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable tbody tr:last-child td,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .table tbody tr:last-child td{
  border-bottom-color:#e8e6ec!important;
}

/* Keep row actions aligned and visibly clickable. Covers legacy eBayt contracts. */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(
  .cm_view,.cm_update,.cm_remove,.cm_print,.cm_print2,.cm_pdf,
  .ebayt-action-btn,.ebayt-action-view,.ebayt-action-edit,.ebayt-action-delete,
  .ebayt-action-print,.ebayt-action-pdf,.kpm-action-btn
){
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin:1px 2px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  box-shadow:none!important;
  line-height:1!important;
  transition:transform .14s ease,box-shadow .14s ease,background-color .14s ease,border-color .14s ease!important;
  vertical-align:middle!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(
  .cm_view,.cm_update,.cm_remove,.cm_print,.cm_print2,.cm_pdf,
  .ebayt-action-btn,.kpm-action-btn
) i{
  margin:0!important;
  font-size:13px!important;
  line-height:1!important;
}

/* Semantic colours: meaning is stable regardless of Bootstrap legacy class. */
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.cm_view,.ebayt-action-view){
  background:var(--msp-action-view-bg)!important;
  color:var(--msp-action-view-fg)!important;
  border-color:#cfecef!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.cm_update,.ebayt-action-edit){
  background:var(--msp-action-edit-bg)!important;
  color:var(--msp-action-edit-fg)!important;
  border-color:#f4dfb6!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.cm_print,.cm_print2,.ebayt-action-print){
  background:var(--msp-action-print-bg)!important;
  color:var(--msp-action-print-fg)!important;
  border-color:#d6e7f8!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.cm_pdf,.ebayt-action-pdf){
  background:var(--msp-action-pdf-bg)!important;
  color:var(--msp-action-pdf-fg)!important;
  border-color:#f1d4d7!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(.cm_remove,.ebayt-action-delete){
  background:var(--msp-action-delete-bg)!important;
  color:var(--msp-action-delete-fg)!important;
  border-color:#f0cdd0!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(
  .cm_view,.cm_update,.cm_remove,.cm_print,.cm_print2,.cm_pdf,
  .ebayt-action-btn,.ebayt-action-view,.ebayt-action-edit,.ebayt-action-delete,
  .ebayt-action-print,.ebayt-action-pdf,.kpm-action-btn
):not(:disabled):hover{
  transform:translateY(-1px)!important;
  box-shadow:0 4px 10px rgba(47,43,61,.10)!important;
  filter:saturate(1.06)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(
  .cm_view,.cm_update,.cm_remove,.cm_print,.cm_print2,.cm_pdf,
  .ebayt-action-btn,.kpm-action-btn
):focus-visible{
  outline:0!important;
  box-shadow:0 0 0 3px rgba(22,166,168,.16)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(
  .cm_view,.cm_update,.cm_remove,.cm_print,.cm_print2,.cm_pdf,
  .ebayt-action-btn,.kpm-action-btn
):disabled,
html[data-ebayt-layout-variant="material-semi-dark-pro"] :is(
  .cm_view,.cm_update,.cm_remove,.cm_print,.cm_print2,.cm_pdf,
  .ebayt-action-btn,.kpm-action-btn
).disabled{
  opacity:.42!important;
  cursor:not-allowed!important;
  transform:none!important;
  box-shadow:none!important;
  filter:grayscale(.15)!important;
}

/* Pagination and footer */
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .row:last-child{
  margin:0!important;
  padding:12px 14px!important;
  align-items:center!important;
  background:#fff!important;
  border-top:1px solid var(--msp-table-line)!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_info{
  padding-top:7px!important;
  color:#8b8696!important;
  font-size:11.5px!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_paginate{
  padding:0!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_paginate .paginate_button{
  min-width:32px!important;
  height:32px!important;
  padding:6px 9px!important;
  border:1px solid transparent!important;
  border-radius:7px!important;
  background:#f3f2f6!important;
  color:#696476!important;
  font-size:11px!important;
  line-height:18px!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background:#e9f6f6!important;
  color:#118f91!important;
  border-color:#d3ecec!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
  background:#16a6a8!important;
  color:#fff!important;
  border-color:#16a6a8!important;
  box-shadow:0 2px 7px rgba(22,166,168,.22)!important;
}

/* Responsive: preserve readability instead of shrinking controls too far. */
@media(max-width:767.98px){
  html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .row:first-child{
    gap:10px!important;
    padding:11px!important;
  }
  html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_filter label{
    justify-content:flex-start!important;
  }
  html[data-ebayt-layout-variant="material-semi-dark-pro"] .dataTables_wrapper .dataTables_filter input{
    width:100%!important;
    min-width:0!important;
  }
  html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable thead th,
  html[data-ebayt-layout-variant="material-semi-dark-pro"] table.dataTable tbody td{
    padding:10px 9px!important;
  }
}


/* ================================================================
 * v4.2 DataTables export buttons — compact, semantic, icon-balanced
 * Scope: Material Semi-Dark Pro only. Overrides legacy V0 button skin.
 * ================================================================ */
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons{
  display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;
  margin:10px 0 12px 0!important;padding:0!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons :is(button.dt-button,a.dt-button,.dt-button).ebayt-export{
  width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;
  padding:0!important;margin:0!important;border-radius:9px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#fff!important;background-image:none!important;box-shadow:0 1px 2px rgba(35,31,46,.04)!important;
  font-size:0!important;line-height:1!important;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease,transform .14s ease!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export > span{
  display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;font-size:0!important;line-height:1!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export svg.ebayt-export-icon{
  display:block!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;
  overflow:visible!important;color:currentColor!important;stroke:currentColor!important;fill:none;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-copy{border:1px solid #d8d7df!important;color:#5f5a6d!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-pdf{border:1px solid #f0cfd2!important;color:#c94b52!important;background:#fffafa!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-csv{border:1px solid #cbe8df!important;color:#248264!important;background:#fbfffd!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-print{border:1px solid #cfdef0!important;color:#356fae!important;background:#fbfdff!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-copy:hover,
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-copy:focus{background:#f5f4f7!important;border-color:#c7c4ce!important;color:#454052!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-pdf:hover,
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-pdf:focus{background:#fff0f1!important;border-color:#e9b8bd!important;color:#b53e46!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-csv:hover,
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-csv:focus{background:#eef9f5!important;border-color:#afdccc!important;color:#1d7058!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-print:hover,
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export-print:focus{background:#eef5fc!important;border-color:#bcd2e9!important;color:#2d639c!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export:focus{outline:none!important;box-shadow:0 0 0 3px rgba(22,166,168,.10)!important;}
html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons .ebayt-export:active{transform:translateY(1px)!important;}
@media(max-width:767px){
  html[data-ebayt-layout-variant="material-semi-dark-pro"] body .page-wrapper .dataTables_wrapper .dt-buttons :is(button.dt-button,a.dt-button,.dt-button).ebayt-export{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;}
}

/* V0 Bantuan Perubatan — semantic status cells */
html[data-ebayt-layout-variant="material-semi-dark-pro"] table#listingresult td.status{
  background:#fff4cc!important;color:#9a6700!important;border-color:#f3df9c!important;font-weight:600!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table#listingresult td.statusbelum{
  background:#fff0db!important;color:#b54708!important;border-color:#f5d4aa!important;font-weight:600!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table#listingresult td.statuslulus{
  background:#def7e5!important;color:#18794e!important;border-color:#bce8c9!important;font-weight:600!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table#listingresult td.statusgagal{
  background:#fde2e2!important;color:#b42318!important;border-color:#f4c4c4!important;font-weight:600!important;
}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table#listingresult tbody tr:hover td.status{background:#ffefb3!important}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table#listingresult tbody tr:hover td.statusbelum{background:#ffe7c4!important}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table#listingresult tbody tr:hover td.statuslulus{background:#cef1d8!important}
html[data-ebayt-layout-variant="material-semi-dark-pro"] table#listingresult tbody tr:hover td.statusgagal{background:#f9d4d4!important}
