* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family:
    Inter,
    Arial,
    sans-serif;

  background: #f4f6f9;
  color: #1f2937;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}


/* =====================================================
   LOGIN
===================================================== */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow:
    0 10px 40px
    rgba(0, 0, 0, 0.08);
}

.login-logo {
  text-align: center;
  margin-bottom: 28px;
}

.login-logo h1 {
  margin: 0;
  font-size: 24px;
}

.login-logo p {
  color: #6b7280;
  margin: 8px 0 0;
}

.login-logo-image {
  width: 105px;
  height: 105px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-logo-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
}

.form-control:focus {
  border-color: #2563eb;
}

.btn {
  min-height: 42px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: #1f2937;
}

.btn-primary {
  background: #2563eb;
}

.btn-success {
  background: #059669;
}

.btn-danger {
  background: #dc2626;
}

.btn-secondary {
  background: #6b7280;
}

.btn-block {
  width: 100%;
}

.alert {
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  display: none;
}

.alert.show {
  display: block;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
}


/* =====================================================
   APP
===================================================== */

.app {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: #111827;
  color: #ffffff;
  position: fixed;
  inset: 0 auto 0 0;
  overflow-y: auto;
}

.sidebar-brand {
  padding: 22px;
  border-bottom:
    1px solid
    rgba(255,255,255,.08);
}

.sidebar-brand strong {
  display: block;
  font-size: 17px;
}

.sidebar-brand span {
  font-size: 12px;
  opacity: .65;
}

.sidebar-menu {
  padding: 14px;
}

.menu-label {
  font-size: 11px;
  opacity: .5;
  padding: 12px 10px 6px;
}

.menu-item {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.menu-item:hover,
.menu-item.active {
  background:
    rgba(255,255,255,.10);
  color: #ffffff;
}

.main {
  flex: 1;
  margin-left: 260px;
}

.topbar {
  height: 68px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-user {
  font-size: 13px;
}

.content {
  padding: 24px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.page-header h1 {
  margin: 0;
  font-size: 24px;
}

.page-header p {
  margin: 5px 0 0;
  color: #6b7280;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow:
    0 2px 10px
    rgba(0,0,0,.04);
}

.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.toolbar .search {
  flex: 1;
  min-width: 240px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f9fafb;
  font-size: 12px;
  color: #4b5563;
}

td {
  font-size: 13px;
}

.actions {
  display: flex;
  gap: 6px;
}

.actions .btn {
  min-height: auto;
  padding: 7px 10px;
  font-size: 12px;
}

.pagination {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* =====================================================
   MODAL
===================================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: 20px;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  background: white;
  padding: 24px;
  border-radius: 14px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0,1fr));
  gap: 16px;
}

.form-full {
  grid-column: 1 / -1;
}

.modal-footer {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}


@media(max-width:800px) {

  .sidebar {
    display: none;
  }

  .main {
    margin-left: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

}

/* =====================================================
   SISFO UNIFIED LAYOUT
===================================================== */

:root {
  --sisfo-primary: #0065a8;
  --sisfo-primary-deep: #07466f;
  --sisfo-background: #f3f7fb;
  --sisfo-text: #243746;
  --sisfo-text-soft: #738696;
  --sisfo-border: #dfe8ef;
  --sisfo-sidebar-width: 260px;
}


body {
  background: var(--sisfo-background);
}


.app-shell {
  min-height: 100vh;
}


.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 120;

  display: flex;
  flex-direction: column;

  width: var(--sisfo-sidebar-width);
  height: 100vh;

  color: var(--sisfo-text);
  background: #ffffff;

  border-right:
    1px solid #dce6ee;
}


.sidebar-header {
  position: relative;

  display: flex;
  align-items: center;
  gap: 11px;

  min-height: 88px;
  padding: 16px;

  border-bottom:
    1px solid #edf2f6;
}


.sidebar-logo {
  display: flex;

  width: 48px;
  height: 48px;

  flex: 0 0 48px;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: #ffffff;

  border:
    1px solid #dae6ee;

  border-radius: 50%;
}


.sidebar-logo img {
  width: 116%;
  height: 116%;
  object-fit: contain;
}


.sidebar-brand {
  min-width: 0;
}


.sidebar-brand strong {
  display: block;

  color:
    var(--sisfo-primary-deep);

  font-size: 15px;
  font-weight: 900;
}


.sidebar-brand span {
  display: block;

  margin-top: 3px;

  color:
    var(--sisfo-text-soft);

  font-size: 10px;
}


.sidebar-navigation {
  flex: 1;

  overflow-y: auto;

  padding:
    12px 9px 20px;
}


.nav-section {
  margin:
    19px 10px 8px;

  color: #94a5b4;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: 1px;
}


.nav-item {
  display: flex;

  min-height: 45px;

  align-items: center;

  gap: 10px;

  margin-bottom: 3px;

  padding:
    9px 11px;

  color: #36566e;

  border-radius: 9px;

  font-size: 13px;
  font-weight: 700;
}


.nav-item:hover {
  color:
    var(--sisfo-primary);

  background:
    #f2f8fc;
}


.nav-item.active {
  color:
    var(--sisfo-primary);

  background:
    #e7f3fc;
}


.nav-icon {
  display: flex;

  width: 29px;
  height: 29px;

  flex: 0 0 29px;

  align-items: center;
  justify-content: center;

  color:
    var(--sisfo-primary);

  background:
    #edf6fc;

  border-radius: 7px;

  font-size: 11px;
  font-weight: 900;
}


.sidebar-account {
  display: flex;

  min-height: 76px;

  align-items: center;

  gap: 10px;

  padding:
    13px 15px;

  background:
    #f8fbfd;

  border-top:
    1px solid #e5edf3;
}


.user-avatar {
  display: flex;

  width: 40px;
  height: 40px;

  flex: 0 0 40px;

  align-items: center;
  justify-content: center;

  color:
    var(--sisfo-primary);

  background:
    #e7f3fc;

  border-radius: 50%;

  font-size: 12px;
  font-weight: 900;
}


.sidebar-account-info {
  min-width: 0;
}


.sidebar-account-info strong,
.header-account-info strong {
  display: block;

  color:
    var(--sisfo-text);

  font-size: 12px;
}


.sidebar-account-info span,
.header-account-info span {
  display: block;

  margin-top: 3px;

  color:
    var(--sisfo-text-soft);

  font-size: 10px;

  text-transform:
    uppercase;
}


.main-shell {
  display: flex;

  min-height: 100vh;

  margin-left:
    var(--sisfo-sidebar-width);

  flex-direction: column;
}


.global-header {
  position: sticky;
  top: 0;
  z-index: 90;

  display: flex;

  min-height: 84px;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding:
    14px
    clamp(18px, 2vw, 34px);

  background:
    rgba(255,255,255,.97);

  border-bottom:
    1px solid var(--sisfo-border);

  backdrop-filter:
    blur(10px);
}


.header-left,
.header-right,
.header-account {
  display: flex;
  align-items: center;
}


.header-left {
  min-width: 0;
  gap: 13px;
}


.header-right {
  gap: 14px;
}


.page-heading h1 {
  margin: 0;

  color:
    var(--sisfo-primary-deep);

  font-size:
    clamp(24px, 1.8vw, 30px);
}


.page-heading p {
  margin:
    5px 0 0;

  color:
    var(--sisfo-text-soft);

  font-size: 12px;
}


.header-date {
  color:
    var(--sisfo-text-soft);

  font-size: 10px;
  font-weight: 700;

  text-align: right;
}


.header-account {
  gap: 10px;
}


.logout-button {
  min-height: 40px;

  padding:
    8px 14px;

  color: #b42318;

  background:
    #ffffff;

  border:
    1px solid #f0c6c2;

  border-radius: 8px;

  font-weight: 800;
}


.global-content {
  flex: 1;

  width: 100%;

  padding:
    clamp(18px,1.6vw,30px)
    clamp(18px,2vw,38px)
    36px;
}


.global-footer {
  display: flex;

  min-height: 42px;

  align-items: center;
  justify-content: space-between;

  padding:
    10px
    clamp(18px,2vw,34px);

  color: #8193a2;

  background: #ffffff;

  border-top:
    1px solid #e2eaf0;

  font-size: 10px;
}


.sidebar-toggle,
.sidebar-close {
  display: none;
}


.sidebar-overlay {
  display: none;
}


@media (max-width: 1024px) {

  .sidebar {
    width: 270px;

    transform:
      translateX(-100%);

    transition:
      transform .2s ease;
  }


  .sidebar.open {
    transform:
      translateX(0);
  }


  .main-shell {
    margin-left: 0;
  }


  .sidebar-toggle {
    display: flex;

    width: 39px;
    height: 39px;

    align-items: center;
    justify-content: center;

    color:
      var(--sisfo-primary);

    background:
      #eaf4fc;

    border: 0;
    border-radius: 9px;
  }


  .sidebar-close {
    position: absolute;

    top: 16px;
    right: 10px;

    display: flex;

    width: 31px;
    height: 31px;

    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 8px;
  }


  .sidebar-overlay.active {
    position: fixed;
    inset: 0;

    z-index: 110;

    display: block;

    background:
      rgba(5,30,49,.52);
  }

}


@media (max-width: 640px) {

  .global-header {
    min-height: 72px;

    padding:
      12px 15px;
  }


  .page-heading h1 {
    font-size: 19px;
  }


  .page-heading p,
  .header-account,
  .header-date {
    display: none;
  }


  .global-content {
    padding: 15px;
  }


  .global-footer {
    align-items: flex-start;

    flex-direction: column;

    gap: 4px;

    padding:
      10px 15px;
  }

}

/* =====================================================
   DATA PAGE
===================================================== */

.peserta-page {
  width: 100%;
}


.page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;

  margin-bottom: 18px;
}


.page-toolbar-search {
  width: 100%;
  max-width: 520px;
}


.page-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


.form-control {
  width: 100%;
  height: 44px;

  padding: 0 14px;

  color: #243746;
  background: #ffffff;

  border:
    1px solid #d9e4ec;

  border-radius: 9px;

  outline: none;

  font-family: inherit;
  font-size: 13px;

  transition:
    border-color .15s ease,
    box-shadow .15s ease;
}


.form-control:focus {
  border-color: #1685c2;

  box-shadow:
    0 0 0 3px
    rgba(22, 133, 194, .10);
}


.button {
  display: inline-flex;

  min-height: 42px;

  align-items: center;
  justify-content: center;

  padding: 8px 15px;

  border:
    1px solid transparent;

  border-radius: 8px;

  cursor: pointer;

  font-family: inherit;
  font-size: 12px;
  font-weight: 800;

  white-space: nowrap;
}


.button-primary {
  color: #ffffff;

  background:
    #0065a8;

  border-color:
    #0065a8;
}


.button-primary:hover {
  background:
    #075789;
}


.button-secondary {
  color:
    #47677e;

  background:
    #ffffff;

  border-color:
    #d8e4ec;
}


.button-secondary:hover:not(:disabled) {
  color:
    #0065a8;

  background:
    #f2f8fc;
}


.button:disabled {
  cursor:
    not-allowed;

  opacity: .45;
}


/* =====================================================
   DATA CARD
===================================================== */

.data-card {
  overflow: hidden;

  background:
    #ffffff;

  border:
    1px solid #dfe8ef;

  border-radius:
    12px;

  box-shadow:
    0 3px 14px
    rgba(21, 50, 71, .04);
}


.data-card-header {
  display: flex;

  min-height: 72px;

  align-items: center;
  justify-content: space-between;

  padding:
    16px 20px;

  border-bottom:
    1px solid #edf2f6;
}


.data-card-header h2 {
  margin: 0;

  color:
    #24475f;

  font-size:
    16px;

  font-weight:
    900;
}


.data-card-header p {
  margin:
    5px 0 0;

  color:
    #8394a1;

  font-size:
    11px;
}


/* =====================================================
   TABLE
===================================================== */

.table-responsive {
  width: 100%;

  overflow-x: auto;
}


.data-table {
  width: 100%;

  border-collapse:
    collapse;

  font-size:
    12px;
}


.data-table th {
  padding:
    12px 14px;

  color:
    #698091;

  background:
    #f8fafc;

  border-bottom:
    1px solid #e5edf3;

  font-size:
    10px;

  font-weight:
    900;

  letter-spacing:
    .3px;

  text-align:
    left;

  text-transform:
    uppercase;

  white-space:
    nowrap;
}


.data-table td {
  padding:
    13px 14px;

  color:
    #405c70;

  border-bottom:
    1px solid #edf2f6;

  vertical-align:
    middle;
}


.data-table tbody tr:hover {
  background:
    #fbfdff;
}


.data-table tbody tr:last-child td {
  border-bottom: 0;
}


.table-number {
  width: 60px;

  text-align:
    center !important;
}


.table-action {
  width: 140px;

  text-align:
    center !important;
}


.participant-name strong {
  display: block;

  color:
    #24475f;

  font-size:
    12px;
}


.participant-name small {
  display: block;

  margin-top:
    4px;

  color:
    #92a1ad;

  font-size:
    9px;
}


.contact-cell span {
  display: block;
}


.contact-cell small {
  display: block;

  margin-top:
    4px;

  color:
    #8194a3;

  font-size:
    10px;
}


.table-message {
  padding:
    35px 20px !important;

  color:
    #8193a2 !important;

  text-align:
    center !important;
}


.table-error {
  color:
    #b42318 !important;

  background:
    #fff8f7;
}


.table-loading {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 9px;
}


.mini-spinner {
  width: 16px;
  height: 16px;

  border:
    2px solid #dce9f2;

  border-top-color:
    #0065a8;

  border-radius:
    50%;

  animation:
    miniSpin .7s linear infinite;
}


@keyframes miniSpin {

  to {
    transform:
      rotate(360deg);
  }

}


/* =====================================================
   TABLE ACTION
===================================================== */

.table-action-buttons {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 6px;
}


.action-button {
  min-height:
    30px;

  padding:
    5px 9px;

  background:
    #ffffff;

  border:
    1px solid #dce6ed;

  border-radius:
    6px;

  cursor:
    pointer;

  font-family:
    inherit;

  font-size:
    10px;

  font-weight:
    800;
}


.action-detail {
  color:
    #0065a8;
}


.action-detail:hover {
  background:
    #edf7fd;
}


.action-edit {
  color:
    #9a6700;
}


.action-edit:hover {
  background:
    #fff9e8;
}


/* =====================================================
   PAGINATION
===================================================== */

.data-card-footer {
  display: flex;

  min-height:
    64px;

  align-items: center;
  justify-content: space-between;

  gap:
    15px;

  padding:
    12px 20px;

  background:
    #fbfcfd;

  border-top:
    1px solid #e9eff4;
}


.pagination-info {
  color:
    #7c909f;

  font-size:
    10px;
}


.pagination-actions {
  display: flex;

  align-items: center;

  gap:
    10px;
}


.pagination-page {
  min-width:
    100px;

  color:
    #597386;

  font-size:
    10px;

  font-weight:
    800;

  text-align:
    center;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 700px) {

  .page-toolbar {
    align-items:
      stretch;

    flex-direction:
      column;
  }


  .page-toolbar-search {
    max-width:
      none;
  }


  .page-toolbar-actions .button {
    width:
      100%;
  }


  .data-card-footer {
    align-items:
      stretch;

    flex-direction:
      column;
  }


  .pagination-actions {
    justify-content:
      space-between;
  }


  .header-right .logout-button {
    padding:
      7px 10px;
  }

}


/* =========================================================
   SISFO APMP GLOBAL DESIGN SYSTEM - V2.0.0
   Header navigation + reusable global components
   ========================================================= */
:root{
  --sisfo-primary:#c72032;--sisfo-primary-dark:#a91827;--sisfo-primary-deep:#7f111c;
  --sisfo-primary-soft:#fff0f2;--sisfo-background:#f7f7f8;--sisfo-surface:#fff;
  --sisfo-text:#292929;--sisfo-text-soft:#737373;--sisfo-border:#e7e5e4;
  --sisfo-success:#178554;--sisfo-warning:#b86b00;--sisfo-danger:#c72032;
}
body{background:var(--sisfo-background);color:var(--sisfo-text)}
.app-shell{display:flex;min-height:100vh;flex-direction:column}
.sidebar,.sidebar-overlay{display:none!important}.main-shell{margin-left:0!important}

.sisfo-header{position:sticky;top:0;z-index:200;background:rgba(255,255,255,.98);border-bottom:1px solid var(--sisfo-border);box-shadow:0 3px 16px rgba(40,20,20,.04)}
.sisfo-header-main{display:flex;min-height:76px;align-items:center;gap:16px;padding:8px clamp(16px,2vw,34px)}
.sisfo-header-logo{display:flex;width:66px;height:60px;flex:0 0 66px;align-items:center;justify-content:center}
.sisfo-header-logo img{display:block;width:100%;height:100%;object-fit:contain}
.sisfo-main-navigation{display:flex;min-width:0;flex:1;align-items:center;gap:3px}
.header-nav-link,.header-dropdown-toggle{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:6px;padding:8px 10px;color:#4b4b4b;background:transparent;border:0;border-radius:9px;font-size:12px;font-weight:800;white-space:nowrap}
.header-nav-link:hover,.header-dropdown-toggle:hover,.header-nav-link.active,.header-dropdown.active>.header-dropdown-toggle{color:var(--sisfo-primary);background:var(--sisfo-primary-soft)}
.header-dropdown{position:relative}.header-dropdown-arrow{font-size:10px;color:#999}
.header-dropdown-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:240;display:none;min-width:220px;max-width:310px;padding:7px;background:#fff;border:1px solid var(--sisfo-border);border-radius:11px;box-shadow:0 16px 38px rgba(40,20,20,.12)}
.header-dropdown.open .header-dropdown-menu{display:block}
.header-dropdown-item{display:block;padding:10px 11px;color:#4a4a4a;border-radius:8px;font-size:12px;font-weight:700;line-height:1.4}
.header-dropdown-item:hover,.header-dropdown-item.active{color:var(--sisfo-primary);background:var(--sisfo-primary-soft)}
.sisfo-header-account,.header-account{display:flex;align-items:center}.sisfo-header-account{gap:11px;flex:0 0 auto}.header-account{gap:8px}
.header-date{color:var(--sisfo-text-soft);font-size:10px;font-weight:700;max-width:130px;text-align:right}
.user-avatar{color:var(--sisfo-primary);background:var(--sisfo-primary-soft)}
.header-account-info strong{color:#222}.logout-button{color:var(--sisfo-primary);border-color:#efc7cc}.logout-button:hover{color:#fff;background:var(--sisfo-primary);border-color:var(--sisfo-primary)}
.sisfo-menu-toggle,.sisfo-mobile-overlay{display:none}

.global-content{flex:1;width:100%;padding:0 clamp(16px,2vw,34px) 34px}
.page-title-bar{display:flex;min-height:78px;align-items:center;margin-bottom:20px;border-bottom:1px solid var(--sisfo-border)}
.page-heading h1{color:#1d1d1d}.page-heading p{color:var(--sisfo-text-soft)}
.global-footer{margin-left:0!important}

/* Global reusable controls */
.form-control:focus{border-color:var(--sisfo-primary);box-shadow:0 0 0 3px rgba(199,32,50,.09)}
.button-primary,.btn-primary{background:var(--sisfo-primary);border-color:var(--sisfo-primary)}
.button-primary:hover,.btn-primary:hover{background:var(--sisfo-primary-dark);border-color:var(--sisfo-primary-dark)}
.action-detail{color:var(--sisfo-primary)}.action-detail:hover{background:var(--sisfo-primary-soft)}
.data-card,.card{border-color:var(--sisfo-border)}.data-table tbody tr:hover{background:#fffafa}

/* Global loading: gunakan untuk semua halaman baru */
.sisfo-loading{display:none;min-height:150px;align-items:center;justify-content:center;padding:20px}
.sisfo-loading.is-active{display:flex}
.sisfo-loading-card{display:inline-flex;align-items:center;gap:10px;padding:12px 15px;color:var(--sisfo-text);background:#fff;border:1px solid var(--sisfo-border);border-radius:10px;box-shadow:0 4px 16px rgba(40,20,20,.05);font-size:12px;font-weight:800}
.sisfo-spinner,.mini-spinner{display:inline-block;width:20px;height:20px;border:2.5px solid #eadadd;border-top-color:var(--sisfo-primary);border-radius:50%;animation:sisfoSpin .7s linear infinite}
.mini-spinner{width:16px;height:16px;border-width:2px}
@keyframes sisfoSpin{to{transform:rotate(360deg)}}

@media(max-width:1280px){
  .sisfo-header-main{gap:10px;padding-left:16px;padding-right:16px}
  .header-nav-link,.header-dropdown-toggle{padding:8px 7px;font-size:11px}
  .header-date{display:none}
}
@media(max-width:1100px){
  .sisfo-header-main{min-height:68px}.sisfo-header-logo{width:58px;height:54px;flex-basis:58px}
  .sisfo-menu-toggle{display:inline-flex;width:39px;height:39px;align-items:center;justify-content:center;margin-left:auto;color:var(--sisfo-primary);background:var(--sisfo-primary-soft);border:0;border-radius:8px;font-size:18px}
  .sisfo-main-navigation{position:fixed;top:68px;right:0;z-index:230;display:none;width:min(360px,90vw);max-height:calc(100vh - 68px);align-items:stretch;flex-direction:column;overflow-y:auto;padding:12px;background:#fff;border-left:1px solid var(--sisfo-border);box-shadow:-12px 20px 35px rgba(40,20,20,.12)}
  .sisfo-main-navigation.open{display:flex}.header-nav-link,.header-dropdown-toggle{width:100%;justify-content:space-between;padding:10px 11px;font-size:12px}
  .header-dropdown{width:100%}.header-dropdown-menu{position:static;width:100%;min-width:0;max-width:none;margin-top:3px;padding:4px 0 4px 10px;background:#fafafa;border:0;box-shadow:none}
  .sisfo-mobile-overlay.active{position:fixed;inset:68px 0 0;z-index:220;display:block;background:rgba(30,20,20,.4)}
}
@media(max-width:700px){
  .sisfo-header-main{min-height:62px;padding:5px 11px}.sisfo-header-logo{width:52px;height:48px;flex-basis:52px}
  .sisfo-main-navigation{top:62px;max-height:calc(100vh - 62px)}.sisfo-mobile-overlay.active{inset:62px 0 0}
  .header-account{display:none}.logout-button{min-height:35px;padding:6px 9px;font-size:10px}
  .page-title-bar{min-height:68px;margin-bottom:15px}.global-content{padding:0 14px 24px}
}

/* =========================================================
   SISFO LSP APMP
   DASHBOARD — JADWAL KEGIATAN
   VERSION 1.1.0
   ========================================================= */

#sisfo-dashboard {
    --db-primary: var(--sisfo-primary);
    --db-primary-dark: var(--sisfo-primary-dark);
    --db-primary-deep: var(--sisfo-primary-deep);
    --db-secondary: #e24a57;

    --db-text: var(--sisfo-text);
    --db-text-soft: var(--sisfo-text-soft);

    --db-border: var(--sisfo-border);
    --db-surface: var(--sisfo-surface);
    --db-background: var(--sisfo-background);

    --db-success: #179447;
    --db-success-light: #ecfdf3;

    --db-warning: #d98200;
    --db-warning-light: #fff8e8;

    --db-danger: #dc2626;
    --db-danger-light: #fff1f2;

    width: 100%;
    min-width: 0;
    color: var(--db-text);
}


#sisfo-dashboard *,
#sisfo-dashboard *::before,
#sisfo-dashboard *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
   ========================================================= */

#sisfo-dashboard .dashboard-hero {
    position: relative;
    display: flex;
    min-height: 190px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 30px 34px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #8f111d 0%,
            #bd1d2b 52%,
            #e0525f 100%
        );
    border-radius: 18px;
    box-shadow:
        0 14px 34px rgba(127, 17, 27, 0.18);
}


#sisfo-dashboard .dashboard-hero::before {
    position: absolute;
    top: -85px;
    right: -55px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    content: "";
}


#sisfo-dashboard .dashboard-hero::after {
    position: absolute;
    right: 60px;
    bottom: -125px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    content: "";
}


#sisfo-dashboard .dashboard-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}


#sisfo-dashboard .dashboard-hero-label {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 5px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.7px;
}


#sisfo-dashboard .dashboard-hero h2 {
    margin: 15px 0 10px;
    color: #ffffff;
    font-size: clamp(27px, 2.45vw, 38px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.65px;
}


#sisfo-dashboard .dashboard-hero p {
    max-width: 790px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.65;
}


#sisfo-dashboard .dashboard-hero-date {
    position: relative;
    z-index: 2;
    display: grid;
    min-width: 220px;
    gap: 6px;
    padding: 18px 19px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 14px;
}


#sisfo-dashboard .dashboard-hero-date span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
}


#sisfo-dashboard .dashboard-hero-date strong {
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

#sisfo-dashboard .dashboard-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}


#sisfo-dashboard .dashboard-section-heading h3 {
    margin: 0;
    color: var(--db-primary-deep);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
}


#sisfo-dashboard .dashboard-section-heading p {
    margin: 5px 0 0;
    color: var(--db-text-soft);
    font-size: 14px;
    line-height: 1.5;
}


#sisfo-dashboard .dashboard-section-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


#sisfo-dashboard .dashboard-status-label {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    padding: 7px 12px;
    color: #678095;
    background: #ffffff;
    border: 1px solid var(--db-border);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
}


#sisfo-dashboard .dashboard-refresh-button {
    min-height: 39px;
    padding: 7px 13px;
    color: var(--db-primary);
    background: #ffffff;
    border: 1px solid #efc9cd;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition:
        background 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}


#sisfo-dashboard .dashboard-refresh-button:hover {
    background: #fff7f7;
    border-color: #e2aab0;
    transform: translateY(-1px);
}


#sisfo-dashboard .dashboard-refresh-button:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}


/* =========================================================
   ALERT + LOADING
   ========================================================= */

#sisfo-dashboard .dashboard-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    color: #a1112c;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}


#sisfo-dashboard .dashboard-loading {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    margin-bottom: 16px;
}


#sisfo-dashboard .dashboard-loading.is-active {
    display: flex;
}


#sisfo-dashboard .dashboard-loading-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    color: var(--db-text);
    background: #ffffff;
    border: 1px solid var(--db-border);
    border-radius: 12px;
    box-shadow:
        0 8px 20px rgba(90, 24, 30, 0.08);
    font-size: 13px;
    font-weight: 800;
}


#sisfo-dashboard .dashboard-loading-spinner {
    width: 25px;
    height: 25px;
    border: 3px solid #f0dadd;
    border-top-color: var(--db-primary);
    border-radius: 50%;
    animation: dashboard-spin 0.72s linear infinite;
}


@keyframes dashboard-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   SUMMARY
   ========================================================= */

#sisfo-dashboard .dashboard-summary-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}


#sisfo-dashboard .dashboard-summary-card {
    display: block;
    min-width: 0;
    padding: 17px 18px 16px;
    color: inherit !important;
    background: #ffffff;
    border: 1px solid var(--db-border);
    border-radius: 13px;
    box-shadow:
        0 5px 14px rgba(90, 24, 30, 0.04);
    text-decoration: none !important;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}


#sisfo-dashboard .dashboard-summary-card:hover {
    transform: translateY(-1px);
    border-color: #e8c3c7;
    box-shadow:
        0 7px 18px rgba(90, 24, 30, 0.07);
}


#sisfo-dashboard .dashboard-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}


#sisfo-dashboard .dashboard-card-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 900;
}


#sisfo-dashboard .dashboard-card-icon.is-blue {
    color: #c8202f;
    background: #fff1f2;
}


#sisfo-dashboard .dashboard-card-icon.is-purple {
    color: #7551b9;
    background: #f3edfc;
}


#sisfo-dashboard .dashboard-card-icon.is-green {
    color: #178554;
    background: #e9f8f0;
}


#sisfo-dashboard .dashboard-card-icon.is-orange {
    color: #c16b1b;
    background: #fff3e7;
}


#sisfo-dashboard .dashboard-card-icon.is-cyan {
    color: #007a8a;
    background: #e8f8fa;
}


#sisfo-dashboard .dashboard-card-icon.is-red {
    color: #c93636;
    background: #fff0f0;
}


#sisfo-dashboard .dashboard-card-label {
    color: #737373;
    font-size: 12px;
    font-weight: 800;
}


#sisfo-dashboard .dashboard-card-title {
    display: block;
    margin-bottom: 6px;
    color: #737373;
    font-size: 14px;
}


#sisfo-dashboard .dashboard-summary-card > strong {
    display: block;
    margin-bottom: 6px;
    color: var(--db-primary-deep);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}


#sisfo-dashboard .dashboard-summary-card > small {
    color: #8a8a8a;
    font-size: 12px;
}


/* =========================================================
   PANEL
   ========================================================= */

#sisfo-dashboard .dashboard-panel {
    min-width: 0;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--db-border);
    border-radius: 13px;
    box-shadow:
        0 5px 14px rgba(90, 24, 30, 0.04);
    margin-bottom: 14px;
}


#sisfo-dashboard .dashboard-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}


#sisfo-dashboard .dashboard-panel-heading h3 {
    margin: 0;
    color: var(--db-primary-deep);
    font-size: 17px;
    font-weight: 900;
}


#sisfo-dashboard .dashboard-panel-heading p {
    margin: 4px 0 0;
    color: var(--db-text-soft);
    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   JADWAL KEGIATAN
   ========================================================= */

#sisfo-dashboard .dashboard-schedule-panel {
    padding: 0;
    overflow: hidden;
}


#sisfo-dashboard .dashboard-schedule-panel .dashboard-panel-heading {
    margin: 0;
    padding: 18px 20px;
    border-bottom: 1px solid #eeeeee;
}


#sisfo-dashboard .dashboard-schedule-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 7px 12px;
    color: var(--db-primary) !important;
    background: #fff7f7;
    border: 1px solid #efc9cd;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}


#sisfo-dashboard .dashboard-schedule-link:hover {
    background: #fff1f2;
    border-color: #e2aab0;
}


#sisfo-dashboard .dashboard-schedule-table-wrap {
    width: 100%;
    overflow-x: auto;
}


#sisfo-dashboard .dashboard-schedule-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
    table-layout: fixed;
}


#sisfo-dashboard .dashboard-schedule-table th,
#sisfo-dashboard .dashboard-schedule-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eeeeee;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
    line-height: 1.45;
}


#sisfo-dashboard .dashboard-schedule-table th {
    color: #595959;
    background: #fafafa;
    font-weight: 900;
    white-space: nowrap;
}


#sisfo-dashboard .dashboard-schedule-table td {
    color: var(--db-text);
    overflow-wrap: anywhere;
}


#sisfo-dashboard .dashboard-schedule-table tbody tr:hover {
    background: #fffafa;
}


#sisfo-dashboard .dashboard-schedule-table tbody tr:last-child td {
    border-bottom: 0;
}


/* Proporsi 8 kolom */
#sisfo-dashboard .dashboard-schedule-table th:nth-child(1),
#sisfo-dashboard .dashboard-schedule-table td:nth-child(1) {
    width: 4%;
}

#sisfo-dashboard .dashboard-schedule-table th:nth-child(2),
#sisfo-dashboard .dashboard-schedule-table td:nth-child(2) {
    width: 15%;
}

#sisfo-dashboard .dashboard-schedule-table th:nth-child(3),
#sisfo-dashboard .dashboard-schedule-table td:nth-child(3) {
    width: 15%;
}

#sisfo-dashboard .dashboard-schedule-table th:nth-child(4),
#sisfo-dashboard .dashboard-schedule-table td:nth-child(4) {
    width: 15%;
}

#sisfo-dashboard .dashboard-schedule-table th:nth-child(5),
#sisfo-dashboard .dashboard-schedule-table td:nth-child(5) {
    width: 15%;
}

#sisfo-dashboard .dashboard-schedule-table th:nth-child(6),
#sisfo-dashboard .dashboard-schedule-table td:nth-child(6) {
    width: 16%;
}

#sisfo-dashboard .dashboard-schedule-table th:nth-child(7),
#sisfo-dashboard .dashboard-schedule-table td:nth-child(7) {
    width: 14%;
}

#sisfo-dashboard .dashboard-schedule-table th:nth-child(8),
#sisfo-dashboard .dashboard-schedule-table td:nth-child(8) {
    width: 6%;
}


#sisfo-dashboard .dashboard-schedule-table .is-number {
    text-align: center;
}


#sisfo-dashboard .dashboard-schedule-table .is-participant {
    text-align: center;
}


#sisfo-dashboard .dashboard-schedule-table .is-participant strong {
    display: inline-flex;
    min-width: 34px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    color: #8f111d;
    background: #fff1f2;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}


#sisfo-dashboard .dashboard-table-primary {
    color: var(--db-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}


#sisfo-dashboard .dashboard-table-secondary {
    margin-top: 3px;
    color: var(--db-text-soft);
    font-size: 11.5px;
    line-height: 1.4;
}


#sisfo-dashboard .dashboard-table-name-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


#sisfo-dashboard .dashboard-table-name-list span {
    display: block;
    position: relative;
    padding-left: 13px;
    color: #525252;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
}


#sisfo-dashboard .dashboard-table-name-list span::before {
    position: absolute;
    top: 8px;
    left: 2px;
    width: 4px;
    height: 4px;
    background: #c8202f;
    border-radius: 50%;
    content: "";
}


#sisfo-dashboard .dashboard-table-empty-value {
    color: #9a9a9a;
}


/* =========================================================
   DOCUMENTS
   ========================================================= */

#sisfo-dashboard .dashboard-document-list {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 10px;
}


#sisfo-dashboard .dashboard-document-item {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 13px;
    color: inherit !important;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 9px;
    text-decoration: none !important;
}


#sisfo-dashboard .dashboard-document-item:hover {
    background: #fff7f7;
    border-color: #efc9cd;
}


#sisfo-dashboard .dashboard-document-item span {
    min-width: 0;
    overflow: hidden;
    color: #595959;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}


#sisfo-dashboard .dashboard-document-item strong {
    flex: 0 0 auto;
    color: var(--db-primary-deep);
    font-size: 12px;
    font-weight: 900;
}


/* =========================================================
   EMPTY
   ========================================================= */

#sisfo-dashboard .dashboard-empty {
    padding: 18px 12px;
    color: var(--db-text-soft);
    background: #fafafa;
    border: 1px dashed #dfd7d8;
    border-radius: 9px;
    text-align: center;
    font-size: 12px;
}


#sisfo-dashboard .dashboard-schedule-panel > .dashboard-empty {
    margin: 16px 18px 18px;
}


/* =========================================================
   PUBLIC ACCESS
   ========================================================= */

#sisfo-dashboard .dashboard-public-panel {
    margin-top: 0;
}


#sisfo-dashboard .dashboard-public-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 10px;
}


#sisfo-dashboard .dashboard-public-item {
    display: block;
    min-width: 0;
    padding: 13px 14px;
    color: inherit !important;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    text-decoration: none !important;
    transition:
        background 160ms ease,
        border-color 160ms ease;
}


#sisfo-dashboard .dashboard-public-item:hover {
    background: #fff7f7;
    border-color: #efc9cd;
}


#sisfo-dashboard .dashboard-public-item strong {
    display: block;
    color: var(--db-primary-deep);
    font-size: 13px;
    font-weight: 900;
}


#sisfo-dashboard .dashboard-public-item small {
    display: block;
    margin-top: 4px;
    color: var(--db-text-soft);
    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {

    #sisfo-dashboard .dashboard-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    #sisfo-dashboard .dashboard-document-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    #sisfo-dashboard .dashboard-schedule-table {
        min-width: 1080px;
    }
}


@media (max-width: 820px) {

    #sisfo-dashboard .dashboard-hero {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    #sisfo-dashboard .dashboard-hero-date {
        width: 100%;
        min-width: 0;
    }

    #sisfo-dashboard .dashboard-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    #sisfo-dashboard .dashboard-section-actions {
        width: 100%;
    }

    #sisfo-dashboard .dashboard-status-label {
        flex: 1 1 auto;
    }

    #sisfo-dashboard .dashboard-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    #sisfo-dashboard .dashboard-schedule-link {
        width: 100%;
    }
}


@media (max-width: 560px) {

    #sisfo-dashboard .dashboard-hero {
        padding: 21px 18px;
        border-radius: 14px;
    }

    #sisfo-dashboard .dashboard-hero h2 {
        font-size: 25px;
    }

    #sisfo-dashboard .dashboard-hero p {
        font-size: 14px;
    }

    #sisfo-dashboard .dashboard-summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #sisfo-dashboard .dashboard-summary-card {
        padding: 15px;
    }

    #sisfo-dashboard .dashboard-summary-card > strong {
        font-size: 28px;
    }

    #sisfo-dashboard .dashboard-section-actions {
        flex-direction: column;
    }

    #sisfo-dashboard .dashboard-status-label,
    #sisfo-dashboard .dashboard-refresh-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    #sisfo-dashboard .dashboard-document-list,
    #sisfo-dashboard .dashboard-public-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

#sisfo-dashboard a:focus-visible,
#sisfo-dashboard button:focus-visible {
    outline: 3px solid rgba(200, 32, 47, 0.20);
    outline-offset: 2px;
}


@media (prefers-reduced-motion: reduce) {

    #sisfo-dashboard *,
    #sisfo-dashboard *::before,
    #sisfo-dashboard *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Dashboard loading aliases to global loading system */
#sisfo-dashboard .dashboard-loading-card {
  color: var(--sisfo-text);
  background: var(--sisfo-surface);
  border-color: var(--sisfo-border);
  box-shadow: var(--sisfo-shadow-sm);
}
#sisfo-dashboard .dashboard-loading-spinner {
  border-color: #eadadd;
  border-top-color: var(--sisfo-primary);
}
\n\n/* =========================================================\n   APMP HEADER REFINEMENT V3\n   ========================================================= */\n\n.sisfo-header-main {\n  min-height: 92px;\n  gap: 22px;\n}\n\n.sisfo-header-logo {\n  width: 96px;\n  height: 78px;\n  flex: 0 0 96px;\n}\n\n.sisfo-header-logo img {\n  width: 100%;\n  height: 100%;\n  object-fit: contain;\n}\n\n.header-nav-link,\n.header-dropdown-toggle {\n  min-height: 44px;\n  padding: 9px 13px;\n  font-size: 14px;\n  font-weight: 800;\n}\n\n.header-dropdown-item {\n  padding: 11px 13px;\n  font-size: 13px;\n}\n\n.header-account-info strong { font-size: 13px; }\n.header-account-info span { font-size: 10px; }\n.header-date { font-size: 11px; }\n.logout-button { min-height: 42px; padding: 8px 15px; font-size: 13px; }\n.user-avatar { width: 42px; height: 42px; flex-basis: 42px; font-size: 12px; }\n\n@media (hover: hover) and (pointer: fine) and (min-width: 1101px) {\n  .header-dropdown:hover > .header-dropdown-menu {\n    display: block;\n  }\n  .header-dropdown:hover > .header-dropdown-toggle {\n    color: var(--sisfo-primary);\n    background: var(--sisfo-primary-soft);\n  }\n  .header-dropdown:hover .header-dropdown-arrow {\n    transform: rotate(180deg);\n  }\n  /* invisible bridge prevents dropdown closing while pointer moves into menu */\n  .header-dropdown::after {\n    position: absolute;\n    top: 100%;\n    left: 0;\n    width: 100%;\n    height: 10px;\n    content: \"\";\n  }\n}\n\n@media (max-width: 1280px) and (min-width: 1101px) {\n  .sisfo-header-main { gap: 12px; }\n  .sisfo-header-logo { width: 82px; height: 68px; flex-basis: 82px; }\n  .header-nav-link, .header-dropdown-toggle { padding: 8px 8px; font-size: 12px; }\n  .header-account-info { display: none; }\n}\n\n@media (max-width: 1100px) {\n  .sisfo-header-main { min-height: 72px; }\n  .sisfo-header-logo { width: 76px; height: 60px; flex-basis: 76px; }\n}\n\n@media (max-width: 700px) {\n  .sisfo-header-main { min-height: 66px; }\n  .sisfo-header-logo { width: 70px; height: 56px; flex-basis: 70px; }\n}\n


/* =========================================================
   APMP LOGO SIZE OVERRIDE
   VERSION 3.0.1
   ========================================================= */

/* Header / halaman utama */
.sisfo-brand,
.sisfo-header-brand,
.sisfo-logo-wrap {
    min-width: 128px;
}

.sisfo-brand img,
.sisfo-header-brand img,
.sisfo-logo,
.sisfo-logo-image {
    width: auto !important;
    height: 88px !important;
    max-width: 150px !important;
    object-fit: contain;
    display: block;
}

/* Halaman login */
.login-logo {
    margin-bottom: 22px;
}

.login-logo img,
.login-logo-image {
    width: auto !important;
    height: 130px !important;
    max-width: 220px !important;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Header diberi ruang sesuai logo yang lebih besar */
.sisfo-header,
.sisfo-topbar,
.app-header {
    min-height: 104px;
}

@media (max-width: 900px) {
    .sisfo-brand img,
    .sisfo-header-brand img,
    .sisfo-logo,
    .sisfo-logo-image {
        height: 72px !important;
        max-width: 125px !important;
    }

    .login-logo img,
    .login-logo-image {
        height: 110px !important;
        max-width: 190px !important;
    }

    .sisfo-header,
    .sisfo-topbar,
    .app-header {
        min-height: 88px;
    }
}

@media (max-width: 560px) {
    .sisfo-brand img,
    .sisfo-header-brand img,
    .sisfo-logo,
    .sisfo-logo-image {
        height: 64px !important;
        max-width: 112px !important;
    }

    .login-logo img,
    .login-logo-image {
        height: 100px !important;
        max-width: 170px !important;
    }
}


/* =========================================================
   APMP HEADER + DASHBOARD REFINEMENT
   VERSION 3.0.2
   ========================================================= */

/* Logo header dibuat lebih dominan */
.sisfo-header-main {
    min-height: 112px !important;
    gap: 24px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.sisfo-header-logo {
    width: 142px !important;
    height: 94px !important;
    flex: 0 0 142px !important;
}

.sisfo-header-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Font navigasi utama */
.header-nav-link,
.header-dropdown-toggle {
    min-height: 46px !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.header-dropdown-item {
    padding: 12px 14px !important;
    font-size: 14px !important;
    font-weight: 750 !important;
}

.header-account-info strong {
    font-size: 14px !important;
}

.header-account-info span {
    font-size: 11px !important;
}

.header-date {
    font-size: 12px !important;
}

.logout-button {
    min-height: 44px !important;
    padding: 9px 16px !important;
    font-size: 14px !important;
}

.user-avatar {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
    font-size: 13px !important;
}

/* Dropdown desktop otomatis muncul saat hover */
@media (hover: hover) and (pointer: fine) and (min-width: 1101px) {
    .header-dropdown:hover > .header-dropdown-menu {
        display: block !important;
    }

    .header-dropdown:hover > .header-dropdown-toggle {
        color: var(--sisfo-primary) !important;
        background: var(--sisfo-primary-soft) !important;
    }

    .header-dropdown:hover .header-dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Akses publik Dashboard: 3 layanan */
#sisfo-dashboard .dashboard-public-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Warna Dashboard mengikuti identitas APMP */
#sisfo-dashboard .dashboard-section-heading h3,
#sisfo-dashboard .dashboard-panel-heading h3,
#sisfo-dashboard .dashboard-summary-card > strong,
#sisfo-dashboard .dashboard-document-item strong,
#sisfo-dashboard .dashboard-public-item strong {
    color: var(--sisfo-primary-deep) !important;
}

#sisfo-dashboard .dashboard-refresh-button,
#sisfo-dashboard .dashboard-schedule-link {
    color: var(--sisfo-primary) !important;
    border-color: #efc9cd !important;
}

#sisfo-dashboard .dashboard-refresh-button:hover,
#sisfo-dashboard .dashboard-schedule-link:hover {
    background: var(--sisfo-primary-soft) !important;
    border-color: #e4aeb5 !important;
}

@media (max-width: 1380px) and (min-width: 1101px) {
    .sisfo-header-main {
        gap: 12px !important;
    }

    .sisfo-header-logo {
        width: 118px !important;
        height: 82px !important;
        flex-basis: 118px !important;
    }

    .header-nav-link,
    .header-dropdown-toggle {
        padding: 9px 9px !important;
        font-size: 13px !important;
    }

    .header-account-info {
        display: none;
    }
}

@media (max-width: 1100px) {
    .sisfo-header-main {
        min-height: 82px !important;
    }

    .sisfo-header-logo {
        width: 104px !important;
        height: 70px !important;
        flex-basis: 104px !important;
    }

    .header-nav-link,
    .header-dropdown-toggle {
        font-size: 13px !important;
    }
}

@media (max-width: 700px) {
    .sisfo-header-main {
        min-height: 74px !important;
    }

    .sisfo-header-logo {
        width: 92px !important;
        height: 62px !important;
        flex-basis: 92px !important;
    }

    #sisfo-dashboard .dashboard-public-grid {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   PESERTA — GLOBAL MODULE STYLES
   Migrated from peserta.css + peserta-import.css
   VERSION 3.1.0
   ========================================================= */
/* =====================================================
   SISFO LSP APMP
   HALAMAN PESERTA
===================================================== */

.peserta-page {
  width: 100%;
}


/* =====================================================
   HERO
===================================================== */

.peserta-hero {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 24px;

  margin-bottom: 22px;

  padding: 24px;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f5faff 100%
    );

  border:
    1px solid #dfeaf2;

  border-radius: 14px;

  box-shadow:
    0 4px 18px
    rgba(21, 50, 71, .04);
}


.peserta-eyebrow {
  display: inline-block;

  margin-bottom: 8px;

  color: var(--sisfo-primary, #b51224);

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 1.1px;

  text-transform: uppercase;
}


.peserta-hero h2 {
  margin: 0;

  color: #184764;

  font-size:
    clamp(22px, 2vw, 30px);

  font-weight: 900;
}


.peserta-hero p {
  max-width: 720px;

  margin:
    8px 0 0;

  color: #718797;

  font-size: 12px;

  line-height: 1.65;
}


.peserta-hero-actions {
  display: flex;

  flex: 0 0 auto;

  align-items: center;
  justify-content: flex-end;

  gap: 8px;

  flex-wrap: wrap;
}


/* =====================================================
   BUTTON
===================================================== */

.peserta-button {
  display: inline-flex;

  min-height: 44px;

  align-items: center;
  justify-content: center;

  gap: 7px;

  padding:
    9px 14px;

  font-family: inherit;
  font-size: 13px;
  font-weight: 800;

  border-radius: 8px;

  cursor: pointer;

  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease,
    opacity .15s ease;
}


.peserta-button.is-primary {
  color: #ffffff;

  background: var(--sisfo-primary, #b51224);

  border:
    1px solid var(--sisfo-primary, #b51224);
}


.peserta-button.is-primary:hover {
  background: var(--sisfo-primary-deep, #8f0f1d);
}


.peserta-button.is-secondary {
  color: #46677d;

  background: #ffffff;

  border:
    1px solid #d7e4ec;
}


.peserta-button.is-secondary:hover {
  color: var(--sisfo-primary, #b51224);

  background: #f4f9fc;

  border-color: #b9d5e5;
}


.peserta-button:disabled {
  cursor: not-allowed;
  opacity: .55;
}


/* =====================================================
   SUMMARY
===================================================== */

.peserta-summary-grid {
  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 12px;

  margin-bottom: 20px;
}


.peserta-summary-card {
  position: relative;

  overflow: hidden;

  min-height: 100px;

  padding: 17px 18px;

  background: #ffffff;

  border:
    1px solid #e0e9ef;

  border-radius: 12px;

  box-shadow:
    0 3px 14px
    rgba(21, 50, 71, .035);
}


.peserta-summary-card::before {
  position: absolute;

  top: 0;
  left: 0;
  bottom: 0;

  width: 4px;

  background: var(--sisfo-primary, #b51224);

  content: "";
}


.peserta-summary-card span {
  display: block;

  color: #758b99;

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
}


.peserta-summary-card strong {
  display: block;

  margin-top: 12px;

  color: #24475f;

  font-size: 30px;
  font-weight: 900;
}


.peserta-summary-card.is-success::before {
  background: #169b62;
}


.peserta-summary-card.is-danger::before {
  background: #d64b4b;
}


.peserta-summary-card.is-online::before {
  background: #6c63d9;
}


.peserta-summary-card.is-offline::before {
  background: #d38a20;
}


/* =====================================================
   FILTER
===================================================== */

.peserta-filter-card {
  margin-bottom: 20px;

  padding: 17px;

  background: #ffffff;

  border:
    1px solid #dfe8ef;

  border-radius: 12px;
}


.peserta-filter-grid {
  display: grid;

  grid-template-columns:
    minmax(320px, 1.8fr)
    minmax(220px, .8fr)
    auto;

  gap: 14px;

  align-items: end;
}


.peserta-field label {
  display: block;

  margin-bottom: 7px;

  color: #577287;

  font-size: 12px;
  font-weight: 900;

  text-transform: uppercase;
}


.peserta-field input,
.peserta-field select {
  width: 100%;

  min-height: 42px;

  padding:
    8px 11px;

  color: #2f4f65;

  background: #ffffff;

  border:
    1px solid #d6e2ea;

  border-radius: 8px;

  outline: none;

  font-family: inherit;
  font-size: 13px;
}


.peserta-field input:focus,
.peserta-field select:focus {
  border-color: var(--sisfo-primary, #b51224);

  box-shadow:
    0 0 0 3px
    rgba(181, 18, 36, .10);
}


/* =====================================================
   ALERT
===================================================== */

.peserta-alert {
  margin-bottom: 18px;

  padding: 12px 14px;

  border-radius: 9px;

  font-size: 13px;
  font-weight: 700;
}


.peserta-alert.is-error {
  color: #a52a22;

  background: #fff5f4;

  border:
    1px solid #f0cac6;
}


.peserta-alert.is-success {
  color: #146b48;

  background: #f0fbf6;

  border:
    1px solid #c7eada;
}


/* =====================================================
   LIST CARD
===================================================== */

.peserta-list-card {
  overflow: hidden;

  background: #ffffff;

  border:
    1px solid #dfe8ef;

  border-radius: 13px;

  box-shadow:
    0 4px 18px
    rgba(21, 50, 71, .04);
}


.peserta-list-header {
  display: flex;

  min-height: 78px;

  align-items: center;
  justify-content: space-between;

  gap: 16px;

  padding:
    17px 20px;

  border-bottom:
    1px solid #e8eff4;
}


.peserta-list-header h2 {
  margin: 0;

  color: #24475f;

  font-size: 18px;
  font-weight: 900;
}


.peserta-list-header p {
  margin:
    5px 0 0;

  color: #8193a1;

  font-size: 12px;
}


.peserta-result-count {
  display: inline-flex;

  min-height: 30px;

  align-items: center;
  justify-content: center;

  padding:
    5px 10px;

  color: var(--sisfo-primary, #b51224);

  background: var(--sisfo-primary-soft, #fff1f2);

  border-radius: 999px;

  font-size: 12px;
  font-weight: 900;

  white-space: nowrap;
}


/* =====================================================
   TABLE
===================================================== */

.peserta-table-wrap {
  width: 100%;

  overflow-x: auto;
}


.peserta-table {
  width: 100%;

  min-width: 860px;

  border-collapse: collapse;
}


.peserta-table th {
  padding:
    14px 14px;

  color: #687f90;

  background: #f7fafc;

  border-bottom:
    1px solid #e3ebf1;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: .35px;

  text-align: left;

  text-transform: uppercase;

  white-space: nowrap;
}


.peserta-table td {
  padding:
    15px 14px;

  color: #405e72;

  border-bottom:
    1px solid #edf2f5;

  font-size: 14px;

  vertical-align: middle;
}


.peserta-table tbody tr:hover {
  background: #fbfdff;
}


.peserta-table tbody tr:last-child td {
  border-bottom: 0;
}


.peserta-table .is-number {
  width: 55px;

  text-align: center;
}


.peserta-table .is-action {
  width: 125px;

  text-align: center;
}


.peserta-name strong {
  display: block;

  color: #24475f;

  font-size: 14px;
  font-weight: 900;
}


.peserta-name small {
  display: block;

  margin-top: 4px;

  color: #8ca0ae;

  font-size: 11px;
}


.peserta-secondary {
  display: block;

  margin-top: 3px;

  color: #8ca0ae;

  font-size: 11px;
}


/* =====================================================
   BADGE
===================================================== */

.peserta-badge {
  display: inline-flex;

  min-height: 30px;

  align-items: center;

  padding:
    5px 10px;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 900;

  white-space: nowrap;
}


.peserta-badge.is-waiting {
  color: #8b6908;
  background: #fff8d9;
}


.peserta-badge.is-assessment {
  color: #075f91;
  background: #eaf6fd;
}


.peserta-badge.is-pleno {
  color: #6b4e9b;
  background: #f3edfc;
}


.peserta-badge.is-done {
  color: #18734d;
  background: #eaf9f2;
}


.peserta-badge.is-other {
  color: #596d7c;
  background: #eef3f6;
}


/* =====================================================
   ACTION
===================================================== */

.peserta-actions {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 5px;
}


.peserta-action-button {
  min-height: 34px;

  padding:
    6px 10px;

  font-family: inherit;
  font-size: 11px;
  font-weight: 900;

  background: #ffffff;

  border:
    1px solid #d8e3ea;

  border-radius: 6px;

  cursor: pointer;
}


.peserta-action-button.is-detail {
  color: var(--sisfo-primary, #b51224);
}


.peserta-action-button.is-edit {
  color: #9a6700;
}


.peserta-action-button:hover {
  background: #f5f9fc;
}


/* =====================================================
   EMPTY / LOADING
===================================================== */

.peserta-table-message {
  padding:
    42px 20px !important;

  color: #8193a2 !important;

  text-align: center !important;
}


.peserta-loading-wrap {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 9px;
}


.peserta-spinner {
  width: 18px;
  height: 18px;

  border:
    2px solid #ead7d9;

  border-top-color: var(--sisfo-primary, #b51224);

  border-radius: 50%;

  animation:
    pesertaSpin .7s linear infinite;
}


@keyframes pesertaSpin {

  to {
    transform:
      rotate(360deg);
  }

}


/* =====================================================
   FOOTER / PAGINATION
===================================================== */

.peserta-list-footer {
  display: flex;

  min-height: 64px;

  align-items: center;
  justify-content: space-between;

  gap: 14px;

  padding:
    12px 18px;

  color: #7c909f;

  background: #fbfcfd;

  border-top:
    1px solid #e5edf2;

  font-size: 12px;
}


.peserta-pagination {
  display: flex;

  align-items: center;

  gap: 8px;
}


.peserta-pagination-page {
  min-width: 100px;

  color: #547086;

  font-size: 12px;
  font-weight: 900;

  text-align: center;
}


/* =====================================================
   MODAL DETAIL
===================================================== */

.peserta-modal {
  position: fixed;

  inset: 0;

  z-index: 500;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;
}


.peserta-modal.is-open {
  display: flex;
}


.peserta-modal-backdrop {
  position: absolute;

  inset: 0;

  background:
    rgba(13, 37, 53, .58);

  backdrop-filter:
    blur(2px);
}


.peserta-modal-dialog {
  position: relative;

  z-index: 1;

  width: min(
    850px,
    100%
  );

  max-height: 90vh;

  overflow-y: auto;

  background: #ffffff;

  border-radius: 14px;

  box-shadow:
    0 20px 70px
    rgba(0, 0, 0, .18);
}


.peserta-modal-header {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 18px;

  padding:
    20px 22px;

  border-bottom:
    1px solid #e7eef3;
}


.peserta-modal-eyebrow {
  display: block;

  margin-bottom: 5px;

  color: var(--sisfo-primary, #b51224);

  font-size: 11px;
  font-weight: 900;

  letter-spacing: 1px;
}


.peserta-modal-header h2 {
  margin: 0;

  color: #24475f;

  font-size: 20px;
}


.peserta-modal-header p {
  margin:
    6px 0 0;

  color: #7a8e9c;

  font-size: 12px;
}


.peserta-modal-close {
  display: flex;

  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  align-items: center;
  justify-content: center;

  color: #647987;

  background: #f2f6f8;

  border: 0;

  border-radius: 8px;

  cursor: pointer;

  font-size: 20px;
}


.peserta-detail-content {
  padding: 22px;
}


.peserta-detail-section {
  margin-bottom: 20px;
}


.peserta-detail-section:last-child {
  margin-bottom: 0;
}


.peserta-detail-section h3 {
  margin:
    0 0 12px;

  color: #31566d;

  font-size: 14px;
  font-weight: 900;

  text-transform: uppercase;
}


.peserta-detail-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;
}


.peserta-detail-item {
  padding: 11px 12px;

  background: #f8fafc;

  border:
    1px solid #e7edf2;

  border-radius: 8px;
}


.peserta-detail-item.is-full {
  grid-column: 1 / -1;
}


.peserta-detail-item span {
  display: block;

  margin-bottom: 5px;

  color: #8496a4;

  font-size: 11px;
  font-weight: 800;

  text-transform: uppercase;
}


.peserta-detail-item strong {
  display: block;

  color: #31546a;

  font-size: 13px;

  line-height: 1.55;

  word-break: break-word;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px) {

  .peserta-summary-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }


  .peserta-filter-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 800px) {

  .peserta-hero {
    flex-direction: column;
  }


  .peserta-hero-actions {
    width: 100%;

    justify-content: flex-start;
  }


  .peserta-summary-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .peserta-filter-grid {
    grid-template-columns: 1fr;
  }


  .peserta-detail-grid {
    grid-template-columns: 1fr;
  }


  .peserta-detail-item.is-full {
    grid-column: auto;
  }


  .peserta-list-footer {
    align-items: stretch;

    flex-direction: column;
  }


  .peserta-pagination {
    justify-content: space-between;
  }

}


@media (max-width: 520px) {

  .peserta-summary-grid {
    grid-template-columns: 1fr;
  }


  .peserta-hero-actions .peserta-button {
    flex: 1 1 calc(50% - 8px);
  }

}

/* =====================================================
   FORM MODAL
===================================================== */

.peserta-form-modal {
  position: fixed;
  inset: 0;
  z-index: 520;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;
}

.peserta-form-modal.is-open {
  display: flex;
}

.peserta-form-backdrop {
  position: absolute;
  inset: 0;

  background:
    rgba(13, 37, 53, .58);

  backdrop-filter: blur(2px);
}

.peserta-form-dialog {
  position: relative;
  z-index: 1;

  width: min(1050px, 100%);
  max-height: 92vh;

  overflow-y: auto;

  background: #ffffff;

  border-radius: 14px;

  box-shadow:
    0 20px 70px
    rgba(0, 0, 0, .20);
}

.peserta-form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 18px;

  padding: 20px 22px;

  border-bottom:
    1px solid #e6edf2;
}

.peserta-form-header h2 {
  margin: 0;

  color: #24475f;

  font-size: 21px;
}

.peserta-form-header p {
  margin: 6px 0 0;

  color: #7d919f;

  font-size: 12px;
}

.peserta-form-eyebrow {
  display: block;

  margin-bottom: 5px;

  color: var(--sisfo-primary, #b51224);

  font-size: 11px;
  font-weight: 900;

  letter-spacing: 1px;
}

.peserta-form-close {
  display: flex;

  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  align-items: center;
  justify-content: center;

  color: #647987;

  background: #f2f6f8;

  border: 0;
  border-radius: 8px;

  cursor: pointer;

  font-size: 20px;
}

.peserta-form-body {
  padding: 20px 22px;
}

.peserta-form-section {
  margin-bottom: 20px;

  border:
    1px solid #e2eaf0;

  border-radius: 12px;

  overflow: hidden;
}

.peserta-form-section:last-child {
  margin-bottom: 0;
}

.peserta-form-section-heading {
  display: flex;
  align-items: center;

  gap: 10px;

  padding: 14px 16px;

  background: #f7fafc;

  border-bottom:
    1px solid #e5edf2;
}

.peserta-form-section-number {
  display: flex;

  width: 31px;
  height: 31px;

  flex: 0 0 31px;

  align-items: center;
  justify-content: center;

  color: var(--sisfo-primary, #b51224);

  background: var(--sisfo-primary-soft, #fff1f2);

  border-radius: 8px;

  font-size: 12px;
  font-weight: 900;
}

.peserta-form-section-heading h3 {
  margin: 0;

  color: #31566d;

  font-size: 15px;
}

.peserta-form-section-heading p {
  margin: 4px 0 0;

  color: #8698a5;

  font-size: 11px;
}

.peserta-form-table-wrap {
  width: 100%;

  overflow-x: auto;
}

.peserta-form-table {
  width: 100%;
  min-width: 800px;

  border-collapse: collapse;
}

.peserta-form-table th,
.peserta-form-table td {
  padding: 11px 12px;

  border-bottom:
    1px solid #edf2f5;

  vertical-align: top;
}

.peserta-form-table tr:last-child th,
.peserta-form-table tr:last-child td {
  border-bottom: 0;
}

.peserta-form-table th {
  width: 160px;

  color: #5d7688;

  background: #fbfcfd;

  font-size: 12px;
  font-weight: 900;

  text-align: left;
}

.peserta-form-table th b {
  color: #d44040;
}

.peserta-form-table input,
.peserta-form-table select,
.peserta-form-table textarea {
  width: 100%;

  min-height: 40px;

  padding: 8px 10px;

  color: #2f4f65;

  background: #ffffff;

  border:
    1px solid #d7e2ea;

  border-radius: 7px;

  outline: none;

  font-family: inherit;
  font-size: 13px;
}

.peserta-form-table textarea {
  min-height: 70px;

  resize: vertical;
}

.peserta-form-table input:focus,
.peserta-form-table select:focus,
.peserta-form-table textarea:focus {
  border-color: var(--sisfo-primary, #b51224);

  box-shadow:
    0 0 0 3px
    rgba(181, 18, 36, .10);
}

.peserta-form-help {
  display: block;

  margin-top: 5px;

  color: #8a9aa6;

  font-size: 11px;

  line-height: 1.5;
}

.peserta-form-value {
  display: block;

  min-height: 40px;

  padding: 10px;

  color: #31566d;

  background: #f8fafc;

  border:
    1px solid #e4ebf0;

  border-radius: 7px;

  font-size: 13px;
  font-weight: 800;
}


/* =====================================================
   SEARCHABLE SELECT
===================================================== */

.peserta-search-select {
  position: relative;
}

.peserta-search-select-wrap {
  display: flex;
}

.peserta-search-select-wrap input {
  padding-right: 38px;
}

.peserta-search-select-toggle {
  position: absolute;

  top: 0;
  right: 0;

  width: 36px;
  height: 40px;

  color: #607789;

  background: transparent;

  border: 0;

  cursor: pointer;
}

.peserta-search-select-dropdown {
  position: absolute;

  top: calc(100% + 4px);
  left: 0;
  right: 0;

  z-index: 30;

  max-height: 220px;

  overflow-y: auto;

  background: #ffffff;

  border:
    1px solid #d7e2ea;

  border-radius: 8px;

  box-shadow:
    0 10px 30px
    rgba(32, 61, 82, .12);
}

.peserta-search-option {
  display: block;

  width: 100%;

  padding: 9px 10px;

  color: #38596e;

  background: #ffffff;

  border: 0;

  border-bottom:
    1px solid #edf2f5;

  cursor: pointer;

  font-family: inherit;
  font-size: 12px;

  text-align: left;
}

.peserta-search-option:last-child {
  border-bottom: 0;
}

.peserta-search-option:hover {
  color: var(--sisfo-primary, #b51224);

  background: var(--sisfo-primary-soft, #fff1f2);
}

.peserta-search-empty {
  padding: 11px;

  color: #8b9ba7;

  font-size: 12px;

  text-align: center;
}


/* =====================================================
   FORM FOOTER
===================================================== */

.peserta-form-footer {
  display: flex;

  align-items: center;
  justify-content: flex-end;

  gap: 8px;

  padding: 15px 22px;

  background: #fbfcfd;

  border-top:
    1px solid #e5edf2;
}

.peserta-save-spinner {
  display: none;

  width: 14px;
  height: 14px;

  border:
    2px solid rgba(255,255,255,.45);

  border-top-color: #ffffff;

  border-radius: 50%;

  animation:
    pesertaSpin .7s linear infinite;
}

.peserta-save-button.is-loading
.peserta-save-spinner {
  display: inline-block;
}

.peserta-save-button.is-loading
.peserta-save-text {
  opacity: .8;
}


@media (max-width: 800px) {

  .peserta-form-modal {
    padding: 10px;
  }

  .peserta-form-dialog {
    max-height: 95vh;
  }

  .peserta-form-header,
  .peserta-form-body,
  .peserta-form-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

}

#formNikHelp.is-success {
  color: #168354;
  font-weight: 700;
}

#formNikHelp.is-error {
  color: #c43b34;
  font-weight: 700;
}

#formNikHelp.is-loading {
  color: var(--sisfo-primary, #b51224);
  font-weight: 700;
}

/* =====================================================
   STATUS SERTIFIKASI
===================================================== */

.peserta-status-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}


/* =====================================================
   RIWAYAT PESERTA
===================================================== */

.peserta-history-description {
  margin:
    -4px 0 16px;

  color: #64748b;

  font-size: 12px;
}


.peserta-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.peserta-history-card {
  border:
    1px solid #e2e8f0;

  border-radius: 12px;

  background: #ffffff;

  overflow: hidden;
}


.peserta-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 13px 15px;

  border-bottom:
    1px solid #e2e8f0;

  background: #f8fafc;
}


.peserta-history-header strong {
  display: block;

  margin-top: 3px;

  font-size: 13px;
}


.peserta-history-number {
  display: block;

  color: #64748b;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;

  text-transform: uppercase;
}


.peserta-history-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 0;
}


.peserta-history-grid > div {
  padding: 12px 15px;

  border-right:
    1px solid #eef2f7;

  border-bottom:
    1px solid #eef2f7;
}


.peserta-history-grid span {
  display: block;

  margin-bottom: 4px;

  color: #64748b;

  font-size: 12px;
}


.peserta-history-grid strong {
  display: block;

  font-size: 12px;

  word-break: break-word;
}


.peserta-history-loading,
.peserta-history-empty,
.peserta-history-error {
  padding: 18px;

  border-radius: 10px;

  font-size: 12px;

  text-align: center;
}


.peserta-history-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: #f8fafc;

  color: #64748b;
}


.peserta-history-empty {
  background: #f8fafc;

  color: #64748b;
}


.peserta-history-error {
  background: #fef2f2;

  color: #991b1b;
}


@media (
  max-width: 760px
) {

  .peserta-history-grid {
    grid-template-columns:
      1fr;
  }

}

/* =====================================================
   DELETE ACTION
===================================================== */

.peserta-action.is-delete {
  border-color: #fecaca;
  background: #fff;
  color: #b91c1c;
}

.peserta-action.is-delete:hover {
  border-color: #ef4444;
  background: #fef2f2;
  color: #991b1b;
}


/* =====================================================
   DELETE MODAL
===================================================== */

.peserta-delete-modal {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;
}

.peserta-delete-modal.is-open {
  display: flex;
}

.peserta-delete-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(15, 23, 42, .56);
}

.peserta-delete-dialog {
  position: relative;

  width: 100%;
  max-width: 470px;

  border-radius: 16px;

  background: #ffffff;

  box-shadow:
    0 24px 70px
    rgba(15, 23, 42, .25);

  overflow: hidden;
}

.peserta-delete-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  padding: 20px;

  border-bottom:
    1px solid #e2e8f0;
}

.peserta-delete-header h2 {
  margin:
    3px 0 5px;

  font-size: 20px;
}

.peserta-delete-header p {
  margin: 0;

  color: #64748b;

  font-size: 12px;
}

.peserta-delete-eyebrow {
  color: #b91c1c;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.peserta-delete-close {
  width: 34px;
  height: 34px;

  border: 0;
  border-radius: 8px;

  background: #f8fafc;

  cursor: pointer;

  font-size: 22px;
}

.peserta-delete-body {
  padding: 24px;

  text-align: center;
}

.peserta-delete-warning-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  margin:
    0 auto 16px;

  border-radius: 50%;

  background: #fee2e2;

  color: #b91c1c;

  font-size: 24px;
  font-weight: 800;
}

.peserta-delete-body p {
  margin:
    0 0 7px;

  color: #64748b;

  font-size: 12px;
}

.peserta-delete-body > strong {
  display: block;

  font-size: 15px;
}

.peserta-delete-body > small {
  display: block;

  margin-top: 4px;

  color: #64748b;
}

.peserta-delete-notice {
  margin-top: 18px;

  padding: 12px;

  border:
    1px solid #fecaca;

  border-radius: 10px;

  background: #fef2f2;

  color: #991b1b;

  font-size: 13px;
}

.peserta-delete-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;

  padding: 14px 20px;

  border-top:
    1px solid #e2e8f0;

  background: #f8fafc;
}

.peserta-button.is-danger {
  border-color: #dc2626;

  background: #dc2626;

  color: #ffffff;
}

.peserta-button.is-danger:hover {
  border-color: #b91c1c;

  background: #b91c1c;
}

/* =====================================================
   PESERTA IMPORT
===================================================== */

.peserta-import-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.peserta-import-modal.is-open { display: flex; }
.peserta-import-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(3px);
}
.peserta-import-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .25);
}
.peserta-import-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border-bottom: 1px solid #e5e7eb;
}
.peserta-import-eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--sisfo-primary, #b51224);
}
.peserta-import-header h2 { margin: 0; font-size: 22px; }
.peserta-import-header p { margin: 6px 0 0; color: #64748b; font-size: 13px; }
.peserta-import-close {
  width: 38px; height: 38px; border: 0; border-radius: 10px;
  background: #f1f5f9; font-size: 23px; cursor: pointer;
}
.peserta-import-body { display: flex; flex-direction: column; gap: 18px; padding: 24px 26px; }
.peserta-import-info {
  padding: 16px 18px; border: 1px solid #dbe4ee; border-radius: 12px; background: #f8fafc;
}
.peserta-import-info strong { font-size: 13px; }
.peserta-import-info ul { margin: 9px 0 0; padding-left: 20px; color: #475569; font-size: 12px; line-height: 1.7; }
.peserta-import-drop {
  min-height: 145px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 24px; border: 2px dashed #cbd5e1; border-radius: 14px;
  background: #f8fafc; cursor: pointer; text-align: center;
  transition: border-color .2s ease, background .2s ease;
}
.peserta-import-drop:hover { border-color: var(--sisfo-primary, #b51224); background: var(--sisfo-primary-soft, #fff1f2); }
.peserta-import-icon {
  display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  margin-bottom: 4px; border-radius: 50%; background: var(--sisfo-primary-soft, #fff1f2);
  color: var(--sisfo-primary, #b51224); font-size: 22px; font-weight: 700;
}
.peserta-import-drop strong { font-size: 14px; }
.peserta-import-drop span:last-of-type { color: #64748b; font-size: 12px; }
.peserta-import-selected > div {
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
  padding: 12px 14px; border-radius: 10px; font-size: 12px;
}
.peserta-import-selected .is-success { background: #f0fdf4; color: #166534; }
.peserta-import-selected .is-error { background: #fef2f2; color: #991b1b; }
.peserta-import-progress {
  display: flex; align-items: center; gap: 14px; padding: 15px;
  border-radius: 12px; background: var(--sisfo-primary-soft, #fff1f2);
}
.peserta-import-progress strong { display: block; margin-bottom: 3px; font-size: 13px; }
.peserta-import-progress p { margin: 0; color: #64748b; font-size: 12px; }
.peserta-import-spinner {
  width: 22px; height: 22px; flex: 0 0 auto;
  border: 3px solid #f3c7cc; border-top-color: var(--sisfo-primary, #b51224);
  border-radius: 50%; animation: pesertaImportSpin .8s linear infinite;
}
@keyframes pesertaImportSpin { to { transform: rotate(360deg); } }
.peserta-import-success-title { margin-bottom: 14px; }
.peserta-import-success-title strong { display: block; font-size: 15px; }
.peserta-import-success-title span { color: #64748b; font-size: 12px; }
.peserta-import-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.peserta-import-summary article { padding: 14px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.peserta-import-summary span { display: block; color: #64748b; font-size: 11px; }
.peserta-import-summary strong { display: block; margin-top: 4px; font-size: 22px; }
.peserta-import-errors { margin-top: 20px; }
.peserta-import-errors h4 { margin: 0 0 10px; font-size: 13px; }
.peserta-import-error-list { max-height: 260px; overflow: auto; border: 1px solid #fecaca; border-radius: 10px; }
.peserta-import-error-item { padding: 12px 14px; border-bottom: 1px solid #fee2e2; background: #fffafa; }
.peserta-import-error-item:last-child { border-bottom: 0; }
.peserta-import-error-item strong { display: block; color: #991b1b; font-size: 12px; }
.peserta-import-error-item span { display: block; margin-top: 2px; color: #64748b; font-size: 11px; }
.peserta-import-error-item p { margin: 5px 0 0; color: #7f1d1d; font-size: 12px; }
.peserta-import-failed { padding: 15px; border-radius: 10px; background: #fef2f2; color: #991b1b; }
.peserta-import-failed p { margin: 5px 0 0; font-size: 12px; }
.peserta-import-footer {
  display: flex; justify-content: flex-end; gap: 10px; padding: 18px 26px; border-top: 1px solid #e5e7eb;
}
@media (max-width: 640px) {
  .peserta-import-modal { padding: 10px; }
  .peserta-import-summary { grid-template-columns: 1fr; }
  .peserta-import-footer { flex-direction: column-reverse; }
  .peserta-import-footer button { width: 100%; }
}
.peserta-import-progress[hidden],
.peserta-import-result[hidden],
.peserta-import-selected[hidden] { display: none !important; }

/* =========================================================
   SISFO APMP - DESKTOP DROPDOWN HOVER FIX
   ========================================================= */

@media (min-width: 1101px) {

  .header-dropdown {
    position: relative;
  }

  /*
   * Hilangkan celah antara tombol utama dan dropdown.
   * Padding transparan menjadi jembatan hover.
   */
  .header-dropdown-menu {
    top: 100%;
    padding-top: 15px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  /*
   * Panel visual dipindahkan ke pseudo wrapper melalui
   * background/border pada item area menggunakan inset shadow.
   */
  .header-dropdown-menu::before {
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: #ffffff;
    border: 1px solid var(--sisfo-border);
    border-radius: 11px;
    box-shadow: 0 16px 38px rgba(40,20,20,.12);
    content: "";
  }

  /*
   * Desktop: dropdown terbuka otomatis selama pointer berada
   * pada tombol utama ATAU panel dropdown.
   */
  .header-dropdown:hover > .header-dropdown-menu,
  .header-dropdown:focus-within > .header-dropdown-menu,
  .header-dropdown.open > .header-dropdown-menu {
    display: block;
  }

  .header-dropdown:hover > .header-dropdown-toggle,
  .header-dropdown:focus-within > .header-dropdown-toggle,
  .header-dropdown.open > .header-dropdown-toggle {
    color: var(--sisfo-primary);
    background: var(--sisfo-primary-soft);
  }

  .header-dropdown-item {
    position: relative;
    z-index: 1;
    margin-left: 7px;
    margin-right: 7px;
  }

  .header-dropdown-item:first-child {
    margin-top: 0;
  }

  .header-dropdown-item:last-child {
    margin-bottom: 7px;
  }
}

/* =========================================================
   SISFO LSP APMP
   SKEMA - GLOBAL APP.CSS APPEND
   VERSION 1.0.0

   Tempel seluruh blok ini di PALING BAWAH:
   /assets/css/app.css

   Jangan gunakan /assets/css/skema.css lagi.
   ========================================================= */

.skema-page {
  width: 100%;
  display: grid;
  gap: 20px;
}


/* =========================================================
   HERO
   ========================================================= */

.skema-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;

  padding: 24px;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fff7f8 100%
    );

  border: 1px solid #eadfe1;
  border-radius: 14px;

  box-shadow:
    0 4px 18px
    rgba(21, 50, 71, .04);
}

.skema-hero h1 {
  margin: 0;

  color: var(--sisfo-primary-deep);

  font-size:
    clamp(22px, 2vw, 30px);

  font-weight: 900;
}

.skema-hero p {
  max-width: 760px;

  margin:
    8px 0 0;

  color: #718797;

  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.skema-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;

  flex-wrap: wrap;
}

.skema-toolbar-left {
  display: flex;
  flex: 1 1 620px;

  align-items: center;

  gap: 10px;

  flex-wrap: wrap;
}

.skema-control {
  min-height: 44px;

  padding:
    9px 12px;

  color: var(--sisfo-text);

  background: #ffffff;

  border:
    1px solid var(--sisfo-border);

  border-radius: 8px;

  outline: none;

  font-family: inherit;
  font-size: 13px;

  transition:
    border-color .15s ease,
    box-shadow .15s ease;
}

.skema-control:focus {
  border-color: var(--sisfo-primary);

  box-shadow:
    0 0 0 3px
    rgba(199, 32, 50, .09);
}

.skema-search {
  min-width: 320px;
  flex: 1;
}


/* =========================================================
   BUTTON
   ========================================================= */

.skema-button {
  display: inline-flex;

  min-height: 42px;

  align-items: center;
  justify-content: center;

  gap: 7px;

  padding:
    9px 14px;

  font-family: inherit;
  font-size: 12px;
  font-weight: 800;

  border-radius: 8px;

  cursor: pointer;

  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease,
    opacity .15s ease;
}

.skema-button-primary {
  color: #ffffff;

  background: var(--sisfo-primary);

  border:
    1px solid var(--sisfo-primary);
}

.skema-button-primary:hover:not(:disabled) {
  background: var(--sisfo-primary-dark);
}

.skema-button-secondary {
  color: #5f5556;

  background: #ffffff;

  border:
    1px solid var(--sisfo-border);
}

.skema-button-secondary:hover:not(:disabled) {
  color: var(--sisfo-primary);

  background: var(--sisfo-primary-soft);

  border-color: #e5bcc1;
}

.skema-button-danger {
  color: #ffffff;

  background: #dc2626;

  border:
    1px solid #dc2626;
}

.skema-button-danger:hover:not(:disabled) {
  background: #b91c1c;
  border-color: #b91c1c;
}

.skema-button:disabled {
  cursor: not-allowed;
  opacity: .55;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.skema-stats {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 12px;
}

.skema-stat {
  position: relative;

  overflow: hidden;

  min-height: 100px;

  padding:
    17px 18px;

  background: #ffffff;

  border:
    1px solid var(--sisfo-border);

  border-radius: 12px;

  box-shadow:
    0 3px 14px
    rgba(21, 50, 71, .035);
}

.skema-stat::before {
  position: absolute;

  top: 0;
  left: 0;
  bottom: 0;

  width: 4px;

  background: var(--sisfo-primary);

  content: "";
}

.skema-stat:nth-child(2)::before {
  background: #169b62;
}

.skema-stat:nth-child(3)::before {
  background: #d64b4b;
}

.skema-stat span {
  display: block;

  color: #758b99;

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: .04em;
}

.skema-stat strong {
  display: block;

  margin-top: 12px;

  color: var(--sisfo-primary-deep);

  font-size: 30px;
  font-weight: 900;
}


/* =========================================================
   CARD
   ========================================================= */

.skema-card {
  overflow: hidden;

  background: #ffffff;

  border:
    1px solid var(--sisfo-border);

  border-radius: 13px;

  box-shadow:
    0 4px 18px
    rgba(21, 50, 71, .04);
}

.skema-card-header {
  display: flex;

  min-height: 78px;

  align-items: center;
  justify-content: space-between;

  gap: 16px;

  padding:
    17px 20px;

  border-bottom:
    1px solid #eee5e6;
}

.skema-card-header h2 {
  margin: 0;

  color: var(--sisfo-primary-deep);

  font-size: 18px;
  font-weight: 900;
}

.skema-card-header p {
  margin:
    5px 0 0;

  color: #8193a1;

  font-size: 12px;
}

.skema-card-actions {
  display: flex;

  align-items: center;

  gap: 10px;

  flex-wrap: wrap;
}

.skema-result-count {
  display: inline-flex;

  min-height: 30px;

  align-items: center;
  justify-content: center;

  padding:
    5px 10px;

  color: var(--sisfo-primary);

  background: var(--sisfo-primary-soft);

  border-radius: 999px;

  font-size: 11px;
  font-weight: 900;

  white-space: nowrap;
}


/* =========================================================
   TABLE
   ========================================================= */

.skema-table-wrap {
  width: 100%;

  overflow-x: auto;
}

.skema-table {
  width: 100%;

  min-width: 920px;

  border-collapse: collapse;
}

.skema-table th {
  padding:
    14px 14px;

  color: #74696a;

  background: #faf8f8;

  border-bottom:
    1px solid #ece5e6;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: .35px;

  text-align: left;

  text-transform: uppercase;

  white-space: nowrap;
}

.skema-table td {
  padding:
    15px 14px;

  color: #51494a;

  border-bottom:
    1px solid #f0ebec;

  font-size: 14px;

  line-height: 1.5;

  vertical-align: middle;
}

.skema-table tbody tr:hover {
  background: #fffafa;
}

.skema-table tbody tr:last-child td {
  border-bottom: 0;
}

.skema-price {
  white-space: nowrap;
  text-align: right !important;
}

.skema-action {
  width: 220px;
  min-width: 220px;

  text-align: center;

  white-space: nowrap;
}

.skema-action-group {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 6px;

  flex-wrap: nowrap;

  white-space: nowrap;
}

.skema-action-button {
  min-height: 34px;

  padding:
    6px 10px;

  color: #5f5556;

  background: #ffffff;

  border:
    1px solid var(--sisfo-border);

  border-radius: 6px;

  cursor: pointer;

  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
}

.skema-action-button:hover {
  background: #fff8f8;
}

.skema-action-button.is-danger {
  color: #b91c1c;

  border-color: #fecaca;
}

.skema-action-button.is-danger:hover {
  color: #991b1b;

  background: #fef2f2;

  border-color: #ef4444;
}


/* =========================================================
   STATUS
   ========================================================= */

.skema-status-select {
  min-height: 36px;

  padding:
    6px 30px 6px 10px;

  color: #51494a;

  background: #ffffff;

  border:
    1px solid var(--sisfo-border);

  border-radius: 8px;

  outline: none;

  font-family: inherit;
  font-size: 12px;
  font-weight: 800;

  cursor: pointer;
}

.skema-status-select:focus {
  border-color: var(--sisfo-primary);

  box-shadow:
    0 0 0 3px
    rgba(199, 32, 50, .09);
}

.skema-status-select.is-aktif {
  color: #166534;
  background: #f0fdf4;
}

.skema-status-select.is-nonaktif {
  color: #991b1b;
  background: #fef2f2;
}


/* =========================================================
   EMPTY / LOADING
   ========================================================= */

.skema-empty,
.skema-loading {
  padding:
    42px 20px;

  color: #8193a2;

  font-size: 13px;

  text-align: center;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.skema-pagination {
  display: flex;

  min-height: 64px;

  align-items: center;
  justify-content: space-between;

  gap: 14px;

  padding:
    12px 18px;

  color: #7c909f;

  background: #fbfcfd;

  border-top:
    1px solid #e5edf2;

  font-size: 12px;
}

.skema-pagination-info {
  color: #7c909f;

  font-size: 12px;
}

.skema-pagination-buttons {
  display: flex;

  align-items: center;

  gap: 8px;
}

.skema-pagination-buttons .skema-button {
  min-height: 34px;

  padding:
    6px 10px;

  border-radius: 7px;

  font-size: 11px;

  line-height: 1.2;
}

.skema-pagination-current,
#skemaPageCurrent,
#skemaPaginationCurrent {
  min-width: 34px;

  color: var(--sisfo-primary-deep);

  font-size: 12px;
  font-weight: 900;

  text-align: center;
}


/* =========================================================
   MODAL
   ========================================================= */

.skema-modal {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;
}

.skema-modal.is-open {
  display: flex;
}

.skema-modal-backdrop {
  position: absolute;

  inset: 0;

  background:
    rgba(13, 37, 53, .58);

  backdrop-filter:
    blur(2px);
}

.skema-modal-dialog {
  position: relative;

  z-index: 1;

  width:
    min(920px, 100%);

  max-height: 90vh;

  overflow-y: auto;

  background: #ffffff;

  border-radius: 14px;

  box-shadow:
    0 20px 70px
    rgba(0, 0, 0, .18);
}

.skema-modal-dialog.is-small {
  width:
    min(560px, 100%);
}

.skema-modal-header {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 18px;

  padding:
    20px 22px;

  border-bottom:
    1px solid #eee6e7;
}

.skema-modal-header h2 {
  margin: 0;

  color: var(--sisfo-primary-deep);

  font-size: 21px;
  font-weight: 900;
}

.skema-modal-header p {
  margin:
    6px 0 0;

  color: #7a8e9c;

  font-size: 12px;
}

.skema-modal-close {
  display: flex;

  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  align-items: center;
  justify-content: center;

  color: #6f6364;

  background: #f8f4f4;

  border: 0;

  border-radius: 8px;

  cursor: pointer;

  font-size: 20px;
}


/* =========================================================
   FORM
   ========================================================= */

.skema-form {
  padding:
    20px 22px 22px;
}

.skema-form-section {
  margin-bottom: 20px;

  padding: 18px;

  border:
    1px solid var(--sisfo-border);

  border-radius: 12px;

  background: #ffffff;
}

.skema-form-section:last-child {
  margin-bottom: 0;
}

.skema-form-section h3 {
  margin:
    0 0 15px;

  color: var(--sisfo-primary-deep);

  font-size: 15px;
  font-weight: 900;
}

.skema-form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;
}

.skema-field {
  display: grid;

  gap: 7px;
}

.skema-field-wide {
  grid-column:
    1 / -1;
}

.skema-field label {
  color: #6f6364;

  font-size: 12px;
  font-weight: 900;
}

.skema-field input,
.skema-field select,
.skema-field textarea {
  width: 100%;

  min-height: 42px;

  padding:
    9px 11px;

  color: var(--sisfo-text);

  background: #ffffff;

  border:
    1px solid var(--sisfo-border);

  border-radius: 7px;

  outline: none;

  box-sizing: border-box;

  font-family: inherit;
  font-size: 13px;

  transition:
    border-color .15s ease,
    box-shadow .15s ease;
}

.skema-field textarea {
  min-height: 90px;

  resize: vertical;
}

.skema-field input:focus,
.skema-field select:focus,
.skema-field textarea:focus {
  border-color: var(--sisfo-primary);

  box-shadow:
    0 0 0 3px
    rgba(199, 32, 50, .09);
}


/* =========================================================
   UNIT KOMPETENSI
   ========================================================= */

.skema-unit-heading {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 12px;
}

.skema-unit-heading p {
  margin:
    4px 0 0;

  color: #8b7f80;

  font-size: 12px;

  line-height: 1.5;
}

.skema-unit-list {
  display: grid;

  gap: 10px;
}

.skema-unit-row {
  display: grid;

  grid-template-columns:
    210px minmax(0, 1fr) 42px;

  gap: 9px;

  align-items: start;
}

.skema-unit-row input {
  width: 100%;

  min-height: 42px;

  padding:
    9px 11px;

  color: var(--sisfo-text);

  background: #ffffff;

  border:
    1px solid var(--sisfo-border);

  border-radius: 7px;

  outline: none;

  box-sizing: border-box;

  font-family: inherit;
  font-size: 13px;
}

.skema-unit-row input:focus {
  border-color: var(--sisfo-primary);

  box-shadow:
    0 0 0 3px
    rgba(199, 32, 50, .09);
}

.skema-unit-remove {
  width: 42px;
  height: 42px;

  color: #b91c1c;

  background: #ffffff;

  border:
    1px solid #fecaca;

  border-radius: 8px;

  cursor: pointer;

  font-size: 15px;
  font-weight: 900;
}

.skema-unit-remove:hover {
  color: #991b1b;

  background: #fef2f2;

  border-color: #ef4444;
}


/* =========================================================
   ALERT
   ========================================================= */

.skema-form-alert {
  margin-bottom: 16px;

  padding:
    12px 14px;

  color: #a52a22;

  background: #fff5f4;

  border:
    1px solid #f0cac6;

  border-radius: 9px;

  font-size: 12px;
  font-weight: 700;
}

.skema-form-actions {
  display: flex;

  justify-content: flex-end;

  gap: 10px;

  margin-top: 18px;
}


/* =========================================================
   DETAIL
   ========================================================= */

.skema-detail {
  padding:
    20px 22px 22px;
}

.skema-detail-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;
}

.skema-detail-item {
  padding:
    11px 12px;

  background: #f8fafc;

  border:
    1px solid #e7edf2;

  border-radius: 8px;
}

.skema-detail-item span {
  display: block;

  margin-bottom: 5px;

  color: #8496a4;

  font-size: 11px;
  font-weight: 800;

  text-transform: uppercase;
}

.skema-detail-item strong {
  display: block;

  color: #51494a;

  font-size: 13px;

  line-height: 1.55;

  word-break: break-word;
}

.skema-detail-units {
  margin-top: 18px;
}

.skema-detail-units table {
  width: 100%;

  border-collapse: collapse;
}

.skema-detail-units th {
  padding:
    10px 11px;

  color: #74696a;

  background: #faf8f8;

  border-bottom:
    1px solid #ece5e6;

  font-size: 11px;
  font-weight: 900;

  text-align: left;

  text-transform: uppercase;
}

.skema-detail-units td {
  padding:
    11px;

  color: #51494a;

  border-bottom:
    1px solid #f0ebec;

  font-size: 13px;

  text-align: left;
}


/* =========================================================
   DELETE
   ========================================================= */

.skema-delete-content {
  padding:
    22px;
}

.skema-delete-content strong {
  display: block;

  margin-bottom: 8px;

  color: var(--sisfo-primary-deep);

  font-size: 15px;
}

.skema-delete-content p {
  margin:
    0;

  color: #74696a;

  font-size: 12px;

  line-height: 1.6;
}

.skema-delete-actions {
  display: flex;

  justify-content: flex-end;

  gap: 10px;

  padding:
    0 22px 22px;
}


/* =========================================================
   TOAST
   ========================================================= */

.skema-toast {
  display: none;

  padding:
    12px 14px;

  border-radius: 9px;

  font-size: 12px;
  font-weight: 700;
}

.skema-toast.is-show {
  display: block;
}

.skema-toast.is-success {
  color: #146b48;

  background: #f0fbf6;

  border:
    1px solid #c7eada;
}

.skema-toast.is-error {
  color: #a52a22;

  background: #fff5f4;

  border:
    1px solid #f0cac6;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

  .skema-toolbar {
    align-items: stretch;
  }

  .skema-toolbar-left {
    flex-basis: 100%;
  }

}


@media (max-width: 800px) {

  .skema-hero {
    flex-direction: column;
  }

  .skema-stats {
    grid-template-columns: 1fr;
  }

  .skema-toolbar,
  .skema-toolbar-left {
    align-items: stretch;
    flex-direction: column;
  }

  .skema-search {
    min-width: 100%;
  }

  .skema-form-grid,
  .skema-detail-grid {
    grid-template-columns: 1fr;
  }

  .skema-field-wide {
    grid-column: auto;
  }

  .skema-unit-row {
    grid-template-columns: 1fr;
  }

  .skema-unit-remove {
    width: 100%;
  }

  .skema-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .skema-card-actions {
    width: 100%;
  }

  .skema-pagination {
    align-items: stretch;

    flex-direction: column;
  }

  .skema-pagination-buttons {
    justify-content: space-between;
  }

  .skema-modal {
    padding: 10px;
  }

  .skema-modal-dialog {
    max-height: 95vh;
  }

  .skema-modal-header,
  .skema-form,
  .skema-detail,
  .skema-delete-content,
  .skema-delete-actions {
    padding-left: 14px;
    padding-right: 14px;
  }

}


@media (max-width: 520px) {

  .skema-toolbar-left .skema-button,
  .skema-toolbar .skema-button {
    width: 100%;
  }

  .skema-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .skema-result-count {
    align-self: flex-start;
  }

  .skema-form-actions,
  .skema-delete-actions {
    flex-direction: column-reverse;
  }

  .skema-form-actions .skema-button,
  .skema-delete-actions .skema-button {
    width: 100%;
  }

}

/* =========================================================
   SISFO LSP APMP
   GLOBAL CONTENT SPACING
   VERSION 1.0.0

   Tempel blok ini di PALING BAWAH:
   /assets/css/app.css

   Fungsi:
   - Memberi jarak antara header dan hero/konten pertama.
   - Berlaku global untuk Dashboard, Peserta, Skema,
     dan halaman lain yang memakai layout global.
   ========================================================= */

.global-content {
    padding-top: 24px;
}

/* =========================================================
   SISFO LSP APMP
   ASESOR - GLOBAL APP.CSS APPEND
   VERSION 1.0.0

   Tempel seluruh blok ini di PALING BAWAH:
   /assets/css/app.css

   Jangan gunakan /assets/css/asesor.css lagi.
   ========================================================= */

:root {
  --asesor-bg: #f5f7fb;
  --asesor-card: #ffffff;
  --asesor-border: #e4e8f0;
  --asesor-text: #172033;
  --asesor-muted: #6b7280;
  --asesor-primary: var(--sisfo-primary);
  --asesor-primary-soft: rgba(199, 32, 50, .08);
  --asesor-success: #15803d;
  --asesor-success-soft: #ecfdf3;
  --asesor-danger: #b42318;
  --asesor-danger-soft: #fef3f2;
  --asesor-warning: #b54708;
  --asesor-warning-soft: #fffaeb;
  --asesor-purple: #7c3aed;
  --asesor-purple-soft: #f5f3ff;
}

* {
  box-sizing: border-box;
}

.asesor-page {
  display: grid;
  gap: 18px;
}

.asesor-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.asesor-toolbar-left {
  flex: 1 1 720px;
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(150px, 1fr));
  gap: 10px;
}

.asesor-toolbar input,
.asesor-toolbar select,
.asesor-form input,
.asesor-form textarea,
.asesor-form select {
  width: 100%;
  border: 1px solid var(--asesor-border);
  border-radius: 10px;
  background: #fff;
  color: var(--asesor-text);
  padding: 11px 12px;
  min-height: 44px;
  font-size: 14px;
  outline: none;
}

.asesor-toolbar input:focus,
.asesor-toolbar select:focus,
.asesor-form input:focus,
.asesor-form textarea:focus,
.asesor-form select:focus {
  border-color: var(--sisfo-primary);
  box-shadow: 0 0 0 3px rgba(199, 32, 50, .10);
}

.asesor-btn {
  border: 0;
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 15px;
  font-weight: 700;
  cursor: pointer;
}

.asesor-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.asesor-btn-primary {
  background: var(--asesor-primary);
  color: #fff;
}

.asesor-btn-secondary {
  background: #fff;
  color: var(--asesor-text);
  border: 1px solid var(--asesor-border);
}

.asesor-btn-danger {
  background: var(--asesor-danger);
  color: #fff;
}

.asesor-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.asesor-stat {
  background: var(--asesor-card);
  border: 1px solid var(--asesor-border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
  display: grid;
  gap: 8px;
}

.asesor-stat span {
  color: var(--asesor-muted);
  font-size: 13px;
  font-weight: 600;
}

.asesor-stat strong {
  color: var(--asesor-text);
  font-size: 26px;
}

.asesor-stat.is-active {
  background: var(--asesor-success-soft);
}

.asesor-stat.is-inactive {
  background: var(--asesor-danger-soft);
}

.asesor-stat.is-complete {
  background: var(--asesor-primary-soft);
}

.asesor-card {
  background: var(--asesor-card);
  border: 1px solid var(--asesor-border);
  border-radius: 14px;
  overflow: hidden;
}

.asesor-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--asesor-border);
}

.asesor-card-head h2 {
  margin: 0;
  font-size: 18px;
}

.asesor-card-head p {
  margin: 5px 0 0;
  color: var(--asesor-muted);
  font-size: 14px;
}

.asesor-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.asesor-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 940px;
}

.asesor-table th,
.asesor-table td {
  border-bottom: 1px solid var(--asesor-border);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.asesor-table th {
  color: var(--asesor-muted);
  font-size: 12px;
  font-weight: 800;
  background: #fafbfc;
  white-space: nowrap;
}

.asesor-table td {
  color: var(--asesor-text);
  font-size: 13px;
}

.asesor-name {
  display: grid;
  gap: 3px;
}

.asesor-name strong {
  font-size: 14px;
}

.asesor-name small,
.asesor-sub {
  color: var(--asesor-muted);
}

.asesor-chip-wrap {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.asesor-chip,
.asesor-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.asesor-chip {
  background: #f3f4f6;
  color: #374151;
}

.asesor-badge.is-active {
  background: var(--asesor-success-soft);
  color: var(--asesor-success);
}

.asesor-badge.is-inactive {
  background: var(--asesor-danger-soft);
  color: var(--asesor-danger);
}

.asesor-badge.is-internal {
  background: var(--asesor-primary-soft);
  color: var(--asesor-primary);
}

.asesor-badge.is-external {
  background: var(--asesor-purple-soft);
  color: var(--asesor-purple);
}

.asesor-badge.is-valid {
  background: var(--asesor-success-soft);
  color: var(--asesor-success);
}

.asesor-badge.is-warning {
  background: var(--asesor-warning-soft);
  color: var(--asesor-warning);
}

.asesor-badge.is-expired {
  background: var(--asesor-danger-soft);
  color: var(--asesor-danger);
}

.asesor-doc-progress {
  display: grid;
  gap: 6px;
  min-width: 120px;
}

.asesor-doc-progress strong {
  font-size: 12px;
}

.asesor-doc-bar {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef1f5;
}

.asesor-doc-bar > span {
  display: block;
  height: 100%;
  background: var(--asesor-primary);
}

.asesor-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.asesor-table th:last-child,
.asesor-table td:last-child {
  min-width: 310px;
  width: 310px;
}

.asesor-action {
  border: 1px solid var(--asesor-border);
  background: #fff;
  color: var(--asesor-text);
  border-radius: 8px;
  padding: 7px 10px;
  min-height: 32px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.asesor-action:hover {
  background: var(--asesor-primary-soft);
  border-color: rgba(199, 32, 50, .28);
  color: var(--asesor-primary);
}

.asesor-action.is-danger {
  color: var(--asesor-danger);
}

.asesor-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: var(--asesor-muted);
  background: #fbfdff;
  border-top: 1px solid #e7eef3;
  font-size: 11px;
}

.asesor-pagination-info {
  color: var(--asesor-muted);
  font-size: 11px;
}

.asesor-pagination-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.asesor-pagination-actions .asesor-btn {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 10px;
}

.asesor-pagination-current {
  min-width: 28px;
  color: var(--asesor-primary);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.asesor-empty,
.asesor-loading {
  padding: 34px 20px;
  text-align: center;
  color: var(--asesor-muted);
}

.asesor-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.asesor-modal.is-open {
  display: block;
}

.asesor-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .52);
}

.asesor-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  margin: 14px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}

.asesor-modal-dialog.is-small {
  width: min(520px, calc(100vw - 28px));
}

.asesor-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid var(--asesor-border);
}

.asesor-modal-head h2 {
  margin: 0;
  font-size: 20px;
}

.asesor-modal-head p {
  margin: 5px 0 0;
  color: var(--asesor-muted);
  font-size: 13px;
}

.asesor-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #6b7280;
}

.asesor-modal-body {
  padding: 18px 20px;
}

.asesor-form-section {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--asesor-border);
}

.asesor-form-section:first-child {
  padding-top: 0;
}

.asesor-form-section:last-child {
  border-bottom: 0;
}

.asesor-form-section h3 {
  margin: 0;
  font-size: 15px;
}

.asesor-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.asesor-field {
  display: grid;
  gap: 6px;
}

.asesor-field.is-wide {
  grid-column: 1 / -1;
}

.asesor-field label {
  font-size: 12px;
  font-weight: 800;
  color: #374151;
}

.asesor-field small {
  color: var(--asesor-muted);
}

.asesor-scheme-list {
  max-height: 240px;
  overflow: auto;
  border: 1px solid var(--asesor-border);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.asesor-scheme-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
}

.asesor-scheme-option:hover {
  background: #f8fafc;
}

.asesor-scheme-option input {
  width: auto;
  min-height: auto;
  margin-top: 2px;
}

.asesor-form-alert {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--asesor-danger-soft);
  color: var(--asesor-danger);
  font-size: 13px;
}

.asesor-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--asesor-border);
}

.asesor-profile {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--asesor-border);
  border-radius: 14px;
  background: #fff;
}

.asesor-avatar {
  flex: 0 0 84px;
  width: 84px;
  height: 112px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--asesor-primary-soft);
  color: var(--asesor-primary);
  border: 1px solid var(--asesor-border);
  font-size: 28px;
  font-weight: 900;
}

.asesor-avatar span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.asesor-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.asesor-profile-info {
  display: grid;
  gap: 5px;
}

.asesor-profile-info strong {
  font-size: 18px;
}

.asesor-detail-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.asesor-detail-item {
  border: 1px solid var(--asesor-border);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 5px;
}

.asesor-detail-item.is-wide {
  grid-column: 1 / -1;
}

.asesor-detail-item span {
  font-size: 11px;
  color: var(--asesor-muted);
  font-weight: 700;
}

.asesor-detail-item strong {
  font-size: 13px;
  word-break: break-word;
}

.asesor-documents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.asesor-document {
  border: 1px solid var(--asesor-border);
  border-radius: 11px;
  padding: 13px;
  display: grid;
  gap: 9px;
  background: #fff;
}

.asesor-document strong {
  font-size: 13px;
}

.asesor-document span {
  font-size: 12px;
  color: var(--asesor-muted);
}


.asesor-document-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.asesor-document-file-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.asesor-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20000;
  min-width: 240px;
  max-width: 380px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,.2);
  display: none;
}

.asesor-toast.is-show {
  display: block;
}

@media (max-width: 1100px) {
  .asesor-toolbar-left {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asesor-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .asesor-toolbar-left,
  .asesor-form-grid,
  .asesor-scheme-list,
  .asesor-detail-grid,
  .asesor-documents,
  .asesor-stats {
    grid-template-columns: 1fr;
  }

  .asesor-field.is-wide,
  .asesor-detail-item.is-wide {
    grid-column: auto;
  }

  .asesor-toolbar {
    align-items: stretch;
  }

  .asesor-toolbar > .asesor-btn {
    width: 100%;
  }

  .asesor-table th:last-child,
  .asesor-table td:last-child {
    min-width: 280px;
    width: 280px;
  }
}

/* =========================================================
   SISFO LSP APMP
   VERIFIKASI ASESOR - GLOBAL APP.CSS APPEND
   VERSION 1.0.0

   Tempel seluruh blok ini di PALING BAWAH:
   /assets/css/app.css

   Setelah itu jangan gunakan:
   /assets/css/verifikasi-asesor.css
   ========================================================= */

.verify-page {
  width: 100%;
  min-height: 100vh;
  padding: 36px 18px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  color: #172033;
  background:
    radial-gradient(
      circle at top right,
      rgba(199, 32, 50, 0.10),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #fffafa 0%,
      #f7f3f4 100%
    );
}

.verify-card {
  width: min(100%, 760px);
  background: #ffffff;
  border: 1px solid #eadfe1;
  border-radius: 24px;
  box-shadow:
    0 22px 60px rgba(70, 22, 28, 0.12);
  overflow: hidden;
}

.verify-header {
  padding: 34px 38px 30px;
  text-align: center;
  border-bottom: 1px solid #eee4e6;
}

.verify-logo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
}

.verify-logo-box {
  min-height: 84px;
  padding: 12px 20px;
  border: 1px solid #e8dfe1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.verify-logo-box img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.verify-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--sisfo-primary, #c72032);
}

.verify-header h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
  color: var(--sisfo-primary, #c72032);
}

.verify-header p {
  max-width: 590px;
  margin: 16px auto 0;
  color: #667085;
  line-height: 1.65;
}

.verify-state,
.verify-result {
  padding: 46px 38px;
  text-align: center;
}

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

.verify-spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border: 4px solid #f1dfe2;
  border-top-color: var(--sisfo-primary, #c72032);
  border-radius: 50%;
  animation: verify-spin 0.8s linear infinite;
}

@keyframes verify-spin {
  to {
    transform: rotate(360deg);
  }
}

.verify-result-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
}

.verify-result-icon.is-error {
  background: #fff0f0;
  color: #c62828;
}

.verify-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 20px;
}

.verify-badge.is-valid {
  background: #eaf8ef;
  color: #18773d;
}

.verify-badge.is-invalid {
  background: #fff1f1;
  color: #b42318;
}

.verify-result h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 38px);
  color: #172033;
}

.verify-reg {
  margin: 12px 0 30px;
  color: #667085;
  font-size: 17px;
}

.verify-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.verify-field {
  padding: 18px 20px;
  border: 1px solid #e8dfe1;
  border-radius: 16px;
  background: #fcfafb;
}

.verify-field span {
  display: block;
  margin-bottom: 7px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.verify-field strong {
  display: block;
  font-size: 17px;
  line-height: 1.45;
}

.verify-note {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(199, 32, 50, 0.07);
  color: #7f2632;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .verify-page {
    padding: 14px;
  }

  .verify-card {
    border-radius: 18px;
  }

  .verify-header,
  .verify-state,
  .verify-result {
    padding-left: 22px;
    padding-right: 22px;
  }

  .verify-logo-row {
    gap: 10px;
  }

  .verify-logo-box {
    min-height: 72px;
    padding: 10px;
  }

  .verify-logo-box img {
    max-height: 46px;
  }

  .verify-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SISFO LSP APMP
   VERIFIKASI ASESOR - MODERN PROFESSIONAL OVERRIDE
   VERSION 2.0.0

   Tempel blok ini di PALING BAWAH:
   /assets/css/app.css

   Blok ini melengkapi CSS Verifikasi Asesor v1.0.0.
   ========================================================= */

.verify-asesor-page {
  padding-top: 42px;
  padding-bottom: 42px;
}

.verify-asesor-card {
  width: min(100%, 820px);
  border-radius: 28px;
  border: 1px solid #eadfe1;
  box-shadow:
    0 30px 80px rgba(66, 18, 25, 0.13),
    0 4px 18px rgba(66, 18, 25, 0.05);
}

.verify-asesor-header {
  position: relative;
  padding: 34px 44px 36px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fffafa 100%
    );
}

.verify-asesor-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--sisfo-primary, #c72032);
}

.verify-asesor-header::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -125px;
  top: -125px;
  border-radius: 50%;
  background: rgba(199, 32, 50, 0.055);
  pointer-events: none;
}

.verify-asesor-header .verify-logo-row {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin-left: auto;
  margin-right: auto;
}

.verify-asesor-header .verify-logo-box {
  min-height: 92px;
  border-color: #eee5e7;
  box-shadow: 0 5px 18px rgba(63, 23, 29, 0.045);
}

.verify-asesor-header .verify-logo-box img {
  max-height: 64px;
}

.verify-asesor-header .verify-eyebrow,
.verify-asesor-header h1,
.verify-asesor-header p {
  position: relative;
  z-index: 1;
}

.verify-asesor-header h1 {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.025em;
}

.verify-asesor-header p {
  margin-top: 14px;
  font-size: 15px;
}

.verify-state-caption {
  display: block;
  margin-top: 8px;
  color: #98a2b3;
  font-size: 13px;
}

.verify-asesor-card .verify-result {
  padding: 38px 44px 42px;
  text-align: left;
}

.verify-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.verify-result-top .verify-badge {
  margin: 0;
}

.verify-result-caption {
  color: #98a2b3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.verify-identity {
  position: relative;
  padding: 28px 30px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid #ecdfe2;
  border-radius: 20px;
  background:
    linear-gradient(
      135deg,
      #fffafa 0%,
      #ffffff 70%
    );
}

.verify-identity::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: var(--sisfo-primary, #c72032);
}

.verify-identity-label {
  display: block;
  margin-bottom: 9px;
  color: var(--sisfo-primary, #c72032);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.verify-identity h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(25px, 5vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.verify-identity .verify-reg {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 14px;
}

.verify-identity .verify-reg strong {
  color: #344054;
  font-size: 15px;
}

.verify-section {
  margin-top: 26px;
}

.verify-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.verify-section-heading > span {
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.verify-section-heading > small {
  color: #98a2b3;
  font-size: 12px;
}

.verify-asesor-card .verify-grid {
  gap: 12px;
}

.verify-asesor-card .verify-field {
  min-height: 96px;
  padding: 17px 19px;
  border-color: #ece4e6;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(51, 25, 30, 0.035);
}

.verify-asesor-card .verify-field span {
  margin-bottom: 8px;
  color: #8a7480;
  font-size: 12px;
  font-weight: 700;
}

.verify-asesor-card .verify-field strong {
  overflow-wrap: anywhere;
  color: #202939;
  font-size: 15px;
  font-weight: 700;
}

.verify-scheme-section {
  padding-top: 2px;
}

.verify-scheme-list {
  display: grid;
  gap: 10px;
}

.verify-scheme-item {
  position: relative;
  padding: 16px 18px 16px 22px;
  overflow: hidden;
  border: 1px solid #eadfe1;
  border-radius: 14px;
  background: #fcfafb;
}

.verify-scheme-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--sisfo-primary, #c72032);
}

.verify-scheme-name {
  color: #202939;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.verify-scheme-meta {
  margin-top: 5px;
  color: #7a6870;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.verify-scheme-empty {
  padding: 17px 18px;
  border: 1px dashed #dccdd0;
  border-radius: 14px;
  color: #8a7480;
  background: #fcfafb;
  font-size: 13px;
}

.verify-asesor-card .verify-note {
  position: relative;
  margin-top: 30px;
  padding: 18px 20px 18px 48px;
  border: 1px solid rgba(199, 32, 50, 0.12);
  border-radius: 15px;
  background: rgba(199, 32, 50, 0.055);
  color: #75404a;
  font-size: 13px;
  line-height: 1.6;
}

.verify-asesor-card .verify-note::before {
  content: "✓";
  position: absolute;
  top: 18px;
  left: 20px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sisfo-primary, #c72032);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.verify-asesor-card .verify-note strong {
  display: block;
  margin-bottom: 2px;
  color: #662d38;
}

.verify-asesor-card .verify-badge {
  min-height: 38px;
  padding: 0 17px;
  font-size: 12px;
  letter-spacing: 0.025em;
}

.verify-asesor-card .verify-badge.is-valid {
  border: 1px solid #cdebd8;
  background: #eefaf2;
}

.verify-asesor-card .verify-badge.is-invalid {
  border: 1px solid #f0cccc;
  background: #fff3f3;
}

@media (max-width: 600px) {
  .verify-asesor-page {
    padding: 14px;
  }

  .verify-asesor-card {
    border-radius: 20px;
  }

  .verify-asesor-header {
    padding: 27px 20px 28px;
  }

  .verify-asesor-header .verify-logo-row {
    margin-bottom: 23px;
  }

  .verify-asesor-header .verify-logo-box {
    min-height: 70px;
  }

  .verify-asesor-header .verify-logo-box img {
    max-height: 47px;
  }

  .verify-asesor-card .verify-result {
    padding: 28px 20px 30px;
  }

  .verify-result-top {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 10px;
    margin-bottom: 20px;
  }

  .verify-identity {
    padding: 22px 20px;
    margin-bottom: 24px;
  }

  .verify-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .verify-asesor-card .verify-field {
    min-height: auto;
  }

  .verify-asesor-card .verify-note {
    padding-right: 17px;
  }
}


/* =========================================================
 * SISFO LSP APMP
 * PERSONIL - GLOBAL APP.CSS APPEND
 * VERSION 1.0.0
 *
 * Tempel seluruh blok ini di PALING BAWAH:
 * /assets/css/app.css
 *
 * Jangan gunakan /assets/css/personil.css lagi.
 * ========================================================= */

:root {
  --personil-primary: var(--sisfo-primary, #c72032);
  --personil-primary-dark: #9f1928;
  --personil-primary-soft: rgba(199, 32, 50, .08);

  --personil-success: #16794f;
  --personil-success-soft: #edf8f3;

  --personil-danger: #b94a48;
  --personil-danger-soft: #fff2f1;

  --personil-warning: #a56a00;
  --personil-warning-soft: #fff7e8;

  --personil-text: #17384f;
  --personil-text-soft: #6a8190;
  --personil-text-faint: #8799a5;

  --personil-line: #dce7ed;
  --personil-line-soft: #e9f0f4;

  --personil-bg: #f5f9fb;
  --personil-card: #ffffff;

  --personil-radius: 16px;
  --personil-radius-sm: 11px;

  --personil-shadow:
    0 10px 28px rgba(24, 58, 82, .06);
}


/* =========================================================
 * RESET LOKAL
 * ========================================================= */

.adm-personil-page,
.adm-personil-page *,
.adm-personil-modal,
.adm-personil-modal * {
  box-sizing: border-box;
}

.adm-personil-page {
  width: 100%;
  min-width: 0;
  color: var(--personil-text);
}

.adm-personil-page button,
.adm-personil-page input,
.adm-personil-page select,
.adm-personil-page textarea,
.adm-personil-modal button,
.adm-personil-modal input,
.adm-personil-modal select,
.adm-personil-modal textarea {
  font: inherit;
}

.adm-personil-page [hidden],
.adm-personil-modal[aria-hidden="true"] {
  display: none !important;
}

.adm-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* =========================================================
 * TOOLBAR
 * ========================================================= */

.adm-personil-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.adm-personil-toolbar-left {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.adm-personil-search-wrap {
  flex: 1 1 420px;
  min-width: 240px;
}

.adm-personil-filter-wrap {
  flex: 0 0 180px;
}

.adm-personil-search-wrap input,
.adm-personil-filter-wrap select {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  color: var(--personil-text);
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--personil-line);
  border-radius: var(--personil-radius-sm);
  outline: none;
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.adm-personil-search-wrap input::placeholder {
  color: #91a1ac;
}

.adm-personil-search-wrap input:focus,
.adm-personil-filter-wrap select:focus {
  border-color: var(--personil-primary);
  box-shadow:
    0 0 0 3px rgba(199, 32, 50, .10);
}


/* =========================================================
 * BUTTON
 * ========================================================= */

.adm-personil-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease,
    box-shadow .15s ease;
}

.adm-personil-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.adm-personil-button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.adm-personil-button-primary {
  color: #fff;
  background: var(--personil-primary);
  border-color: var(--personil-primary);
  box-shadow:
    0 6px 16px rgba(199, 32, 50, .14);
}

.adm-personil-button-primary:hover:not(:disabled) {
  background: var(--personil-primary-dark);
  border-color: var(--personil-primary-dark);
}

.adm-personil-button-secondary {
  color: #31566c;
  background: #fff;
  border-color: var(--personil-line);
}

.adm-personil-button-secondary:hover:not(:disabled) {
  background: #f7fafc;
  border-color: #cadce5;
}

.adm-personil-button-danger {
  color: #a93e3b;
  background: #fff;
  border-color: #ecc9c8;
}

.adm-personil-button-danger:hover:not(:disabled) {
  background: var(--personil-danger-soft);
}


/* =========================================================
 * STATISTIK
 * ========================================================= */

.adm-personil-stats {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.adm-personil-stat-card {
  min-width: 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--personil-line);
  border-radius: 14px;
  box-shadow: var(--personil-shadow);
}

.adm-personil-stat-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--personil-text-soft);
  font-size: 12px;
  font-weight: 650;
}

.adm-personil-stat-card strong {
  display: block;
  color: var(--personil-text);
  font-size: 27px;
  line-height: 1;
}

.adm-personil-stat-card.is-active {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f4fbf7 100%
    );
}

.adm-personil-stat-card.is-active strong {
  color: var(--personil-success);
}

.adm-personil-stat-card.is-inactive {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fff7f6 100%
    );
}

.adm-personil-stat-card.is-inactive strong {
  color: var(--personil-danger);
}

.adm-personil-stat-card.is-complete {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f3f9fd 100%
    );
}

.adm-personil-stat-card.is-complete strong {
  color: var(--personil-primary);
}


/* =========================================================
 * ALERT
 * ========================================================= */

.adm-personil-alert,
.adm-personil-form-alert {
  margin-bottom: 14px;
  padding: 11px 14px;
  border: 1px solid #cfe1eb;
  border-radius: 10px;
  background: #f3f9fc;
  color: #31576c;
  font-size: 13px;
  line-height: 1.5;
}

.adm-personil-alert.is-success,
.adm-personil-form-alert.is-success {
  color: #176445;
  background: var(--personil-success-soft);
  border-color: #c6e6d5;
}

.adm-personil-alert.is-error,
.adm-personil-form-alert.is-error {
  color: #a03f3d;
  background: var(--personil-danger-soft);
  border-color: #efcecd;
}


/* =========================================================
 * TABLE CARD
 * ========================================================= */

.adm-personil-table-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--personil-line);
  border-radius: var(--personil-radius);
  box-shadow: var(--personil-shadow);
}

.adm-personil-table-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--personil-line-soft);
}

.adm-personil-table-heading h1,
.adm-personil-table-heading h2 {
  margin: 0;
  color: var(--personil-text);
  font-size: 20px;
  line-height: 1.25;
}

.adm-personil-table-heading p {
  margin: 5px 0 0;
  color: var(--personil-text-soft);
  font-size: 12px;
  line-height: 1.5;
}


/* =========================================================
 * LIST HEADER & ROW
 * ========================================================= */

.adm-personil-column-header,
.adm-personil-row {
  display: grid;
  grid-template-columns:
    minmax(210px, 1.45fr)
    minmax(180px, 1.15fr)
    minmax(180px, 1.10fr)
    minmax(100px, .68fr)
    minmax(260px, 1.20fr);
  gap: 12px;
  align-items: center;
}

.adm-personil-column-header {
  padding: 10px 18px;
  color: #728895;
  background: #f7fafc;
  border-bottom: 1px solid var(--personil-line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.adm-personil-column-action {
  text-align: right;
}

.adm-personil-list {
  min-width: 0;
}

.adm-personil-row {
  min-height: 78px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--personil-line-soft);
  transition: background .14s ease;
}

.adm-personil-row:last-child {
  border-bottom: 0;
}

.adm-personil-row:hover {
  background: #fbfdfe;
}

.adm-personil-cell {
  min-width: 0;
}

.adm-personil-cell strong {
  display: block;
  overflow: hidden;
  color: var(--personil-text);
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-personil-cell span,
.adm-personil-cell small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--personil-text-soft);
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-personil-name-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}

.adm-personil-avatar {
  flex: 0 0 42px;
  width: 42px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(
      145deg,
      #d64a59,
      #a71929
    );
  border-radius: 9px;
  font-size: 15px;
  font-weight: 800;
}

.adm-personil-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.adm-personil-avatar > img,
.adm-personil-detail-photo > img {
  position: relative;
  z-index: 2;
}

.adm-personil-avatar:has(img),
.adm-personil-detail-photo:has(img) {
  background: #eef4f7;
}

.adm-personil-doc-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.adm-personil-doc-chip {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 7px;
  color: #496a7c;
  background: #f3f7f9;
  border: 1px solid #dfe9ee;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}


/* =========================================================
 * BADGES
 * ========================================================= */

.adm-personil-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 27px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .03em;
}

.adm-personil-badge-active {
  color: var(--personil-success);
  background: var(--personil-success-soft);
  border: 1px solid #c6e7d5;
}

.adm-personil-badge-inactive {
  color: var(--personil-danger);
  background: var(--personil-danger-soft);
  border: 1px solid #f0d0ce;
}


/* =========================================================
 * ACTION ROW
 * ========================================================= */

.adm-personil-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 6px;
  white-space: nowrap;
}

.adm-personil-action-button {
  min-height: 32px;
  padding: 6px 9px;
  color: #31596f;
  background: #fff;
  border: 1px solid #d8e4ea;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.adm-personil-action-button:hover {
  background: #f6fafc;
  border-color: #c7dbe4;
}

.adm-personil-action-button.is-danger {
  color: #a84441;
  border-color: #edcfcd;
}

.adm-personil-action-button.is-danger:hover {
  background: var(--personil-danger-soft);
}


/* =========================================================
 * LOADING / EMPTY
 * ========================================================= */

.adm-personil-loading {
  display: none;
  padding: 8px 18px;
}

.adm-personil-loading[aria-hidden="false"] {
  display: block;
}

.adm-personil-loading-row {
  height: 58px;
  margin: 8px 0;
  border-radius: 9px;
  background:
    linear-gradient(
      90deg,
      #f0f4f6 0%,
      #f8fafb 45%,
      #f0f4f6 100%
    );
  background-size: 220% 100%;
  animation:
    personilSkeleton 1.2s ease-in-out infinite;
}

@keyframes personilSkeleton {
  to {
    background-position: -120% 0;
  }
}

.adm-personil-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--personil-text-soft);
}

.adm-personil-empty strong {
  display: block;
  margin-bottom: 5px;
  color: var(--personil-text);
  font-size: 14px;
}

.adm-personil-empty p {
  margin: 0;
  font-size: 12px;
}


/* =========================================================
 * PAGINATION
 * ========================================================= */

.adm-personil-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  color: var(--personil-text-soft);
  border-top: 1px solid var(--personil-line-soft);
  font-size: 12px;
}

.adm-personil-pagination-actions {
  display: flex;
  gap: 7px;
}


/* =========================================================
 * MODAL
 * ========================================================= */

.adm-personil-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 24px 14px;
}

.adm-personil-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 39, 54, .48);
  backdrop-filter: blur(2px);
}

.adm-personil-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 790px);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dce7ed;
  border-radius: 18px;
  box-shadow:
    0 24px 70px rgba(12, 39, 57, .22);
}

.adm-personil-detail-dialog {
  width: min(100%, 880px);
}

.adm-personil-modal-header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #fbfdfe;
  border-bottom: 1px solid var(--personil-line);
}

.adm-personil-modal-header h2 {
  margin: 0;
  color: var(--personil-text);
  font-size: 19px;
}

.adm-personil-modal-header p {
  margin: 4px 0 0;
  color: var(--personil-text-soft);
  font-size: 12px;
}

.adm-personil-modal-close {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #607a89;
  background: #fff;
  border: 1px solid var(--personil-line);
  border-radius: 9px;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}


/* =========================================================
 * FORM
 * ========================================================= */

.adm-personil-form {
  overflow-y: auto;
  padding: 18px 20px 20px;
}

.adm-personil-form-section {
  margin-bottom: 20px;
}

.adm-personil-form-section:last-of-type {
  margin-bottom: 14px;
}

.adm-personil-form-section h3 {
  margin: 0 0 12px;
  color: #22495f;
  font-size: 13px;
  font-weight: 800;
}

.adm-personil-form-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adm-personil-field {
  min-width: 0;
}

.adm-personil-field-wide {
  grid-column: span 2;
}

.adm-personil-field label {
  display: block;
  margin-bottom: 6px;
  color: #426376;
  font-size: 11.5px;
  font-weight: 750;
}

.adm-personil-field input,
.adm-personil-field select,
.adm-personil-field textarea {
  width: 100%;
  min-height: 41px;
  padding: 9px 11px;
  color: var(--personil-text);
  background: #fff;
  border: 1px solid var(--personil-line);
  border-radius: 9px;
  outline: none;
}

.adm-personil-field textarea {
  resize: vertical;
  min-height: 82px;
}

.adm-personil-field input:focus,
.adm-personil-field select:focus,
.adm-personil-field textarea:focus {
  border-color: var(--personil-primary);
  box-shadow:
    0 0 0 3px rgba(199, 32, 50, .09);
}

.adm-personil-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--personil-line-soft);
}


/* =========================================================
 * DETAIL
 * ========================================================= */

.adm-personil-detail-body {
  overflow-y: auto;
  padding: 18px 20px 22px;
}

.adm-personil-profile-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  background:
    linear-gradient(
      135deg,
      #f8fbfd,
      #f2f8fb
    );
  border: 1px solid #dce8ee;
  border-radius: 14px;
}

.adm-personil-detail-photo {
  width: 86px;
  height: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(
      145deg,
      #d64a59,
      #a71929
    );
  border-radius: 10px;
  font-size: 28px;
  font-weight: 850;
}

.adm-personil-detail-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.adm-personil-profile-info {
  min-width: 0;
}

.adm-personil-profile-info > strong {
  display: block;
  color: var(--personil-text);
  font-size: 20px;
  line-height: 1.3;
}

.adm-personil-profile-info > span {
  display: block;
  margin-top: 4px;
  color: #42687d;
  font-size: 13px;
  font-weight: 650;
}

.adm-personil-profile-info > small {
  display: block;
  margin: 3px 0 9px;
  color: var(--personil-text-soft);
  font-size: 11.5px;
}

.adm-personil-idcard-actions {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.adm-personil-detail-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.adm-personil-detail-grid > div {
  min-width: 0;
  padding: 12px 13px;
  background: #fafcfd;
  border: 1px solid var(--personil-line-soft);
  border-radius: 10px;
}

.adm-personil-detail-grid span {
  display: block;
  margin-bottom: 5px;
  color: #7b8f9b;
  font-size: 10.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.adm-personil-detail-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--personil-text);
  font-size: 12.5px;
  line-height: 1.5;
}

.adm-personil-detail-wide {
  grid-column: span 2;
}


/* =========================================================
 * DOCUMENTS
 * ========================================================= */

.adm-personil-document-section {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--personil-line);
}

.adm-personil-document-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}

.adm-personil-document-heading h3 {
  margin: 0;
  color: var(--personil-text);
  font-size: 14px;
}

.adm-personil-document-heading p {
  margin: 4px 0 0;
  color: var(--personil-text-soft);
  font-size: 11.5px;
}

.adm-personil-document-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.adm-personil-document-card {
  min-width: 0;
  padding: 12px;
  background: #fbfdfe;
  border: 1px solid var(--personil-line);
  border-radius: 11px;
}

.adm-personil-document-card.is-available {
  background: #f8fcfa;
  border-color: #d1e9dc;
}

.adm-personil-document-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.adm-personil-document-card strong {
  color: var(--personil-text);
  font-size: 12px;
}

.adm-personil-document-status {
  color: #8195a1;
  font-size: 10px;
  font-weight: 750;
}

.adm-personil-document-status.is-ready {
  color: var(--personil-success);
}

.adm-personil-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.adm-personil-document-button,
.adm-personil-document-upload-label {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  color: #365c71;
  background: #fff;
  border: 1px solid #d7e4ea;
  border-radius: 8px;
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 750;
}

.adm-personil-document-button:hover,
.adm-personil-document-upload-label:hover {
  background: #f4f9fb;
}

.adm-personil-document-button.is-danger {
  color: #a74341;
  border-color: #eccdcc;
}

.adm-personil-document-upload-input {
  display: none !important;
}

.adm-personil-certificate-list {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.adm-personil-certificate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  background: #fff;
  border: 1px solid #e3ecf0;
  border-radius: 7px;
  font-size: 10.5px;
}


/* =========================================================
 * RESPONSIVE
 * ========================================================= */

@media (max-width: 1180px) {
  .adm-personil-stats {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .adm-personil-column-header {
    display: none;
  }

  .adm-personil-row {
    grid-template-columns:
      minmax(190px, 1.45fr)
      minmax(155px, 1.05fr)
      minmax(155px, 1fr)
      minmax(90px, .62fr)
      minmax(240px, 1.15fr);
    overflow-x: auto;
  }
}

@media (max-width: 900px) {
  .adm-personil-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .adm-personil-toolbar-left {
    flex-wrap: wrap;
  }

  .adm-personil-search-wrap {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .adm-personil-filter-wrap {
    flex: 1 1 180px;
  }

  #adm-personil-add {
    width: 100%;
  }

  .adm-personil-row {
    display: block;
    padding: 15px;
  }

  .adm-personil-row .adm-personil-cell {
    margin-top: 10px;
  }

  .adm-personil-row .adm-personil-cell:first-child {
    margin-top: 0;
  }

  .adm-personil-row-actions {
    justify-content: flex-start;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .adm-personil-stats {
    grid-template-columns: 1fr;
  }

  .adm-personil-table-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .adm-personil-table-heading .adm-personil-button {
    width: 100%;
  }

  .adm-personil-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .adm-personil-pagination-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .adm-personil-form-grid,
  .adm-personil-detail-grid,
  .adm-personil-document-grid {
    grid-template-columns: 1fr;
  }

  .adm-personil-field-wide,
  .adm-personil-detail-wide {
    grid-column: auto;
  }

  .adm-personil-profile-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .adm-personil-detail-photo {
    width: 72px;
    height: 96px;
  }

  .adm-personil-idcard-actions,
  .adm-personil-form-actions {
    flex-direction: column;
  }

  .adm-personil-idcard-actions .adm-personil-button,
  .adm-personil-form-actions .adm-personil-button {
    width: 100%;
  }

  .adm-personil-modal {
    padding: 10px;
  }

  .adm-personil-modal-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }
}


/* =========================================================
 * REDUCED MOTION
 * ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .adm-personil-button,
  .adm-personil-row,
  .adm-personil-loading-row {
    transition: none !important;
    animation: none !important;
  }
}


/* =========================================================
 * PERSONIL - FINAL TABLE & PAGINATION POLISH
 * Menyamakan proporsi tabel dan pagination dengan halaman Mitra.
 * ========================================================= */

/* Proporsi 5 kolom:
   Personil | No Reg/Jabatan | Kontak | Status | Aksi */
.adm-personil-column-header,
.adm-personil-row {
  grid-template-columns:
    minmax(220px, 1.45fr)
    minmax(185px, 1.15fr)
    minmax(180px, 1.05fr)
    minmax(95px, .62fr)
    minmax(270px, 1.25fr);
  column-gap: 16px;
}

/* Kolom Personil sedikit lebih lega */
.adm-personil-name-cell {
  min-width: 0;
}

/* Status konsisten di tengah area kolom */
.adm-personil-column-header > :nth-child(4),
.adm-personil-row > :nth-child(4) {
  justify-self: start;
}

/* Aksi tetap rapat di sisi kanan */
.adm-personil-column-action,
.adm-personil-row-actions {
  justify-self: end;
}

.adm-personil-row-actions {
  max-width: none;
  min-width: 260px;
}

/* =========================================================
 * PAGINATION - GAYA MITRA
 * ========================================================= */

.adm-personil-pagination {
  min-height: 58px;
  padding: 12px 18px;
  background: #ffffff;
  border-top: 1px solid var(--personil-line-soft);
  color: var(--personil-text-soft);
  font-size: 11.5px;
}

.adm-personil-pagination-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

#adm-personil-page-current {
  min-width: 34px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  color: var(--personil-primary);
  background: var(--personil-primary-soft);
  border: 1px solid #efd0d5;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

#adm-personil-page-prev,
#adm-personil-page-next {
  min-height: 32px;
  height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

#adm-personil-page-prev:disabled,
#adm-personil-page-next:disabled {
  opacity: .48;
  cursor: not-allowed;
  transform: none;
}

/* =========================================================
 * RESPONSIVE OVERRIDE
 * ========================================================= */

@media (max-width: 1180px) and (min-width: 901px) {
  .adm-personil-column-header {
    display: grid;
  }

  .adm-personil-column-header,
  .adm-personil-row {
    grid-template-columns:
      minmax(190px, 1.40fr)
      minmax(160px, 1.05fr)
      minmax(150px, .95fr)
      minmax(85px, .58fr)
      minmax(245px, 1.18fr);
    column-gap: 12px;
  }

  .adm-personil-table-card {
    overflow-x: auto;
  }

  .adm-personil-column-header,
  .adm-personil-list,
  .adm-personil-pagination {
    min-width: 900px;
  }
}

@media (max-width: 640px) {
  .adm-personil-pagination {
    gap: 10px;
  }

  .adm-personil-pagination-actions {
    display: flex;
    width: 100%;
  }

  #adm-personil-page-prev,
  #adm-personil-page-next {
    flex: 1 1 0;
  }

  #adm-personil-page-current {
    flex: 0 0 38px;
  }
}


/* =========================================================
 * PERSONIL PAGINATION - EXACT MATCH HALAMAN MITRA
 * Override final agar bentuknya sama, bukan hanya mirip.
 * ========================================================= */

.adm-personil-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 0;
  padding: 12px 14px;
  color: var(--personil-text-soft);
  background: #fbfdff;
  border-top: 1px solid #e7eef3;
  font-size: 11px;
}

.adm-personil-pagination-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
}

#adm-personil-page-current {
  min-width: 28px;
  width: auto;
  height: auto;
  display: inline;
  padding: 0;
  color: var(--personil-primary-dark);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 11px;
  font-weight: 900;
  line-height: normal;
  text-align: center;
}

#adm-personil-prev,
#adm-personil-next {
  min-height: 32px;
  height: auto;
  padding: 6px 10px;
  color: var(--personil-text);
  background: #fff;
  border: 1px solid var(--personil-line);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
}

#adm-personil-prev:hover:not(:disabled),
#adm-personil-next:hover:not(:disabled) {
  color: var(--personil-primary);
  background: #fff7f8;
  border-color: #e6b7bd;
}

#adm-personil-prev:disabled,
#adm-personil-next:disabled {
  opacity: .55;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .adm-personil-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .adm-personil-pagination-actions {
    width: 100%;
    justify-content: space-between;
  }

  #adm-personil-prev,
  #adm-personil-next {
    flex: 0 0 auto;
  }

  #adm-personil-page-current {
    flex: 0 0 auto;
  }
}


/* =========================================================
 * PERSONIL - FINAL COLUMN WIDTH OVERRIDE
 * Memperbaiki proporsi lebar kolom desktop.
 * ========================================================= */

@media (min-width: 1181px) {
  .adm-personil-column-header,
  .adm-personil-row {
    grid-template-columns:
      minmax(0, 1.25fr)  /* Personil */
      minmax(0, 1.10fr)  /* No Reg / Jabatan */
      minmax(0, 1.00fr)  /* Kontak */
      minmax(0, .62fr)   /* Status */
      minmax(290px, 1.35fr); /* Aksi */
    gap: 12px;
  }

  .adm-personil-column-header,
  .adm-personil-row {
    padding-left: 16px;
    padding-right: 16px;
  }

  .adm-personil-row-actions {
    max-width: none;
    width: 100%;
    justify-content: flex-end;
  }

}


/* =========================================================
 * PERSONIL - DETAIL FOTO & TABLE FINAL
 * ========================================================= */

.adm-personil-avatar,
.adm-personil-detail-photo {
  position: relative;
  isolation: isolate;
}

.adm-personil-avatar img,
.adm-personil-detail-photo img {
  opacity: 1;
  visibility: visible;
}

.adm-personil-action-button {
  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease;
}

.adm-personil-action-button:hover {
  color: var(--personil-primary);
  background: var(--personil-primary-soft);
  border-color: #e3adb4;
}

@media (min-width: 901px) {
  .adm-personil-row-actions {
    min-width: 260px;
  }
}

/* =========================================================
 * VERIFIKASI PERSONIL - LSP APMP
 * Tambahkan di bagian paling bawah /assets/css/app.css
 * ========================================================= */

.verify-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  color: #17384f;
  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(199, 32, 50, .10),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #fffafa 0%,
      #f8f1f2 100%
    );
}

.verify-card {
  width: min(100%, 720px);
  overflow: hidden;
  background: #fff;
  border: 1px solid #eadcdf;
  border-radius: 24px;
  box-shadow:
    0 20px 56px rgba(86, 24, 32, .10);
}

.verify-header {
  padding: 34px 30px 28px;
  text-align: center;
  border-bottom: 1px solid #eee2e4;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fff9fa 100%
    );
}

.verify-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.verify-logo-box {
  width: 92px;
  height: 64px;
  display: grid;
  place-items: center;
}

.verify-logo-box img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.verify-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--sisfo-primary, #c72032);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.verify-header h1 {
  margin: 0;
  color: #3f2529;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
}

.verify-header p {
  max-width: 540px;
  margin: 12px auto 0;
  color: #78686b;
  font-size: 14px;
  line-height: 1.7;
}

.verify-state,
.verify-result {
  padding: 42px 30px;
}

.verify-state {
  min-height: 245px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
}

.verify-state h2 {
  margin: 0;
  color: #3f2529;
}

.verify-state p {
  max-width: 460px;
  margin: 0;
  color: #78686b;
  line-height: 1.6;
}

.verify-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #eadcdf;
  border-top-color: var(--sisfo-primary, #c72032);
  border-radius: 50%;
  animation: verifySpin .8s linear infinite;
}

@keyframes verifySpin {
  to {
    transform: rotate(360deg);
  }
}

.verify-result-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 900;
}

.verify-result-icon.is-error {
  color: #b33b3b;
  background: #fff1f1;
  border: 1px solid #f4cccc;
}

.verify-result {
  text-align: center;
}

.verify-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
}

.verify-badge.is-valid {
  color: #087443;
  background: #edf9f2;
  border: 1px solid #bfe7cf;
}

.verify-badge.is-invalid {
  color: #a24614;
  background: #fff7ea;
  border: 1px solid #f0d7ad;
}

.verify-result h2 {
  margin: 0;
  color: #3f2529;
  font-size: clamp(24px, 4vw, 32px);
}

.verify-position {
  margin: 8px 0 26px;
  color: var(--sisfo-primary, #c72032);
  font-size: 15px;
}

.verify-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

.verify-field {
  min-width: 0;
  padding: 16px;
  background: #fff9fa;
  border: 1px solid #eee2e4;
  border-radius: 14px;
}

.verify-field.is-wide {
  grid-column: span 2;
}

.verify-field span {
  display: block;
  margin-bottom: 6px;
  color: #88777a;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.verify-field strong {
  display: block;
  overflow-wrap: anywhere;
  color: #3f2529;
  font-size: 15px;
  line-height: 1.45;
}

.verify-note {
  margin-top: 22px;
  padding: 14px 16px;
  color: #78686b;
  background: #fff7f8;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.6;
}

.verify-page .is-hidden {
  display: none !important;
}

@media (max-width: 560px) {
  .verify-page {
    padding: 14px 10px;
  }

  .verify-card {
    border-radius: 18px;
  }

  .verify-header,
  .verify-state,
  .verify-result {
    padding-left: 20px;
    padding-right: 20px;
  }

  .verify-logo-box {
    width: 76px;
    height: 54px;
  }

  .verify-grid {
    grid-template-columns: 1fr;
  }

  .verify-field.is-wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .verify-spinner {
    animation: none;
  }
}

/* =========================================================
 * VERIFIKASI PERSONIL V2 - LSP APMP
 * Tambahkan di bagian paling bawah /assets/css/app.css
 * ========================================================= */

.verify-personil-page {
  background:
    radial-gradient(
      circle at 88% 4%,
      rgba(199, 32, 50, .13),
      transparent 27%
    ),
    radial-gradient(
      circle at 8% 96%,
      rgba(151, 27, 42, .07),
      transparent 24%
    ),
    linear-gradient(
      180deg,
      #fffdfd 0%,
      #f8f1f2 100%
    );
}

.verify-personil-card {
  width: min(100%, 760px);
  border-color: #eadcdf;
  box-shadow:
    0 24px 70px rgba(86, 24, 32, .12);
}

.verify-personil-header {
  position: relative;
  overflow: hidden;
  padding-top: 38px;
}

.verify-personil-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--sisfo-primary, #c72032);
}

.verify-personil-header .verify-logo-row {
  position: relative;
  z-index: 1;
}

.verify-personil-header .verify-eyebrow {
  padding: 6px 10px;
  margin-bottom: 12px;
  border: 1px solid #efd8dc;
  border-radius: 999px;
  background: #fff5f6;
}

.verify-state-caption {
  display: block;
  color: #98878a;
  font-size: 12px;
  line-height: 1.5;
}

.verify-result-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
}

.verify-result-top .verify-badge {
  margin-bottom: 0;
}

.verify-result-caption {
  color: #9a888b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.verify-identity {
  margin-bottom: 28px;
  text-align: center;
}

.verify-identity-label {
  display: block;
  margin-bottom: 7px;
  color: #9a888b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.verify-identity h2 {
  margin: 0;
  color: #3f2529;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.2;
}

.verify-identity .verify-reg {
  margin: 9px 0 0;
  color: var(--sisfo-primary, #c72032);
  font-size: 15px;
}

.verify-section {
  margin-top: 6px;
  text-align: left;
}

.verify-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.verify-section-heading span {
  color: #3f2529;
  font-size: 14px;
  font-weight: 800;
}

.verify-section-heading small {
  color: #9a888b;
  font-size: 11px;
  font-weight: 600;
}

.verify-personil-card .verify-field {
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.verify-personil-card .verify-field:hover {
  border-color: #dfc6ca;
  box-shadow:
    0 7px 20px rgba(86, 24, 32, .06);
  transform: translateY(-1px);
}

.verify-personil-card .verify-note {
  text-align: left;
  border: 1px solid #f0e0e3;
}

.verify-personil-card .verify-note strong {
  display: block;
  margin-bottom: 3px;
  color: #5c3037;
}

@media (max-width: 560px) {
  .verify-personil-card {
    width: 100%;
  }

  .verify-personil-header {
    padding-top: 30px;
  }

  .verify-section-heading {
    display: block;
  }

  .verify-section-heading small {
    display: block;
    margin-top: 4px;
  }

  .verify-result-top {
    margin-bottom: 20px;
  }

  .verify-identity {
    margin-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .verify-personil-card .verify-field {
    transition: none;
  }

  .verify-personil-card .verify-field:hover {
    transform: none;
  }
}


/* =========================================================
 * SISFO LSP APMP
 * HALAMAN MITRA
 * /assets/css/app.css (tambahkan blok ini di bagian paling bawah)
 * ========================================================= */

:root {
    --mitra-primary: var(--sisfo-primary, #c72032);
    --mitra-primary-dark: #9f1928;
    --mitra-primary-deep: #4a252b;
    --mitra-text: #17384f;
    --mitra-text-soft: #6a8190;
    --mitra-border: #dce7ed;
    --mitra-bg-soft: #f5f9fb;
    --mitra-danger: #b42318;
    --mitra-success: #16803d;
    --mitra-shadow: 0 4px 14px rgba(10, 57, 94, 0.06);
    --mitra-shadow-modal: 0 18px 45px rgba(5, 42, 72, 0.22);
}


/* =========================================================
 * RESET LOKAL
 * ========================================================= */

#adm-mitra-page {
    width: 100%;
    min-width: 0;
    color: var(--mitra-text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

#adm-mitra-page *,
#adm-mitra-page *::before,
#adm-mitra-page *::after,
.adm-mitra-modal *,
.adm-mitra-modal *::before,
.adm-mitra-modal *::after {
    box-sizing: border-box;
}

.adm-mitra-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
 * HEADER HALAMAN
 * ========================================================= */

.adm-mitra-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.adm-mitra-page-header h1 {
    margin: 4px 0 5px;
    color: var(--mitra-primary-deep);
    font-size: 26px;
    line-height: 1.2;
}

.adm-mitra-page-header p {
    max-width: 760px;
    margin: 0;
    color: var(--mitra-text-soft);
    font-size: 13px;
    line-height: 1.55;
}

.adm-mitra-eyebrow {
    display: inline-block;
    color: var(--mitra-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.adm-mitra-page-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}


/* =========================================================
 * BUTTON
 * ========================================================= */

.adm-mitra-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 9px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform 140ms ease,
        color 140ms ease,
        background-color 140ms ease,
        border-color 140ms ease,
        opacity 140ms ease,
        box-shadow 140ms ease;
}

.adm-mitra-button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.adm-mitra-button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.adm-mitra-button.is-primary {
    color: #fff;
    background: var(--mitra-primary);
    border: 1px solid var(--mitra-primary);
}

.adm-mitra-button.is-primary:hover:not(:disabled) {
    background: var(--mitra-primary-dark);
    border-color: var(--mitra-primary-dark);
}

.adm-mitra-button.is-secondary {
    color: var(--mitra-text);
    background: #fff;
    border: 1px solid var(--mitra-border);
}

.adm-mitra-button.is-secondary:hover:not(:disabled) {
    color: var(--mitra-primary);
    background: #fff5f6;
    border-color: #e5aab2;
}

.adm-mitra-button.is-danger {
    color: var(--mitra-danger);
    background: #fff;
    border: 1px solid #f0c6c2;
}

.adm-mitra-button.is-danger:hover:not(:disabled) {
    color: #fff;
    background: #dc2626;
    border-color: #dc2626;
}

.adm-mitra-button.is-small {
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 10px;
}

#adm-mitra-save[aria-busy="true"] {
    position: relative;
    padding-left: 35px;
    cursor: wait;
}

#adm-mitra-save[aria-busy="true"]::before {
    position: absolute;
    left: 13px;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    content: "";
    animation: admMitraSpin .7s linear infinite;
}

@keyframes admMitraSpin {
    to { transform: rotate(360deg); }
}


/* =========================================================
 * SUMMARY - HANYA 3 KARTU
 * ========================================================= */

.adm-mitra-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.adm-mitra-summary-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--mitra-border);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}

.adm-mitra-summary-icon {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: var(--mitra-primary);
    background: #fff1f3;
    border: 1px solid #f1cdd2;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
}

.adm-mitra-summary-card span {
    display: block;
    color: var(--mitra-text-soft);
    font-size: 11px;
    line-height: 1.35;
}

.adm-mitra-summary-card strong {
    display: block;
    margin-top: 5px;
    color: var(--mitra-primary-deep);
    font-size: 25px;
    line-height: 1.1;
}

.adm-mitra-summary-card:nth-child(2) {
    border-color: #ccebd7;
}

.adm-mitra-summary-card:nth-child(2) .adm-mitra-summary-icon {
    color: var(--mitra-success);
    background: #ecfdf3;
    border-color: #ccebd7;
}

.adm-mitra-summary-card:nth-child(3) {
    border-color: #f1d2d4;
}

.adm-mitra-summary-card:nth-child(3) .adm-mitra-summary-icon {
    color: #a11f2e;
    background: #fff1f2;
    border-color: #f1d2d4;
}


/* =========================================================
 * TOOLBAR
 * ========================================================= */

.adm-mitra-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.adm-mitra-search-wrap {
    flex: 1 1 420px;
    min-width: 260px;
}

.adm-mitra-filter-wrap {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.adm-mitra-toolbar input,
.adm-mitra-toolbar select,
.adm-mitra-field input,
.adm-mitra-field select,
.adm-mitra-field textarea {
    width: 100%;
    color: var(--mitra-text);
    background: #fff;
    border: 1px solid var(--mitra-border);
    border-radius: 9px;
    outline: none;
    font: inherit;
    font-size: 14px;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.adm-mitra-toolbar input,
.adm-mitra-toolbar select {
    height: 44px;
    padding: 0 12px;
}

.adm-mitra-filter-wrap select {
    width: 180px;
}

.adm-mitra-toolbar input:focus,
.adm-mitra-toolbar select:focus,
.adm-mitra-field input:focus,
.adm-mitra-field select:focus,
.adm-mitra-field textarea:focus {
    border-color: var(--mitra-primary);
    box-shadow: 0 0 0 3px rgba(199,32,50,.09);
}


/* =========================================================
 * TABEL
 * ========================================================= */

.adm-mitra-table-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mitra-border);
    border-radius: 12px;
    box-shadow: var(--mitra-shadow);
}

.adm-mitra-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.adm-mitra-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    table-layout: fixed;
}

.adm-mitra-table thead {
    background: #f8fbfd;
}

.adm-mitra-table th {
    padding: 12px 14px;
    color: #71879a;
    border-bottom: 1px solid #e4edf3;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .35px;
    text-align: left;
    text-transform: uppercase;
}

.adm-mitra-table td {
    min-width: 0;
    padding: 14px;
    color: var(--mitra-text);
    border-bottom: 1px solid #e7eef3;
    font-size: 14px;
    line-height: 1.45;
    vertical-align: middle;
}

.adm-mitra-table tbody tr:last-child td {
    border-bottom: 0;
}

.adm-mitra-table tbody tr:hover {
    background: #fbfdff;
}

.adm-mitra-table th:nth-child(1) { width: 22%; }
.adm-mitra-table th:nth-child(2) { width: 12%; }
.adm-mitra-table th:nth-child(3) { width: 17%; }
.adm-mitra-table th:nth-child(4) { width: 15%; }
.adm-mitra-table th:nth-child(5) { width: 15%; }
.adm-mitra-table th:nth-child(6) { width: 9%; }
.adm-mitra-table th:nth-child(7) { width: 160px; }

.adm-mitra-table-action-heading {
    text-align: right !important;
}

.adm-mitra-partner {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.adm-mitra-logo {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--mitra-primary);
    background: #fff1f3;
    border: 1px solid #f1cdd2;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
}

.adm-mitra-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.adm-mitra-partner-text {
    min-width: 0;
}

.adm-mitra-partner-text strong,
.adm-mitra-cell-main {
    display: block;
    overflow: hidden;
    color: var(--mitra-primary-deep);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-mitra-partner-text span,
.adm-mitra-cell-sub {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: var(--mitra-text-soft);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-mitra-badge {
    display: inline-flex;
    min-width: 72px;
    min-height: 27px;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.adm-mitra-badge.is-active,
.adm-mitra-badge-active {
    color: var(--mitra-success);
    background: #ecfdf3;
}

.adm-mitra-badge.is-inactive,
.adm-mitra-badge-inactive {
    color: #a11f2e;
    background: #fff1f2;
}

.adm-mitra-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.adm-mitra-action-button {
    min-height: 31px;
    padding: 6px 9px;
    color: var(--mitra-text);
    background: #fff;
    border: 1px solid var(--mitra-border);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.adm-mitra-action-button:hover {
    color: var(--mitra-primary);
    background: #fff5f6;
    border-color: #e5aab2;
}

.adm-mitra-action-button.is-danger,
.adm-mitra-action-danger {
    color: var(--mitra-danger);
    border-color: #f0c6c2;
}

.adm-mitra-action-button.is-danger:hover,
.adm-mitra-action-danger:hover {
    color: #fff;
    background: #dc2626;
    border-color: #dc2626;
}


/* =========================================================
 * LOADING / EMPTY
 * ========================================================= */

.adm-mitra-loading {
    display: none;
    padding: 16px;
}

.adm-mitra-loading.is-active {
    display: grid;
    gap: 10px;
}

.adm-mitra-loading-row {
    height: 64px;
    border-radius: 9px;
    background:
        linear-gradient(
            90deg,
            #edf2f6 25%,
            #f7fafc 50%,
            #edf2f6 75%
        );
    background-size: 200% 100%;
    animation: admMitraSkeleton 1.2s infinite;
}

@keyframes admMitraSkeleton {
    to { background-position: -200% 0; }
}

.adm-mitra-empty {
    padding: 50px 20px;
    text-align: center;
}

.adm-mitra-empty[hidden] {
    display: none !important;
}

.adm-mitra-empty strong {
    color: var(--mitra-text);
    font-size: 14px;
}

.adm-mitra-empty p {
    margin: 6px 0 0;
    color: var(--mitra-text-soft);
    font-size: 11px;
}


/* =========================================================
 * PAGINATION
 * ========================================================= */

.adm-mitra-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    color: var(--mitra-text-soft);
    background: #fbfdff;
    border-top: 1px solid #e7eef3;
    font-size: 11px;
}

.adm-mitra-pagination-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

#adm-mitra-page-current {
    min-width: 28px;
    color: var(--mitra-primary-deep);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}


/* =========================================================
 * MODAL
 * ========================================================= */

.adm-mitra-modal {
    position: fixed;
    inset: 0;
    z-index: 999980;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.adm-mitra-modal.is-active,
.adm-mitra-modal[aria-hidden="false"] {
    display: flex;
}

.adm-mitra-modal[aria-hidden="true"] {
    pointer-events: none;
}

.adm-mitra-modal[aria-hidden="false"] {
    pointer-events: auto;
}

.adm-mitra-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5,30,49,.58);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.adm-mitra-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--mitra-shadow-modal);
}

.adm-mitra-detail-dialog {
    width: min(1180px, 100%);
}

.adm-mitra-modal-header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border-bottom: 1px solid #e6edf2;
}

.adm-mitra-modal-header h2 {
    margin: 0;
    color: var(--mitra-primary-deep);
    font-size: 18px;
}

.adm-mitra-modal-header p {
    margin: 4px 0 0;
    color: var(--mitra-text-soft);
    font-size: 11px;
    line-height: 1.45;
}

.adm-mitra-modal-close {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    color: #5f7485;
    background: #f3f7fa;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.adm-mitra-modal-close:hover {
    color: var(--mitra-danger);
    background: #fff3f2;
    border-color: #f2c7c3;
}

.adm-mitra-modal-body {
    padding: 20px;
}


/* =========================================================
 * FORM
 * ========================================================= */

.adm-mitra-form-section {
    padding: 20px;
}

.adm-mitra-form-section + .adm-mitra-form-section {
    padding-top: 0;
}

.adm-mitra-form-section h3 {
    margin: 0 0 13px;
    color: var(--mitra-primary-deep);
    font-size: 14px;
}

.adm-mitra-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.adm-mitra-field {
    display: grid;
    gap: 6px;
}

.adm-mitra-field-wide {
    grid-column: 1 / -1;
}

.adm-mitra-field label {
    color: var(--mitra-text);
    font-size: 11px;
    font-weight: 800;
}

.adm-mitra-field label b {
    color: #dc2626;
}

.adm-mitra-field input,
.adm-mitra-field select {
    height: 42px;
    padding: 0 11px;
}

.adm-mitra-field textarea {
    min-height: 82px;
    padding: 10px 11px;
    resize: vertical;
}

.adm-mitra-form-footer {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #e7eef3;
}


/* =========================================================
 * DETAIL
 * ========================================================= */

.adm-mitra-detail-body {
    padding: 20px;
}

.adm-mitra-profile-card {
    display: grid;
    grid-template-columns: 84px minmax(0,1fr);
    align-items: center;
    gap: 16px;
    padding: 17px;
    background: var(--mitra-bg-soft);
    border: 1px solid #e1ebf1;
    border-radius: 12px;
}

.adm-mitra-detail-logo {
    display: flex;
    width: 84px;
    height: 84px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--mitra-primary);
    background: #fff;
    border: 1px solid #d6e4ed;
    border-radius: 12px;
    font-size: 25px;
    font-weight: 900;
}

.adm-mitra-detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.adm-mitra-profile-info {
    min-width: 0;
}

.adm-mitra-profile-info > strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--mitra-primary-deep);
    font-size: 20px;
    line-height: 1.3;
}

.adm-mitra-profile-info > span {
    display: block;
    margin-top: 4px;
    color: var(--mitra-primary);
    font-size: 12px;
    font-weight: 800;
}

.adm-mitra-profile-info > small {
    display: block;
    margin: 4px 0 9px;
    color: var(--mitra-text-soft);
    font-size: 10px;
}

.adm-mitra-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 11px;
    margin-top: 15px;
}

.adm-mitra-detail-grid > div {
    min-width: 0;
    padding: 13px;
    background: #fff;
    border: 1px solid #e2ebf1;
    border-radius: 9px;
}

.adm-mitra-detail-grid span {
    display: block;
    color: var(--mitra-text-soft);
    font-size: 10px;
}

.adm-mitra-detail-grid strong {
    display: block;
    margin-top: 5px;
    overflow-wrap: anywhere;
    color: var(--mitra-text);
    font-size: 12px;
    line-height: 1.45;
}

.adm-mitra-detail-wide {
    grid-column: 1 / -1;
}

.adm-mitra-detail-section {
    margin-top: 22px;
}

.adm-mitra-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.adm-mitra-section-heading h3 {
    margin: 0;
    color: var(--mitra-primary-deep);
    font-size: 15px;
}

.adm-mitra-section-heading p {
    margin: 4px 0 0;
    color: var(--mitra-text-soft);
    font-size: 10px;
    line-height: 1.45;
}


/* =========================================================
 * DOKUMEN
 * ========================================================= */

.adm-mitra-document-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 11px;
}

.adm-mitra-document-card {
    min-width: 0;
    padding: 14px;
    background: var(--mitra-bg-soft);
    border: 1px solid #e1ebf1;
    border-radius: 10px;
}

.adm-mitra-document-card-wide {
    grid-column: 1 / -1;
}

.adm-mitra-document-card strong {
    display: block;
    color: var(--mitra-primary-deep);
    font-size: 12px;
}

.adm-mitra-document-card small {
    display: block;
    margin-top: 5px;
    overflow-wrap: anywhere;
    color: var(--mitra-text-soft);
    font-size: 10px;
    line-height: 1.45;
}

.adm-mitra-document-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.adm-mitra-cooperation-list {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}

.adm-mitra-cooperation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px;
    background: #fff;
    border: 1px solid var(--mitra-border);
    border-radius: 8px;
}

.adm-mitra-cooperation-item-info {
    min-width: 0;
}

.adm-mitra-cooperation-item-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-mitra-cooperation-item-info small {
    margin-top: 2px;
}


/* =========================================================
 * FOCUS
 * ========================================================= */

#adm-mitra-page input:focus-visible,
#adm-mitra-page select:focus-visible,
#adm-mitra-page button:focus-visible,
#adm-mitra-page textarea:focus-visible,
.adm-mitra-modal input:focus-visible,
.adm-mitra-modal select:focus-visible,
.adm-mitra-modal button:focus-visible,
.adm-mitra-modal textarea:focus-visible {
    outline: 3px solid rgba(199,32,50,.18);
    outline-offset: 2px;
}


/* =========================================================
 * RESPONSIVE
 * ========================================================= */

@media (max-width: 980px) {
    .adm-mitra-page-header {
        flex-direction: column;
    }

    .adm-mitra-summary {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .adm-mitra-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .adm-mitra-search-wrap {
        min-width: 0;
    }

    .adm-mitra-filter-wrap {
        width: 100%;
    }

    .adm-mitra-filter-wrap select {
        flex: 1 1 180px;
        width: auto;
    }

    .adm-mitra-detail-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .adm-mitra-document-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 700px) {
    .adm-mitra-page-header h1 {
        font-size: 22px;
    }

    .adm-mitra-page-actions {
        width: 100%;
    }

    .adm-mitra-page-actions .adm-mitra-button {
        flex: 1 1 auto;
    }

    .adm-mitra-summary {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .adm-mitra-form-grid,
    .adm-mitra-detail-grid,
    .adm-mitra-document-grid {
        grid-template-columns: 1fr;
    }

    .adm-mitra-detail-wide,
    .adm-mitra-document-card-wide {
        grid-column: auto;
    }

    .adm-mitra-profile-card {
        grid-template-columns: 66px minmax(0,1fr);
    }

    .adm-mitra-detail-logo {
        width: 66px;
        height: 66px;
    }

    .adm-mitra-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .adm-mitra-pagination-actions {
        width: 100%;
        justify-content: space-between;
    }

    .adm-mitra-modal {
        padding: 8px;
    }

    .adm-mitra-modal-dialog {
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        border-radius: 11px;
    }

    .adm-mitra-form-footer {
        flex-wrap: wrap;
    }

    .adm-mitra-form-footer .adm-mitra-button {
        flex: 1 1 140px;
    }
}

@media (hover: none), (pointer: coarse) {
    .adm-mitra-button:hover,
    .adm-mitra-action-button:hover,
    .adm-mitra-modal-close:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #adm-mitra-page *,
    #adm-mitra-page *::before,
    #adm-mitra-page *::after,
    .adm-mitra-modal *,
    .adm-mitra-modal *::before,
    .adm-mitra-modal *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
 * REVISI UI MITRA
 * - Header lokal dihapus
 * - Refresh + Tambah Mitra berada setelah filter Status
 * - Avatar/inisial pada tabel dihapus
 * - Tabel dibuat lebih ringkas agar satu baris
 * ========================================================= */

/* Toolbar dibuat satu baris selama ruang masih cukup */
.adm-mitra-toolbar {
    display: grid;
    grid-template-columns:
        minmax(260px, 1fr)
        auto;
    align-items: center;
    gap: 10px;
}

.adm-mitra-search-wrap {
    min-width: 0;
}

.adm-mitra-filter-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

.adm-mitra-filter-wrap select {
    width: 165px;
    min-width: 145px;
}

.adm-mitra-toolbar-button {
    min-height: 42px;
    flex: 0 0 auto;
}


/* =========================================================
 * TABEL RINGKAS SATU BARIS
 * ========================================================= */

.adm-mitra-table {
    min-width: 920px;
    table-layout: fixed;
}

.adm-mitra-table th,
.adm-mitra-table td {
    padding-left: 10px;
    padding-right: 10px;
}

.adm-mitra-table td {
    height: 58px;
    white-space: nowrap;
}

.adm-mitra-table th:nth-child(1) { width: 18%; }
.adm-mitra-table th:nth-child(2) { width: 10%; }
.adm-mitra-table th:nth-child(3) { width: 18%; }
.adm-mitra-table th:nth-child(4) { width: 12%; }
.adm-mitra-table th:nth-child(5) { width: 18%; }
.adm-mitra-table th:nth-child(6) { width: 8%; }
.adm-mitra-table th:nth-child(7) { width: 16%; }

.adm-mitra-inline-main {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 5px;
    overflow: hidden;
    white-space: nowrap;
}

.adm-mitra-inline-main strong {
    min-width: 0;
    overflow: hidden;
    color: var(--mitra-primary-deep);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-mitra-inline-main span {
    flex: 0 0 auto;
    color: var(--mitra-text-soft);
    font-size: 10px;
}

.adm-mitra-cell-nowrap {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-mitra-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.adm-mitra-action-button {
    min-height: 29px;
    padding: 5px 7px;
    font-size: 9px;
}


/* =========================================================
 * RESPONSIVE TOOLBAR
 * ========================================================= */

@media (max-width: 1120px) {
    .adm-mitra-toolbar {
        grid-template-columns: 1fr;
    }

    .adm-mitra-filter-wrap {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 700px) {
    .adm-mitra-filter-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .adm-mitra-filter-wrap select,
    .adm-mitra-toolbar-button {
        width: 100%;
        min-width: 0;
    }
}


/* =========================================================
 * RIWAYAT MITRA
 * ========================================================= */

.adm-mitra-history-heading {
    gap: 16px;
}

.adm-mitra-history-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.adm-mitra-history-summary > div {
    padding: 14px;
    border: 1px solid var(--mitra-border);
    border-radius: 12px;
    background: #fff;
}

.adm-mitra-history-summary span {
    display: block;
    margin-bottom: 5px;
    color: var(--mitra-text-soft);
    font-size: 11px;
}

.adm-mitra-history-summary strong {
    color: var(--mitra-primary-deep);
    font-size: 17px;
}

.adm-mitra-history-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 10px;
    margin-bottom: 12px;
}

.adm-mitra-history-toolbar .adm-mitra-input,
.adm-mitra-history-toolbar .adm-mitra-select {
    width: 100%;
    min-height: 40px;
}

.adm-mitra-history-state {
    padding: 20px 12px;
    color: var(--mitra-text-soft);
    text-align: center;
}

.adm-mitra-history-list {
    display: grid;
    gap: 10px;
}

.adm-mitra-history-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--mitra-border);
    border-radius: 12px;
    background: #fff;
}

.adm-mitra-history-main {
    min-width: 0;
}

.adm-mitra-history-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 7px;
}

.adm-mitra-history-title strong {
    color: var(--mitra-primary-deep);
    font-size: 13px;
}

.adm-mitra-history-title small {
    color: var(--mitra-text-soft);
    font-size: 10px;
}

.adm-mitra-history-meta {
    display: flex;
    gap: 6px 14px;
    flex-wrap: wrap;
    color: var(--mitra-text-soft);
    font-size: 11px;
}

.adm-mitra-history-note {
    margin-top: 7px;
    color: var(--mitra-text);
    font-size: 11px;
    line-height: 1.5;
}

.adm-mitra-history-actions {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .adm-mitra-history-summary {
        grid-template-columns: 1fr;
    }

    .adm-mitra-history-toolbar {
        grid-template-columns: 1fr;
    }

    .adm-mitra-history-card {
        grid-template-columns: 1fr;
    }

    .adm-mitra-history-actions {
        justify-content: flex-start;
    }
}


/* =========================================================
 * REKAP SERTIFIKASI MITRA OTOMATIS
 * ========================================================= */
.adm-mitra-auto-heading { align-items: end; gap: 18px; }
.adm-mitra-auto-search { width: min(360px, 100%); }
.adm-mitra-auto-filters { display:flex; gap:10px; }
.adm-mitra-auto-filters .adm-mitra-select { min-width:190px; }
.adm-mitra-auto-table-wrap { overflow-x:auto; border:1px solid var(--mitra-border); border-radius:12px; }
.adm-mitra-auto-table { width:100%; border-collapse:collapse; min-width:920px; background:#fff; }
.adm-mitra-auto-table th { padding:11px 13px; background:#f7f9fc; border-bottom:1px solid var(--mitra-border); color:var(--mitra-text-soft); font-size:10px; text-transform:uppercase; text-align:left; white-space:nowrap; }
.adm-mitra-auto-table td { padding:13px; border-bottom:1px solid var(--mitra-border); vertical-align:top; font-size:11px; }
.adm-mitra-auto-table tbody tr:last-child td { border-bottom:0; }
.adm-mitra-auto-table .is-center { text-align:center; }
.adm-mitra-auto-table .is-right { text-align:right; }
.adm-mitra-auto-primary { display:block; color:var(--mitra-primary-deep); font-weight:700; font-size:12px; }
.adm-mitra-auto-secondary { display:block; margin-top:3px; color:var(--mitra-text-soft); font-size:10px; line-height:1.35; }
.adm-mitra-auto-count { display:block; text-align:center; font-size:13px; font-weight:700; color:var(--mitra-primary-deep); }
.adm-mitra-auto-result { display:inline-flex; align-items:center; justify-content:center; min-width:25px; min-height:25px; padding:0 7px; border-radius:999px; background:#eef3f8; font-weight:700; font-size:10px; }
@media (max-width:700px) {
  .adm-mitra-auto-heading { align-items:stretch; }
  .adm-mitra-auto-search { width:100%; }
  .adm-mitra-auto-filters { flex-direction:column; width:100%; }
  .adm-mitra-auto-filters .adm-mitra-select { width:100%; min-width:0; }
}


/* =========================================================
 * POLISH REKAP SERTIFIKASI MITRA
 * ========================================================= */

.adm-mitra-detail-section + .adm-mitra-detail-section {
    margin-top: 24px;
}

.adm-mitra-auto-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.adm-mitra-auto-heading h3 {
    margin: 0 0 4px;
    font-size: 17px;
    line-height: 1.25;
}

.adm-mitra-auto-heading p {
    margin: 0;
    max-width: 680px;
    font-size: 11px;
    line-height: 1.45;
}

.adm-mitra-auto-search,
.adm-mitra-auto-filters .adm-mitra-select {
    height: 40px;
    border: 1px solid #d7e0ea;
    border-radius: 9px;
    background: #fff;
    color: #17324d;
    font: inherit;
    font-size: 12px;
    outline: none;
}

.adm-mitra-auto-search {
    width: 320px;
    max-width: 100%;
    padding: 0 12px;
}

.adm-mitra-auto-search:focus,
.adm-mitra-auto-filters .adm-mitra-select:focus {
    border-color: #d88c96;
    box-shadow: 0 0 0 3px rgba(199, 32, 50, .10);
}

.adm-mitra-auto-filters {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adm-mitra-auto-filters .adm-mitra-select {
    min-width: 185px;
    padding: 0 34px 0 12px;
}

.adm-mitra-auto-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dfe6ee;
    border-radius: 10px;
    background: #fff;
}

.adm-mitra-auto-table {
    width: 100%;
    min-width: 900px;
    table-layout: fixed;
    border-collapse: collapse;
}

.adm-mitra-auto-table th {
    padding: 11px 13px;
    border-bottom: 1px solid #dfe6ee;
    background: #f7f9fb;
    color: #61758a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .01em;
    text-align: left;
    text-transform: uppercase;
}

.adm-mitra-auto-table td {
    padding: 13px;
    border-bottom: 1px solid #e8edf2;
    vertical-align: middle;
}

.adm-mitra-auto-table tbody tr:last-child td {
    border-bottom: 0;
}

.adm-mitra-auto-table tbody tr:hover {
    background: #fbfdff;
}

.adm-mitra-auto-table th:nth-child(1) { width: 30%; }
.adm-mitra-auto-table th:nth-child(2) { width: 28%; }
.adm-mitra-auto-table th:nth-child(3) { width: 14%; }
.adm-mitra-auto-table th:nth-child(4) { width: 16%; }
.adm-mitra-auto-table th:nth-child(5) { width: 12%; }

.adm-mitra-participant-table th:nth-child(1) { width: 22%; }
.adm-mitra-participant-table th:nth-child(2) { width: 24%; }
.adm-mitra-participant-table th:nth-child(3) { width: 22%; }
.adm-mitra-participant-table th:nth-child(4) { width: 16%; }
.adm-mitra-participant-table th:nth-child(5) { width: 16%; }

.adm-mitra-auto-primary {
    display: block;
    color: #0d3556;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.adm-mitra-auto-secondary {
    display: block;
    margin-top: 3px;
    color: #708397;
    font-size: 10px;
    line-height: 1.35;
}

.adm-mitra-auto-table .is-center {
    text-align: center;
}

.adm-mitra-auto-table .is-right {
    text-align: right;
}

.adm-mitra-auto-count {
    display: block;
    color: #0d3556;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.adm-mitra-auto-result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 27px;
    height: 27px;
    padding: 0 8px;
    border-radius: 999px;
    background: #e9f6ee;
    color: #25744a;
    font-size: 10px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .adm-mitra-auto-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .adm-mitra-auto-search {
        width: 100%;
    }

    .adm-mitra-auto-filters {
        width: 100%;
    }

    .adm-mitra-auto-filters .adm-mitra-select {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 620px) {
    .adm-mitra-auto-filters {
        flex-direction: column;
    }

    .adm-mitra-auto-filters .adm-mitra-select {
        width: 100%;
    }
}


/* =========================================================
 * MITRA DETAIL - FINAL UI POLISH
 * Fokus:
 * - Riwayat Kegiatan Sertifikasi
 * - Daftar Peserta Sertifikasi
 * ========================================================= */

#adm-mitra-detail-modal .adm-mitra-modal-dialog {
    width: min(1180px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
}

#adm-mitra-detail-modal .adm-mitra-form-body {
    padding: 20px 22px 24px;
}

#adm-mitra-detail-modal .adm-mitra-detail-section {
    margin-top: 24px;
}

#adm-mitra-detail-modal .adm-mitra-detail-section:first-child {
    margin-top: 0;
}

#adm-mitra-detail-modal .adm-mitra-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

#adm-mitra-detail-modal .adm-mitra-section-heading h3 {
    margin: 0 0 3px;
    color: #17324d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

#adm-mitra-detail-modal .adm-mitra-section-heading p {
    margin: 0;
    max-width: 680px;
    color: #718196;
    font-size: 10px;
    line-height: 1.45;
}

/* Search */
#adm-mitra-cert-search {
    width: 340px;
    max-width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #d7e0e8;
    border-radius: 8px;
    background: #ffffff;
    color: #17324d;
    font-size: 11px;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

#adm-mitra-cert-search::placeholder {
    color: #98a6b5;
}

#adm-mitra-cert-search:focus {
    border-color: #d88c96;
    outline: none;
    box-shadow: 0 0 0 3px rgba(199, 32, 50, .10);
}

/* Filter group */
.adm-mitra-auto-filters {
    display: flex;
    align-items: center;
    gap: 8px;
}

#adm-mitra-cert-activity-filter,
#adm-mitra-cert-status-filter {
    height: 38px;
    min-width: 170px;
    padding: 0 34px 0 11px;
    border: 1px solid #d7e0e8;
    border-radius: 8px;
    background-color: #ffffff;
    color: #17324d;
    font-size: 11px;
    outline: none;
}

#adm-mitra-cert-activity-filter:focus,
#adm-mitra-cert-status-filter:focus {
    border-color: #d88c96;
    box-shadow: 0 0 0 3px rgba(199, 32, 50, .10);
}

/* Table wrapper */
.adm-mitra-auto-table-wrap {
    overflow-x: auto;
    border: 1px solid #dde5ec;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 50, 77, .03);
}

/* Table base */
.adm-mitra-auto-table {
    width: 100%;
    min-width: 940px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #ffffff;
}

.adm-mitra-auto-table thead th {
    padding: 10px 12px;
    border-bottom: 1px solid #dfe6ec;
    background: #f6f8fa;
    color: #5e7185;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
}

.adm-mitra-auto-table tbody td {
    padding: 12px;
    border-bottom: 1px solid #edf1f4;
    color: #29445e;
    font-size: 10px;
    line-height: 1.45;
    vertical-align: middle;
}

.adm-mitra-auto-table tbody tr:last-child td {
    border-bottom: 0;
}

.adm-mitra-auto-table tbody tr:hover {
    background: #fbfdff;
}

/* Riwayat Kegiatan: proporsi kolom */
.adm-mitra-auto-table:not(.adm-mitra-participant-table) th:nth-child(1),
.adm-mitra-auto-table:not(.adm-mitra-participant-table) td:nth-child(1) {
    width: 31%;
}

.adm-mitra-auto-table:not(.adm-mitra-participant-table) th:nth-child(2),
.adm-mitra-auto-table:not(.adm-mitra-participant-table) td:nth-child(2) {
    width: 27%;
}

.adm-mitra-auto-table:not(.adm-mitra-participant-table) th:nth-child(3),
.adm-mitra-auto-table:not(.adm-mitra-participant-table) td:nth-child(3) {
    width: 13%;
}

.adm-mitra-auto-table:not(.adm-mitra-participant-table) th:nth-child(4),
.adm-mitra-auto-table:not(.adm-mitra-participant-table) td:nth-child(4) {
    width: 16%;
}

.adm-mitra-auto-table:not(.adm-mitra-participant-table) th:nth-child(5),
.adm-mitra-auto-table:not(.adm-mitra-participant-table) td:nth-child(5) {
    width: 13%;
}

/* Daftar Peserta: proporsi kolom */
.adm-mitra-participant-table th:nth-child(1),
.adm-mitra-participant-table td:nth-child(1) {
    width: 23%;
}

.adm-mitra-participant-table th:nth-child(2),
.adm-mitra-participant-table td:nth-child(2) {
    width: 25%;
}

.adm-mitra-participant-table th:nth-child(3),
.adm-mitra-participant-table td:nth-child(3) {
    width: 22%;
}

.adm-mitra-participant-table th:nth-child(4),
.adm-mitra-participant-table td:nth-child(4) {
    width: 14%;
}

.adm-mitra-participant-table th:nth-child(5),
.adm-mitra-participant-table td:nth-child(5) {
    width: 16%;
}

/* Primary and secondary text */
.adm-mitra-auto-primary {
    display: block;
    color: #173b5c;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.adm-mitra-auto-secondary {
    display: block;
    margin-top: 2px;
    color: #78899a;
    font-size: 9.5px;
    line-height: 1.35;
    word-break: break-word;
}

/* Counts */
.adm-mitra-auto-count {
    display: block;
    color: #173b5c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.adm-mitra-auto-table .is-center {
    text-align: center;
}

.adm-mitra-auto-table .is-right {
    text-align: right;
}

/* Result badge */
.adm-mitra-auto-result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eaf6ef;
    color: #24734a;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

/* Detail button */
.adm-mitra-auto-table .adm-mitra-button.is-small {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 700;
}

/* Empty/loading state */
#adm-mitra-cert-activity-loading,
#adm-mitra-cert-activity-empty,
#adm-mitra-cert-participant-loading,
#adm-mitra-cert-participant-empty {
    padding: 24px 16px;
    color: #7b8b9d;
    font-size: 10px;
    text-align: center;
}

/* Better visual separation */
#adm-mitra-detail-modal .adm-mitra-detail-section + .adm-mitra-detail-section {
    padding-top: 2px;
}

/* Responsive */
@media (max-width: 980px) {
    #adm-mitra-detail-modal .adm-mitra-section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    #adm-mitra-cert-search {
        width: 100%;
    }

    .adm-mitra-auto-filters {
        width: 100%;
    }

    #adm-mitra-cert-activity-filter,
    #adm-mitra-cert-status-filter {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    #adm-mitra-detail-modal .adm-mitra-modal-dialog {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
    }

    #adm-mitra-detail-modal .adm-mitra-form-body {
        padding: 16px;
    }

    .adm-mitra-auto-filters {
        flex-direction: column;
    }

    #adm-mitra-cert-activity-filter,
    #adm-mitra-cert-status-filter {
        width: 100%;
    }

    .adm-mitra-auto-table {
        min-width: 860px;
    }
}

/* =========================================================
 * MITRA - FINAL UI KONSISTEN
 * Tabel utama 6 kolom:
 * Mitra | Jenis | Penanggung Jawab | Kontak | Status | Aksi
 * ========================================================= */

#adm-mitra-page {
    color: var(--mitra-text);
}

.adm-mitra-toolbar {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.adm-mitra-search-wrap {
    min-width: 0;
}

.adm-mitra-filter-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

.adm-mitra-toolbar input,
.adm-mitra-toolbar select {
    min-height: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 14px;
}

.adm-mitra-toolbar-button {
    min-height: 44px;
}

.adm-mitra-summary {
    gap: 12px;
    margin-bottom: 16px;
}

.adm-mitra-summary-card {
    padding: 16px 18px;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}

.adm-mitra-summary-card span {
    font-size: 12px;
    font-weight: 650;
}

.adm-mitra-summary-card strong {
    font-size: 27px;
}

.adm-mitra-table-card {
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}

.adm-mitra-table {
    width: 100%;
    min-width: 920px;
    table-layout: fixed;
    border-collapse: collapse;
}

.adm-mitra-table th,
.adm-mitra-table td {
    padding: 13px 14px;
}

.adm-mitra-table th {
    color: #728895;
    background: #f7fafc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.adm-mitra-table td {
    height: 62px;
    color: var(--mitra-text);
    font-size: 14px;
    line-height: 1.45;
    vertical-align: middle;
}

.adm-mitra-table th:nth-child(1),
.adm-mitra-table td:nth-child(1) {
    width: 23%;
}

.adm-mitra-table th:nth-child(2),
.adm-mitra-table td:nth-child(2) {
    width: 12%;
}

.adm-mitra-table th:nth-child(3),
.adm-mitra-table td:nth-child(3) {
    width: 20%;
}

.adm-mitra-table th:nth-child(4),
.adm-mitra-table td:nth-child(4) {
    width: 20%;
}

.adm-mitra-table th:nth-child(5),
.adm-mitra-table td:nth-child(5) {
    width: 9%;
}

.adm-mitra-table th:nth-child(6),
.adm-mitra-table td:nth-child(6) {
    width: 16%;
}

.adm-mitra-inline-main strong,
.adm-mitra-cell-main {
    color: var(--mitra-text);
    font-size: 14px;
    font-weight: 800;
}

.adm-mitra-inline-main span,
.adm-mitra-cell-sub {
    color: var(--mitra-text-soft);
    font-size: 12px;
}

.adm-mitra-cell-nowrap {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-mitra-badge {
    min-width: 72px;
    min-height: 28px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
}

.adm-mitra-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.adm-mitra-action-button {
    min-height: 32px;
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.adm-mitra-action-button:hover {
    color: var(--mitra-primary);
    background: #eef7fc;
    border-color: #a9ccdf;
}

.adm-mitra-pagination {
    padding: 12px 14px;
    background: #fbfdff;
    font-size: 11px;
}

.adm-mitra-pagination-actions {
    gap: 9px;
}

/* Detail dan dokumen tetap dipertahankan, hanya dipoles agar konsisten */
.adm-mitra-profile-card {
    border-radius: 14px;
}

.adm-mitra-detail-grid > div,
.adm-mitra-document-card {
    border-radius: 10px;
}

.adm-mitra-modal-dialog {
    border: 1px solid var(--mitra-border);
    border-radius: 16px;
}

.adm-mitra-modal-header {
    background: #fbfdfe;
}

.adm-mitra-field input,
.adm-mitra-field select,
.adm-mitra-field textarea {
    font-size: 14px;
    border-radius: 9px;
}

@media (max-width: 1120px) {
    .adm-mitra-toolbar {
        grid-template-columns: 1fr;
    }

    .adm-mitra-filter-wrap {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .adm-mitra-table {
        min-width: 900px;
    }
}

@media (max-width: 700px) {
    .adm-mitra-filter-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .adm-mitra-filter-wrap select,
    .adm-mitra-toolbar-button {
        width: 100%;
        min-width: 0;
    }

    .adm-mitra-table th,
    .adm-mitra-table td {
        font-size: 12px;
    }
}

/* =========================================================
 * MITRA - FINAL TABLE FIX
 * TUK / Mitra | Jenis | Penanggung Jawab | Kontak | Status | Aksi
 * ========================================================= */

.adm-mitra-table {
    min-width: 1040px;
}

.adm-mitra-table th:nth-child(1),
.adm-mitra-table td:nth-child(1) { width: 21%; }

.adm-mitra-table th:nth-child(2),
.adm-mitra-table td:nth-child(2) { width: 11%; }

.adm-mitra-table th:nth-child(3),
.adm-mitra-table td:nth-child(3) { width: 19%; }

.adm-mitra-table th:nth-child(4),
.adm-mitra-table td:nth-child(4) { width: 17%; }

.adm-mitra-table th:nth-child(5),
.adm-mitra-table td:nth-child(5) {
    width: 11%;
    min-width: 105px;
    overflow: visible;
}

.adm-mitra-table th:nth-child(6),
.adm-mitra-table td:nth-child(6) {
    width: 21%;
    min-width: 255px;
}

.adm-mitra-partner-text {
    min-width: 0;
}

.adm-mitra-partner-text strong {
    display: block;
    overflow: hidden;
    color: var(--mitra-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-mitra-partner-text span {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: var(--mitra-text-soft);
    font-size: 12px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adm-mitra-table td:nth-child(5) .adm-mitra-badge {
    position: relative;
    z-index: 2;
}

.adm-mitra-row-actions {
    min-width: 245px;
}

@media (max-width: 1120px) {
    .adm-mitra-table {
        min-width: 1040px;
    }
}

/* =========================================================
 * MITRA - FINAL WIDTH FIX
 * Muat 1 halaman desktop tanpa horizontal scroll
 * ========================================================= */

.adm-mitra-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
}

.adm-mitra-table th:nth-child(1),
.adm-mitra-table td:nth-child(1) {
    width: 19%;
}

.adm-mitra-table th:nth-child(2),
.adm-mitra-table td:nth-child(2) {
    width: 10%;
}

.adm-mitra-table th:nth-child(3),
.adm-mitra-table td:nth-child(3) {
    width: 18%;
}

.adm-mitra-table th:nth-child(4),
.adm-mitra-table td:nth-child(4) {
    width: 15%;
}

.adm-mitra-table th:nth-child(5),
.adm-mitra-table td:nth-child(5) {
    width: 8%;
    min-width: 0;
}

.adm-mitra-table th:nth-child(6),
.adm-mitra-table td:nth-child(6) {
    width: 30%;
    min-width: 0;
}

.adm-mitra-table th:nth-child(5),
.adm-mitra-table td:nth-child(5) {
    text-align: center;
}

.adm-mitra-table th:nth-child(6) {
    text-align: right;
}

.adm-mitra-row-actions {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.adm-mitra-action-button {
    flex: 0 0 auto;
}

@media (max-width: 1120px) {
    .adm-mitra-table {
        min-width: 900px;
    }
}

/* =========================================================
 * SISFO LSP APMP
 * GLOBAL BUTTON + PAGINATION CONSISTENCY
 * VERSION 1.0.0
 *
 * Tempel di PALING BAWAH:
 * /assets/css/app.css
 *
 * Tujuan:
 * - Menyamakan tombol utama/sekunder/danger antar modul.
 * - Menyamakan tombol aksi Personil.
 * - Menyamakan pagination Peserta, Skema, Asesor, Personil, Mitra.
 * ========================================================= */

/* PERSONIL — tombol toolbar/form */
.adm-personil-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease,
    box-shadow .15s ease,
    transform .15s ease;
}

.adm-personil-button.is-primary {
  color: #fff;
  background: var(--sisfo-primary);
  border-color: var(--sisfo-primary);
}

.adm-personil-button.is-primary:hover:not(:disabled) {
  background: var(--sisfo-primary-dark);
  border-color: var(--sisfo-primary-dark);
}

.adm-personil-button.is-secondary {
  color: #4f4f4f;
  background: #fff;
  border-color: var(--sisfo-border);
}

.adm-personil-button.is-secondary:hover:not(:disabled) {
  color: var(--sisfo-primary);
  background: var(--sisfo-primary-soft);
  border-color: #e5b4ba;
}

.adm-personil-button.is-danger {
  color: #b42318;
  background: #fff;
  border-color: #efc7c3;
}

.adm-personil-button.is-danger:hover:not(:disabled) {
  color: #fff;
  background: #b42318;
  border-color: #b42318;
}

.adm-personil-button:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* PERSONIL — tombol aksi tabel dibuat satu ukuran */
.adm-personil-action-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  color: #4f4f4f;
  background: #fff;
  border: 1px solid var(--sisfo-border);
  border-radius: 7px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.adm-personil-action-button:hover:not(:disabled) {
  color: var(--sisfo-primary);
  background: var(--sisfo-primary-soft);
  border-color: #e5b4ba;
}

.adm-personil-action-button.is-danger,
.adm-personil-action-button[data-action="delete"] {
  color: #b42318;
}

.adm-personil-action-button.is-danger:hover:not(:disabled),
.adm-personil-action-button[data-action="delete"]:hover:not(:disabled) {
  color: #fff;
  background: #b42318;
  border-color: #b42318;
}

/* =========================================================
 * PAGINATION — SATU VISUAL SYSTEM
 * ========================================================= */

.data-card-footer,
.skema-pagination,
.asesor-pagination,
.adm-personil-pagination,
.adm-mitra-pagination {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  color: var(--sisfo-text-soft);
  background: #fbfbfc;
  border-top: 1px solid var(--sisfo-border);
  font-size: 11px;
}

.pagination-info,
.skema-pagination-info,
.asesor-pagination-info,
.adm-personil-pagination-info,
#adm-personil-pagination-info,
#adm-mitra-pagination-info {
  color: var(--sisfo-text-soft);
  font-size: 11px;
  line-height: 1.4;
}

.pagination-actions,
.skema-pagination-buttons,
.asesor-pagination-actions,
.adm-personil-pagination-actions,
.adm-mitra-pagination-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* Nomor/indikator halaman */
.pagination-page,
.skema-pagination-current,
#skemaPageCurrent,
#skemaPaginationCurrent,
.asesor-pagination-current,
#adm-personil-page-current,
#adm-mitra-page-current {
  display: inline-flex;
  min-width: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  color: var(--sisfo-primary);
  background: var(--sisfo-primary-soft);
  border: 1px solid #efc9cd;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

/* Tombol Previous / Next lintas modul */
.pagination-actions .button,
.skema-pagination-buttons .skema-button,
.asesor-pagination-actions .asesor-btn,
#adm-personil-prev,
#adm-personil-next,
.adm-mitra-pagination-actions .adm-mitra-button {
  min-height: 32px;
  height: auto;
  padding: 6px 10px;
  color: #4f4f4f;
  background: #fff;
  border: 1px solid var(--sisfo-border);
  border-radius: 7px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: none;
}

.pagination-actions .button:hover:not(:disabled),
.skema-pagination-buttons .skema-button:hover:not(:disabled),
.asesor-pagination-actions .asesor-btn:hover:not(:disabled),
#adm-personil-prev:hover:not(:disabled),
#adm-personil-next:hover:not(:disabled),
.adm-mitra-pagination-actions .adm-mitra-button:hover:not(:disabled) {
  color: var(--sisfo-primary);
  background: var(--sisfo-primary-soft);
  border-color: #e5b4ba;
}

.pagination-actions .button:disabled,
.skema-pagination-buttons .skema-button:disabled,
.asesor-pagination-actions .asesor-btn:disabled,
#adm-personil-prev:disabled,
#adm-personil-next:disabled,
.adm-mitra-pagination-actions .adm-mitra-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* Responsive pagination */
@media (max-width: 640px) {
  .data-card-footer,
  .skema-pagination,
  .asesor-pagination,
  .adm-personil-pagination,
  .adm-mitra-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-actions,
  .skema-pagination-buttons,
  .asesor-pagination-actions,
  .adm-personil-pagination-actions,
  .adm-mitra-pagination-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* =========================================================
 * SISFO LSP APMP
 * PAGINATION PESERTA + PERSONIL
 * EXACT VISUAL MATCH DENGAN ASESOR
 * VERSION 1.0.1
 *
 * Tempel di PALING BAWAH:
 * /assets/css/app.css
 * ========================================================= */

/* =========================
 * PESERTA
 * ========================= */

.peserta-list-footer {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: var(--asesor-muted, #6b7280);
  background: #fbfdff;
  border-top: 1px solid #e7eef3;
  font-size: 11px;
}

#paginationInfo {
  color: var(--asesor-muted, #6b7280);
  font-size: 11px;
}

.peserta-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.peserta-pagination .peserta-button {
  min-height: 32px;
  height: auto;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.peserta-pagination .peserta-button.is-secondary {
  color: var(--asesor-text, #172033);
  background: #fff;
  border: 1px solid var(--asesor-border, #e4e8f0);
}

.peserta-pagination .peserta-button.is-secondary:hover:not(:disabled) {
  color: var(--sisfo-primary);
  background: var(--sisfo-primary-soft);
  border-color: #e5b4ba;
}

.peserta-pagination .peserta-button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.peserta-pagination-page,
#paginationPage {
  display: inline-flex;
  width: auto;
  min-width: 28px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  color: var(--sisfo-primary);
  background: var(--sisfo-primary-soft);
  border: 1px solid #efc9cd;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

/* =========================
 * PERSONIL
 * ========================= */

.adm-personil-pagination {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: var(--asesor-muted, #6b7280);
  background: #fbfdff;
  border-top: 1px solid #e7eef3;
  font-size: 11px;
}

#adm-personil-page-info {
  color: var(--asesor-muted, #6b7280);
  font-size: 11px;
}

.adm-personil-pagination-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

#adm-personil-prev,
#adm-personil-next {
  min-height: 32px;
  height: auto;
  padding: 6px 10px;
  color: var(--asesor-text, #172033);
  background: #fff;
  border: 1px solid var(--asesor-border, #e4e8f0);
  border-radius: 7px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

#adm-personil-prev:hover:not(:disabled),
#adm-personil-next:hover:not(:disabled) {
  color: var(--sisfo-primary);
  background: var(--sisfo-primary-soft);
  border-color: #e5b4ba;
}

#adm-personil-prev:disabled,
#adm-personil-next:disabled {
  opacity: .55;
  cursor: not-allowed;
}

#adm-personil-page-current {
  display: inline-flex;
  width: auto;
  min-width: 28px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  color: var(--sisfo-primary);
  background: var(--sisfo-primary-soft);
  border: 1px solid #efc9cd;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 640px) {
  .peserta-list-footer,
  .adm-personil-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .peserta-pagination,
  .adm-personil-pagination-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* =====================================================
   TAMBAHAN UNTUK /assets/css/app.css
   MODUL JADWAL KEGIATAN - SISFO LSP APMP
   Tempel seluruh blok ini di PALING BAWAH app.css.
   Tidak perlu lagi memuat jadwal-kegiatan.css terpisah.
===================================================== */

/* =====================================================
   SISFO LSP APMP
   HALAMAN JADWAL KEGIATAN
===================================================== */

.jadwal-page {
  width: 100%;
}


/* =====================================================
   HERO
===================================================== */

.jadwal-hero {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 24px;

  margin-bottom: 22px;

  padding: 24px;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f5faff 100%
    );

  border:
    1px solid #dfeaf2;

  border-radius: 14px;

  box-shadow:
    0 4px 18px
    rgba(21, 50, 71, .04);
}


.jadwal-eyebrow {
  display: inline-block;

  margin-bottom: 8px;

  color: #b42318;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: 1.1px;

  text-transform: uppercase;
}


.jadwal-hero h2 {
  margin: 0;

  color: #184764;

  font-size:
    clamp(22px, 2vw, 30px);

  font-weight: 900;
}


.jadwal-hero p {
  max-width: 760px;

  margin:
    8px 0 0;

  color: #718797;

  font-size: 12px;

  line-height: 1.65;
}


.jadwal-hero-actions {
  display: flex;

  flex: 0 0 auto;

  align-items: center;
  justify-content: flex-end;

  gap: 8px;

  flex-wrap: wrap;
}


/* =====================================================
   BUTTON
===================================================== */

.jadwal-button {
  display: inline-flex;

  min-height: 40px;

  align-items: center;
  justify-content: center;

  gap: 7px;

  padding:
    8px 13px;

  font-family: inherit;
  font-size: 11px;
  font-weight: 800;

  border-radius: 8px;

  cursor: pointer;

  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease,
    opacity .15s ease;
}


.jadwal-button.is-primary {
  color: #ffffff;

  background: #b42318;

  border:
    1px solid #b42318;
}


.jadwal-button.is-primary:hover {
  background: #8f1d14;
}


.jadwal-button.is-secondary {
  color: #46677d;

  background: #ffffff;

  border:
    1px solid #d7e4ec;
}


.jadwal-button.is-secondary:hover {
  color: #b42318;

  background: #f4f9fc;

  border-color: #b9d5e5;
}


.jadwal-button.is-danger {
  color: #b3362f;

  background: #ffffff;

  border:
    1px solid #e7c9c6;
}


.jadwal-button.is-danger:hover {
  background: #fff6f5;

  border-color: #dca9a4;
}


.jadwal-button:disabled {
  cursor: not-allowed;

  opacity: .55;
}


/* =====================================================
   SUMMARY
===================================================== */

.jadwal-summary-grid {
  display: grid;

  grid-template-columns:
    repeat(6, minmax(0, 1fr));

  gap: 12px;

  margin-bottom: 20px;
}


.jadwal-summary-card {
  position: relative;

  overflow: hidden;

  min-height: 98px;

  padding: 17px 18px;

  background: #ffffff;

  border:
    1px solid #e0e9ef;

  border-radius: 12px;

  box-shadow:
    0 3px 14px
    rgba(21, 50, 71, .035);
}


.jadwal-summary-card::before {
  position: absolute;

  top: 0;
  left: 0;
  bottom: 0;

  width: 4px;

  background: #b42318;

  content: "";
}


.jadwal-summary-card span {
  display: block;

  color: #758b99;

  font-size: 10px;
  font-weight: 800;

  text-transform: uppercase;
}


.jadwal-summary-card strong {
  display: block;

  margin-top: 12px;

  color: #24475f;

  font-size: 27px;
  font-weight: 900;
}


.jadwal-summary-card.is-draft::before {
  background: #7c8a95;
}


.jadwal-summary-card.is-scheduled::before {
  background: #c63c32;
}


.jadwal-summary-card.is-running::before {
  background: #d28a16;
}


.jadwal-summary-card.is-done::before {
  background: #169b62;
}


.jadwal-summary-card.is-cancelled::before {
  background: #d64b4b;
}


/* =====================================================
   FILTER
===================================================== */

.jadwal-filter-card {
  margin-bottom: 20px;

  padding: 17px;

  background: #ffffff;

  border:
    1px solid #dfe8ef;

  border-radius: 12px;
}


.jadwal-filter-grid {
  display: grid;

  grid-template-columns:
    minmax(240px, 1.6fr)
    minmax(150px, .8fr)
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    minmax(150px, .8fr)
    minmax(150px, .8fr)
    auto;

  gap: 12px;

  align-items: end;
}


.jadwal-field label {
  display: block;

  margin-bottom: 7px;

  color: #577287;

  font-size: 10px;
  font-weight: 900;

  text-transform: uppercase;
}


.jadwal-field input,
.jadwal-field select,
.jadwal-field textarea {
  width: 100%;

  min-height: 42px;

  padding:
    8px 11px;

  color: #2f4f65;

  background: #ffffff;

  border:
    1px solid #d6e2ea;

  border-radius: 8px;

  outline: none;

  font-family: inherit;
  font-size: 11px;
}


.jadwal-field textarea {
  min-height: 90px;

  resize: vertical;

  line-height: 1.55;
}


.jadwal-field input:focus,
.jadwal-field select:focus,
.jadwal-field textarea:focus {
  border-color: #d04438;

  box-shadow:
    0 0 0 3px
    rgba(180, 35, 24, .09);
}


/* =====================================================
   ALERT
===================================================== */

.jadwal-alert {
  margin-bottom: 18px;

  padding: 12px 14px;

  border-radius: 9px;

  font-size: 11px;
  font-weight: 700;
}


.jadwal-alert.is-error {
  color: #a52a22;

  background: #fff5f4;

  border:
    1px solid #f0cac6;
}


.jadwal-alert.is-success {
  color: #146b48;

  background: #f0fbf6;

  border:
    1px solid #c7eada;
}


.jadwal-alert.is-info {
  color: #275f7f;

  background: #f0f8fd;

  border:
    1px solid #c7e1f0;
}


/* =====================================================
   LIST CARD
===================================================== */

.jadwal-list-card {
  overflow: hidden;

  background: #ffffff;

  border:
    1px solid #dfe8ef;

  border-radius: 13px;

  box-shadow:
    0 4px 18px
    rgba(21, 50, 71, .04);
}


.jadwal-list-header {
  display: flex;

  min-height: 78px;

  align-items: center;
  justify-content: space-between;

  gap: 16px;

  padding:
    17px 20px;

  border-bottom:
    1px solid #e8eff4;
}


.jadwal-list-header h2 {
  margin: 0;

  color: #24475f;

  font-size: 16px;
  font-weight: 900;
}


.jadwal-list-header p {
  margin:
    5px 0 0;

  color: #8193a1;

  font-size: 10px;
}


.jadwal-result-count {
  display: inline-flex;

  min-height: 30px;

  align-items: center;
  justify-content: center;

  padding:
    5px 10px;

  color: #b42318;

  background: #edf7fd;

  border-radius: 999px;

  font-size: 10px;
  font-weight: 900;

  white-space: nowrap;
}


/* =====================================================
   TABLE
===================================================== */

.jadwal-table-wrap {
  width: 100%;

  overflow-x: auto;
}


.jadwal-table {
  width: 100%;

  min-width: 1280px;

  border-collapse: collapse;
}


.jadwal-table th {
  padding:
    12px 13px;

  color: #687f90;

  background: #f7fafc;

  border-bottom:
    1px solid #e3ebf1;

  font-size: 9px;
  font-weight: 900;

  letter-spacing: .35px;

  text-align: left;

  text-transform: uppercase;

  white-space: nowrap;
}


.jadwal-table td {
  padding: 13px;

  color: #405e72;

  border-bottom:
    1px solid #edf2f5;

  font-size: 11px;

  vertical-align: middle;
}


.jadwal-table tbody tr:hover {
  background: #fbfdff;
}


.jadwal-table tbody tr:last-child td {
  border-bottom: 0;
}


.jadwal-table .is-number {
  width: 55px;

  text-align: center;
}


.jadwal-table .is-action {
  width: 165px;

  text-align: center;
}


.jadwal-main strong {
  display: block;

  color: #24475f;

  font-size: 11px;
  font-weight: 900;
}


.jadwal-main small {
  display: block;

  margin-top: 4px;

  color: #8ca0ae;

  font-size: 9px;
}


.jadwal-secondary {
  display: block;

  margin-top: 3px;

  color: #8ca0ae;

  font-size: 9px;
}


/* =====================================================
   BADGE
===================================================== */

.jadwal-badge {
  display: inline-flex;

  min-height: 25px;

  align-items: center;

  padding:
    4px 8px;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 900;

  white-space: nowrap;
}


.jadwal-badge.is-draft {
  color: #5f6b74;

  background: #edf1f4;
}


.jadwal-badge.is-scheduled {
  color: #9f2017;

  background: #eaf6fd;
}


.jadwal-badge.is-running {
  color: #8b5b00;

  background: #fff5d8;
}


.jadwal-badge.is-done {
  color: #18734d;

  background: #eaf9f2;
}


.jadwal-badge.is-cancelled {
  color: #a43b35;

  background: #fff0ef;
}


.jadwal-badge.is-online {
  color: #544bb3;

  background: #f0efff;
}


.jadwal-badge.is-offline {
  color: #8a5c09;

  background: #fff5df;
}


.jadwal-badge.is-hybrid {
  color: #315f7c;

  background: #edf7fb;
}


.jadwal-badge.is-other {
  color: #596d7c;

  background: #eef3f6;
}


/* =====================================================
   ACTION
===================================================== */

.jadwal-actions {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 5px;

  flex-wrap: wrap;
}


.jadwal-action-button {
  min-height: 29px;

  padding:
    5px 8px;

  font-family: inherit;
  font-size: 9px;
  font-weight: 900;

  background: #ffffff;

  border:
    1px solid #d8e3ea;

  border-radius: 6px;

  cursor: pointer;
}


.jadwal-action-button.is-detail {
  color: #b42318;
}


.jadwal-action-button.is-edit {
  color: #9a6700;
}


.jadwal-action-button.is-delete {
  color: #b23b35;
}


.jadwal-action-button:hover {
  background: #f5f9fc;
}


/* =====================================================
   EMPTY / LOADING
===================================================== */

.jadwal-table-message {
  padding:
    42px 20px !important;

  color: #8193a2 !important;

  text-align: center !important;
}


.jadwal-loading-wrap {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 9px;
}


.jadwal-spinner {
  width: 18px;
  height: 18px;

  border:
    2px solid #d9e8f1;

  border-top-color: #b42318;

  border-radius: 50%;

  animation:
    jadwalSpin .7s linear infinite;
}


@keyframes jadwalSpin {

  to {
    transform:
      rotate(360deg);
  }

}


/* =====================================================
   FOOTER / PAGINATION
===================================================== */

.jadwal-list-footer {
  display: flex;

  min-height: 64px;

  align-items: center;
  justify-content: space-between;

  gap: 14px;

  padding:
    12px 18px;

  color: #7c909f;

  background: #fbfcfd;

  border-top:
    1px solid #e5edf2;

  font-size: 10px;
}


.jadwal-pagination {
  display: flex;

  align-items: center;

  gap: 8px;
}


.jadwal-pagination-page {
  min-width: 100px;

  color: #547086;

  font-size: 10px;
  font-weight: 900;

  text-align: center;
}


/* =====================================================
   MODAL DASAR
===================================================== */

.jadwal-modal,
.jadwal-form-modal {
  position: fixed;

  inset: 0;

  z-index: 520;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;
}


.jadwal-modal.is-open,
.jadwal-form-modal.is-open {
  display: flex;
}


.jadwal-modal-backdrop,
.jadwal-form-backdrop {
  position: absolute;

  inset: 0;

  background:
    rgba(13, 37, 53, .58);

  backdrop-filter:
    blur(2px);
}


.jadwal-modal-dialog,
.jadwal-form-dialog {
  position: relative;

  z-index: 1;

  width:
    min(
      980px,
      100%
    );

  max-height: 92vh;

  overflow-y: auto;

  background: #ffffff;

  border-radius: 14px;

  box-shadow:
    0 20px 70px
    rgba(0, 0, 0, .20);
}


.jadwal-form-dialog {
  width:
    min(
      1120px,
      100%
    );
}


.jadwal-modal-header,
.jadwal-form-header {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 18px;

  padding:
    20px 22px;

  border-bottom:
    1px solid #e6edf2;
}


.jadwal-modal-eyebrow,
.jadwal-form-eyebrow {
  display: block;

  margin-bottom: 5px;

  color: #b42318;

  font-size: 9px;
  font-weight: 900;

  letter-spacing: 1px;
}


.jadwal-modal-header h2,
.jadwal-form-header h2 {
  margin: 0;

  color: #24475f;

  font-size: 20px;
}


.jadwal-modal-header p,
.jadwal-form-header p {
  margin:
    6px 0 0;

  color: #7a8e9c;

  font-size: 10px;
}


.jadwal-modal-close,
.jadwal-form-close {
  display: flex;

  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  align-items: center;
  justify-content: center;

  color: #647987;

  background: #f2f6f8;

  border: 0;

  border-radius: 8px;

  cursor: pointer;

  font-size: 20px;
}


/* =====================================================
   DETAIL
===================================================== */

.jadwal-detail-content {
  padding: 22px;
}


.jadwal-detail-section {
  margin-bottom: 20px;
}


.jadwal-detail-section:last-child {
  margin-bottom: 0;
}


.jadwal-detail-section h3 {
  margin:
    0 0 12px;

  color: #31566d;

  font-size: 12px;
  font-weight: 900;

  text-transform: uppercase;
}


.jadwal-detail-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;
}


.jadwal-detail-item {
  padding: 11px 12px;

  background: #f8fafc;

  border:
    1px solid #e7edf2;

  border-radius: 8px;
}


.jadwal-detail-item.is-full {
  grid-column:
    1 / -1;
}


.jadwal-detail-item span {
  display: block;

  margin-bottom: 5px;

  color: #8496a4;

  font-size: 9px;
  font-weight: 800;

  text-transform: uppercase;
}


.jadwal-detail-item strong {
  display: block;

  color: #31546a;

  font-size: 11px;

  line-height: 1.55;

  word-break: break-word;
}


/* =====================================================
   FORM
===================================================== */

.jadwal-form-body {
  padding:
    20px 22px;
}


.jadwal-form-section {
  margin-bottom: 20px;

  overflow: hidden;

  background: #ffffff;

  border:
    1px solid #e2ebf1;

  border-radius: 12px;
}


.jadwal-form-section:last-child {
  margin-bottom: 0;
}


.jadwal-form-section-heading {
  display: flex;

  align-items: center;

  gap: 12px;

  padding:
    14px 16px;

  background: #f8fbfd;

  border-bottom:
    1px solid #e5edf2;
}


.jadwal-form-section-number {
  display: flex;

  width: 31px;
  height: 31px;

  flex: 0 0 31px;

  align-items: center;
  justify-content: center;

  color: #ffffff;

  background: #b42318;

  border-radius: 8px;

  font-size: 10px;
  font-weight: 900;
}


.jadwal-form-section-heading h3 {
  margin: 0;

  color: #31566d;

  font-size: 12px;
  font-weight: 900;
}


.jadwal-form-section-heading p {
  margin:
    4px 0 0;

  color: #8093a0;

  font-size: 9px;
}


.jadwal-form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;

  padding: 16px;
}


.jadwal-form-field {
  min-width: 0;
}


.jadwal-form-field.is-full {
  grid-column:
    1 / -1;
}


.jadwal-form-field label {
  display: block;

  margin-bottom: 7px;

  color: #587286;

  font-size: 10px;
  font-weight: 900;

  text-transform: uppercase;
}


.jadwal-form-field label b {
  color: #d24a43;
}


.jadwal-form-field input,
.jadwal-form-field select,
.jadwal-form-field textarea {
  width: 100%;

  min-height: 42px;

  padding:
    9px 11px;

  color: #315268;

  background: #ffffff;

  border:
    1px solid #d6e2ea;

  border-radius: 8px;

  outline: none;

  font-family: inherit;
  font-size: 11px;
}


.jadwal-form-field textarea {
  min-height: 90px;

  resize: vertical;

  line-height: 1.55;
}


.jadwal-form-field input:focus,
.jadwal-form-field select:focus,
.jadwal-form-field textarea:focus {
  border-color: #d04438;

  box-shadow:
    0 0 0 3px
    rgba(180, 35, 24, .09);
}


.jadwal-form-help {
  display: block;

  margin-top: 6px;

  color: #8a9aa6;

  font-size: 9px;

  line-height: 1.45;
}


.jadwal-form-value {
  display: block;

  min-height: 42px;

  padding:
    10px 11px;

  color: #35566c;

  background: #f7fafc;

  border:
    1px solid #e2eaf0;

  border-radius: 8px;

  font-size: 11px;
  font-weight: 800;
}


/* =====================================================
   PESERTA PICKER
===================================================== */

.jadwal-participant-box {
  overflow: hidden;

  border:
    1px solid #dfe8ef;

  border-radius: 10px;
}


.jadwal-participant-toolbar {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  padding:
    12px;

  background: #f8fbfd;

  border-bottom:
    1px solid #e3ebf1;
}


.jadwal-participant-toolbar input {
  width: 100%;

  min-height: 38px;

  padding:
    8px 10px;

  color: #315268;

  background: #ffffff;

  border:
    1px solid #d6e2ea;

  border-radius: 7px;

  outline: none;

  font-family: inherit;
  font-size: 10px;
}


.jadwal-participant-count {
  flex: 0 0 auto;

  color: #b42318;

  font-size: 10px;
  font-weight: 900;

  white-space: nowrap;
}


.jadwal-participant-list {
  max-height: 310px;

  overflow-y: auto;
}


.jadwal-participant-item {
  display: grid;

  grid-template-columns:
    34px
    minmax(220px, 1.4fr)
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    minmax(160px, .8fr);

  gap: 8px;

  align-items: center;

  padding:
    11px 12px;

  border-bottom:
    1px solid #edf2f5;
}


.jadwal-participant-item:last-child {
  border-bottom: 0;
}


.jadwal-participant-item:hover {
  background: #fbfdff;
}


.jadwal-participant-name strong {
  display: block;

  color: #31546a;

  font-size: 10px;
  font-weight: 900;
}


.jadwal-participant-name small {
  display: block;

  margin-top: 3px;

  color: #8b9ba6;

  font-size: 9px;
}


.jadwal-participant-meta {
  color: #60798a;

  font-size: 9px;

  line-height: 1.4;
}


/* =====================================================
   FORM FOOTER
===================================================== */

.jadwal-form-footer {
  display: flex;

  align-items: center;
  justify-content: flex-end;

  gap: 8px;

  padding:
    15px 22px;

  background: #fbfcfd;

  border-top:
    1px solid #e5edf2;
}


.jadwal-save-button {
  min-width: 120px;
}


.jadwal-save-spinner {
  display: none;

  width: 14px;
  height: 14px;

  border:
    2px solid
    rgba(255, 255, 255, .4);

  border-top-color: #ffffff;

  border-radius: 50%;

  animation:
    jadwalSpin .7s linear infinite;
}


.jadwal-save-button.is-loading
.jadwal-save-spinner {
  display: inline-block;
}


.jadwal-save-button.is-loading
.jadwal-save-text {
  opacity: .85;
}


/* =====================================================
   DELETE CONFIRMATION
===================================================== */

.jadwal-delete-box {
  padding:
    26px 22px;

  text-align: center;
}


.jadwal-delete-icon {
  display: flex;

  width: 54px;
  height: 54px;

  align-items: center;
  justify-content: center;

  margin:
    0 auto 14px;

  color: #b43f38;

  background: #fff1f0;

  border-radius: 50%;

  font-size: 24px;
  font-weight: 900;
}


.jadwal-delete-box h3 {
  margin:
    0 0 8px;

  color: #31546a;

  font-size: 15px;
}


.jadwal-delete-box p {
  margin: 0;

  color: #7f919e;

  font-size: 10px;

  line-height: 1.6;
}


.jadwal-delete-actions {
  display: flex;

  justify-content: center;

  gap: 8px;

  margin-top: 18px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1380px) {

  .jadwal-summary-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }


  .jadwal-filter-grid {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }

}


@media (max-width: 1050px) {

  .jadwal-filter-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .jadwal-participant-item {
    grid-template-columns:
      34px
      minmax(220px, 1.4fr)
      minmax(170px, 1fr);
  }


  .jadwal-participant-item
  > :nth-child(4),
  .jadwal-participant-item
  > :nth-child(5) {
    display: none;
  }

}


@media (max-width: 800px) {

  .jadwal-hero {
    flex-direction: column;
  }


  .jadwal-hero-actions {
    width: 100%;

    justify-content: flex-start;
  }


  .jadwal-summary-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .jadwal-filter-grid {
    grid-template-columns: 1fr;
  }


  .jadwal-detail-grid {
    grid-template-columns: 1fr;
  }


  .jadwal-detail-item.is-full {
    grid-column: auto;
  }


  .jadwal-form-grid {
    grid-template-columns: 1fr;
  }


  .jadwal-form-field.is-full {
    grid-column: auto;
  }


  .jadwal-list-footer {
    align-items: stretch;

    flex-direction: column;
  }


  .jadwal-pagination {
    justify-content: space-between;
  }


  .jadwal-participant-toolbar {
    align-items: stretch;

    flex-direction: column;
  }


  .jadwal-participant-item {
    grid-template-columns:
      34px
      1fr;
  }


  .jadwal-participant-item
  > :nth-child(n+3) {
    display: none;
  }

}


@media (max-width: 520px) {

  .jadwal-summary-grid {
    grid-template-columns: 1fr;
  }


  .jadwal-hero-actions
  .jadwal-button {
    flex:
      1 1
      calc(50% - 8px);
  }


  .jadwal-form-modal,
  .jadwal-modal {
    padding: 10px;
  }


  .jadwal-form-body,
  .jadwal-detail-content {
    padding: 14px;
  }


  .jadwal-form-header,
  .jadwal-modal-header {
    padding:
      16px;
  }


  .jadwal-form-footer {
    padding:
      12px 14px;
  }

}

/* =====================================================
   JADWAL KEGIATAN V1.1.2
   MODAL TIDAK TERPOTONG + DROPDOWN ON-DEMAND
===================================================== */


/* =====================================================
   MODAL FORM
===================================================== */

.jadwal-form-modal {
  align-items: flex-start;
  justify-content: center;

  overflow: hidden;

  padding: 12px;
}


.jadwal-form-dialog {
  display: flex;

  width:
    min(
      1180px,
      calc(100vw - 24px)
    );

  max-height:
    calc(100dvh - 24px);

  flex-direction: column;

  overflow: hidden;

  background: #ffffff;

  border-radius: 14px;
}


.jadwal-form-header {
  flex: 0 0 auto;
}


.jadwal-form-dialog form {
  display: flex;

  min-height: 0;

  flex: 1 1 auto;
  flex-direction: column;
}


.jadwal-form-body {
  min-height: 0;

  flex: 1 1 auto;

  overflow-y: auto;
  overflow-x: hidden;

  padding:
    20px 22px;
}


.jadwal-form-footer {
  position: sticky;

  z-index: 30;

  bottom: 0;

  flex: 0 0 auto;

  background: #ffffff;

  box-shadow:
    0 -6px 16px
    rgba(21, 50, 71, .06);
}


/* Jangan memotong isi section / picker */
.jadwal-form-section,
.jadwal-form-grid,
.jadwal-form-field,
.jadwal-search-select {
  overflow: visible;
}


/* =====================================================
   FONT FORM
===================================================== */

.jadwal-form-header h2 {
  font-size: 23px;
}


.jadwal-form-header p {
  font-size: 12px;
}


.jadwal-form-section-heading h3 {
  font-size: 14px;
}


.jadwal-form-section-heading p {
  font-size: 11px;
}


.jadwal-form-field label {
  font-size: 11px;
}


.jadwal-form-field input,
.jadwal-form-field select,
.jadwal-form-field textarea {
  font-size: 13px;
}


.jadwal-form-value {
  font-size: 13px;
}


/* =====================================================
   SEARCHABLE DROPDOWN
   Default hidden.
   Muncul hanya saat JS membuka dropdown.
===================================================== */

.jadwal-search-select {
  position: relative;

  width: 100%;
}


.jadwal-search-select-wrap {
  position: relative;

  display: flex;

  width: 100%;

  align-items: center;
}


.jadwal-search-select-wrap input[type="search"],
.jadwal-search-select-wrap input[type="text"] {
  width: 100%;

  min-height: 44px;

  padding:
    9px 68px 9px 12px;

  color: #315268;

  background: #ffffff;

  border:
    1px solid #cfdde6;

  border-radius: 8px;

  outline: none;

  font-family: inherit;
  font-size: 13px;
}


.jadwal-search-select-wrap input[type="search"]:focus,
.jadwal-search-select-wrap input[type="text"]:focus {
  border-color: #d04438;

  box-shadow:
    0 0 0 3px
    rgba(180, 35, 24, .09);
}


.jadwal-search-clear,
.jadwal-search-toggle {
  position: absolute;

  top: 50%;

  display: flex;

  width: 29px;
  height: 29px;

  align-items: center;
  justify-content: center;

  padding: 0;

  color: #526f82;

  background: transparent;

  border: 0;

  border-radius: 6px;

  cursor: pointer;

  transform:
    translateY(-50%);

  font-family: inherit;
  font-weight: 900;
}


.jadwal-search-clear {
  right: 34px;

  font-size: 17px;
}


.jadwal-search-toggle {
  right: 4px;

  font-size: 12px;
}


.jadwal-search-clear:hover,
.jadwal-search-toggle:hover {
  color: #b42318;

  background: #eef7fc;
}


/*
 * Dropdown ikut alur form agar tidak terpotong
 * oleh area scroll modal.
 */
.jadwal-search-dropdown {
  position: relative;

  z-index: 40;

  width: 100%;

  max-height: 220px;

  margin-top: 4px;

  overflow-y: auto;
  overflow-x: hidden;

  background: #ffffff;

  border:
    1px solid #cfdde6;

  border-radius: 8px;

  box-shadow:
    0 8px 24px
    rgba(20, 52, 72, .12);
}


/* Ini aturan utama: default benar-benar tersembunyi. */
.jadwal-search-dropdown[hidden] {
  display: none !important;
}


/* Tidak ada aturan :not([hidden]) agar CSS tidak memaksa dropdown terbuka. */


.jadwal-search-option {
  display: block;

  width: 100%;

  min-height: 38px;

  padding:
    9px 11px;

  color: #31566d;

  background: #ffffff;

  border: 0;
  border-bottom:
    1px solid #edf2f5;

  cursor: pointer;

  font-family: inherit;
  font-size: 11px;

  line-height: 1.45;

  text-align: left;
}


.jadwal-search-option:last-child {
  border-bottom: 0;
}


.jadwal-search-option:hover {
  background: #f4f9fc;
}


.jadwal-search-option.is-selected {
  color: #9f2017;

  background: #eaf6fd;

  font-weight: 900;
}


.jadwal-search-dropdown.is-multi {
  padding: 4px;
}


.jadwal-search-dropdown.is-multi
.jadwal-picker-check {
  min-height: 38px;

  margin: 0;

  padding:
    8px 9px;

  border-bottom:
    1px solid #edf2f5;

  border-radius: 0;

  font-size: 11px;
}


.jadwal-search-dropdown.is-multi
.jadwal-picker-check:last-child {
  border-bottom: 0;
}


.jadwal-search-dropdown.is-multi
.jadwal-picker-check:hover,
.jadwal-search-dropdown.is-multi
.jadwal-picker-check.is-selected {
  background: #eaf6fd;
}


.jadwal-search-selected {
  min-height: 28px;

  padding-top: 7px;

  color: #587286;

  font-size: 11px;
}


.jadwal-search-selected.is-empty {
  color: #8a9ba7;

  font-style: italic;
}


.jadwal-search-empty {
  padding:
    14px 12px;

  color: #8597a4;

  font-size: 11px;

  text-align: center;
}


.jadwal-picker-tags {
  display: flex;

  gap: 6px;

  flex-wrap: wrap;
}


.jadwal-picker-tag {
  display: inline-flex;

  min-height: 26px;

  align-items: center;

  padding:
    4px 8px;

  color: #a5281e;

  background: #e8f5fc;

  border-radius: 999px;

  font-size: 10px;
  font-weight: 800;
}


/* =====================================================
   RESPONSIVE MODAL
===================================================== */

@media (max-width: 800px) {

  .jadwal-form-modal {
    padding: 8px;
  }


  .jadwal-form-dialog {
    width:
      calc(100vw - 16px);

    max-height:
      calc(100dvh - 16px);
  }


  .jadwal-form-body {
    padding: 14px;
  }


  .jadwal-form-footer {
    padding:
      12px 14px;
  }

}

/* =====================================================
   JADWAL KEGIATAN V1.1.3
   PENYEMPURNAAN TAMPILAN ASESOR & PERSONIL
===================================================== */


/* Container daftar multi pilihan */
.jadwal-search-dropdown.is-multi {
  padding: 4px;

  background: #ffffff;
}


/* Satu baris asesor / personil */
.jadwal-search-dropdown.is-multi
.jadwal-picker-check {
  display: flex;

  width: 100%;
  min-height: 42px;

  align-items: center;

  gap: 10px;

  margin: 0;

  padding:
    9px 12px;

  color: #35566c;

  background: #ffffff;

  border: 0;
  border-bottom:
    1px solid #edf2f5;

  border-radius: 0;

  cursor: pointer;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.4;

  text-transform: none;

  transition:
    background .15s ease,
    color .15s ease;
}


.jadwal-search-dropdown.is-multi
.jadwal-picker-check:last-child {
  border-bottom: 0;
}


.jadwal-search-dropdown.is-multi
.jadwal-picker-check:hover {
  color: #9f2017;

  background: #f4f9fc;
}


.jadwal-search-dropdown.is-multi
.jadwal-picker-check.is-selected {
  color: #9f2017;

  background: #eaf6fd;
}


/* Checkbox dibuat normal, tidak mengikuti width:100% input form */
.jadwal-search-dropdown.is-multi
.jadwal-picker-check input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;

  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;

  flex:
    0 0 17px;

  margin: 0 !important;
  padding: 0 !important;

  border: 0;

  border-radius: 3px;

  box-shadow: none;

  cursor: pointer;

  accent-color: #b42318;
}


/* Nama asesor / personil */
.jadwal-search-dropdown.is-multi
.jadwal-picker-check span {
  display: block;

  min-width: 0;

  flex: 1 1 auto;

  color: inherit;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.45;

  text-align: left;

  text-transform: none;

  overflow-wrap: anywhere;
}


/* Area hasil pilihan di bawah search */
.jadwal-search-selected {
  min-height: 0;

  padding:
    8px 0 0;

  background: transparent;

  border: 0;
}


.jadwal-search-selected.is-empty {
  padding-top: 7px;

  color: #8a9ba7;

  font-size: 11px;

  font-style: italic;
}


/* Tag asesor / personil terpilih */
.jadwal-picker-tags {
  display: flex;

  gap: 6px;

  flex-wrap: wrap;
}


.jadwal-picker-tag {
  display: inline-flex;

  min-height: 27px;

  align-items: center;

  padding:
    5px 9px;

  color: #9f2017;

  background: #e8f5fc;

  border:
    1px solid #cfe8f5;

  border-radius: 999px;

  font-size: 10px;
  font-weight: 800;

  line-height: 1.2;
}


/* Scrollbar dropdown dibuat lebih ringkas */
.jadwal-search-dropdown.is-multi::-webkit-scrollbar {
  width: 8px;
}


.jadwal-search-dropdown.is-multi::-webkit-scrollbar-track {
  background: #f3f7f9;
}


.jadwal-search-dropdown.is-multi::-webkit-scrollbar-thumb {
  background: #b8c9d4;

  border-radius: 999px;
}


.jadwal-search-dropdown.is-multi::-webkit-scrollbar-thumb:hover {
  background: #9fb5c3;
}

/* =====================================================
   JADWAL KEGIATAN V1.1.4
   TABEL TANPA SCROLL HORIZONTAL + FONT LEBIH BESAR
===================================================== */


/* =====================================================
   TABLE WRAPPER
===================================================== */

.jadwal-table-wrap {
  width: 100%;

  overflow-x: hidden;
  overflow-y: visible;
}


/* =====================================================
   TABLE
===================================================== */

.jadwal-table {
  width: 100%;

  min-width: 0;

  table-layout: fixed;

  border-collapse: collapse;
}


/*
 * Distribusi lebar 10 kolom.
 * Total = 100%.
 */
.jadwal-table th:nth-child(1),
.jadwal-table td:nth-child(1) {
  width: 4%;
}


.jadwal-table th:nth-child(2),
.jadwal-table td:nth-child(2) {
  width: 18%;
}


.jadwal-table th:nth-child(3),
.jadwal-table td:nth-child(3) {
  width: 14%;
}


.jadwal-table th:nth-child(4),
.jadwal-table td:nth-child(4) {
  width: 11%;
}


.jadwal-table th:nth-child(5),
.jadwal-table td:nth-child(5) {
  width: 10%;
}


.jadwal-table th:nth-child(6),
.jadwal-table td:nth-child(6) {
  width: 10%;
}


.jadwal-table th:nth-child(7),
.jadwal-table td:nth-child(7) {
  width: 8%;
}


.jadwal-table th:nth-child(8),
.jadwal-table td:nth-child(8) {
  width: 6%;
}


.jadwal-table th:nth-child(9),
.jadwal-table td:nth-child(9) {
  width: 9%;
}


.jadwal-table th:nth-child(10),
.jadwal-table td:nth-child(10) {
  width: 10%;
}


/* =====================================================
   HEADER TABLE
===================================================== */

.jadwal-table th {
  padding:
    12px 8px;

  color: #5d7688;

  background: #f7fafc;

  border-bottom:
    1px solid #e3ebf1;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: .15px;

  line-height: 1.35;

  text-align: left;

  text-transform: uppercase;

  white-space: normal;

  overflow-wrap: anywhere;
}


/* =====================================================
   BODY TABLE
===================================================== */

.jadwal-table td {
  padding:
    13px 8px;

  color: #405e72;

  border-bottom:
    1px solid #edf2f5;

  font-size: 12px;

  line-height: 1.45;

  vertical-align: middle;

  white-space: normal;

  overflow-wrap: anywhere;
  word-break: normal;
}


.jadwal-table tbody tr:hover {
  background: #fbfdff;
}


/* =====================================================
   KOLOM UTAMA
===================================================== */

.jadwal-main strong {
  display: block;

  color: #24475f;

  font-size: 12.5px;
  font-weight: 900;

  line-height: 1.4;

  white-space: normal;

  overflow-wrap: anywhere;
}


.jadwal-main small {
  display: block;

  margin-top: 4px;

  color: #8297a6;

  font-size: 10px;

  line-height: 1.4;

  white-space: normal;

  overflow-wrap: anywhere;
}


.jadwal-secondary {
  display: block;

  margin-top: 4px;

  color: #8297a6;

  font-size: 10px;

  line-height: 1.4;

  white-space: normal;

  overflow-wrap: anywhere;
}


/* =====================================================
   NUMBER / ACTION
===================================================== */

.jadwal-table .is-number {
  width: auto;

  text-align: center;
}


.jadwal-table .is-action {
  width: auto;

  text-align: center;
}


.jadwal-actions {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 4px;

  flex-wrap: wrap;
}


.jadwal-action-button {
  min-height: 30px;

  padding:
    5px 7px;

  font-size: 10px;

  white-space: nowrap;
}


/* =====================================================
   BADGE
===================================================== */

.jadwal-badge {
  min-height: 26px;

  max-width: 100%;

  padding:
    4px 7px;

  font-size: 9.5px;

  line-height: 1.2;

  text-align: center;

  white-space: normal;
}


/* =====================================================
   PESERTA
===================================================== */

.jadwal-table td:nth-child(8) strong {
  font-size: 12px;
}


.jadwal-table td:nth-child(8)
.jadwal-secondary {
  margin-top: 2px;
}


/* =====================================================
   RESPONSIVE TABLE
   Tetap tidak menggunakan horizontal scrollbar.
===================================================== */

@media (max-width: 1250px) {

  .jadwal-table th {
    padding:
      10px 6px;

    font-size: 9px;
  }


  .jadwal-table td {
    padding:
      11px 6px;

    font-size: 11px;
  }


  .jadwal-main strong {
    font-size: 11.5px;
  }


  .jadwal-main small,
  .jadwal-secondary {
    font-size: 9.5px;
  }


  .jadwal-action-button {
    padding:
      5px 6px;

    font-size: 9px;
  }

}


@media (max-width: 900px) {

  /*
   * Pada layar sempit tabel tetap satu layar.
   * Font diperkecil secukupnya agar tidak memunculkan
   * horizontal scrollbar.
   */
  .jadwal-table th {
    padding:
      8px 4px;

    font-size: 8px;
  }


  .jadwal-table td {
    padding:
      9px 4px;

    font-size: 10px;
  }


  .jadwal-main strong {
    font-size: 10.5px;
  }


  .jadwal-main small,
  .jadwal-secondary {
    font-size: 8.5px;
  }


  .jadwal-badge {
    padding:
      3px 5px;

    font-size: 8px;
  }


  .jadwal-action-button {
    min-height: 27px;

    padding:
      4px 5px;

    font-size: 8px;
  }

}

/* =====================================================
   JADWAL KEGIATAN V1.1.5
   FILTER RAPI + NOMOR ASESOR/PERSONIL
===================================================== */


/* =====================================================
   FILTER
===================================================== */

.jadwal-filter-card {
  overflow: hidden;
}


.jadwal-filter-grid {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 12px;

  align-items: end;
}


.jadwal-filter-grid > * {
  min-width: 0;
}


.jadwal-filter-grid
.jadwal-field {
  min-width: 0;
}


.jadwal-filter-grid
.jadwal-field input,
.jadwal-filter-grid
.jadwal-field select {
  width: 100%;
  max-width: 100%;

  min-width: 0;

  font-size: 12px;
}


#jadwalReset {
  width: 100%;
  min-height: 42px;
}


/* =====================================================
   NOMOR ASESOR / PERSONIL
===================================================== */

.jadwal-numbered-list {
  display: flex;

  flex-direction: column;

  gap: 4px;
}


.jadwal-numbered-item {
  display: grid;

  grid-template-columns:
    18px
    minmax(0, 1fr);

  gap: 4px;

  align-items: start;

  line-height: 1.35;
}


.jadwal-numbered-item > span {
  color: #8396a4;

  font-size: 10px;
  font-weight: 800;

  text-align: right;
}


.jadwal-numbered-item > strong {
  min-width: 0;

  color: #405e72;

  font-size: 11px;
  font-weight: 700;

  overflow-wrap: anywhere;
}


/* =====================================================
   RESPONSIVE FILTER
===================================================== */

@media (max-width: 1200px) {

  .jadwal-filter-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}


@media (max-width: 650px) {

  .jadwal-filter-grid {
    grid-template-columns:
      1fr;
  }

}

/* =====================================================
   JADWAL KEGIATAN V1.1.6
   PESERTA SEBAGAI MODAL TERPISAH
===================================================== */

.jadwal-participant-button {
  display: inline-flex;
  min-width: 62px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 5px 7px;
  color: #9f2017;
  background: #eef8fd;
  border: 1px solid #d3eaf6;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.jadwal-participant-button:hover {
  background: #dff2fc;
  border-color: #b8dff1;
}

.jadwal-participant-button strong {
  color: inherit;
  font-size: 13px;
  font-weight: 900;
}

.jadwal-participant-button span {
  color: #648296;
  font-size: 9px;
  font-weight: 700;
}

.jadwal-participant-modal {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.jadwal-participant-modal.is-open {
  display: flex;
}

.jadwal-participant-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 48, 61, .62);
  backdrop-filter: blur(2px);
}

.jadwal-participant-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1120px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 24px 65px rgba(20, 44, 60, .24);
}

.jadwal-participant-header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid #e6edf2;
}

.jadwal-participant-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #0872b1;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .8px;
}

.jadwal-participant-header h2 {
  margin: 0;
  color: #24475f;
  font-size: 22px;
}

.jadwal-participant-header p {
  margin: 5px 0 0;
  color: #7890a0;
  font-size: 11px;
}

.jadwal-participant-close {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  padding: 0;
  color: #688292;
  background: #f2f6f8;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-size: 22px;
}

.jadwal-participant-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 16px 22px;
  background: #fbfdfe;
  border-bottom: 1px solid #e8eef2;
}

.jadwal-participant-search label {
  display: block;
  margin-bottom: 6px;
  color: #526f82;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.jadwal-participant-search input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: #315268;
  background: #ffffff;
  border: 1px solid #cfdee7;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  font-size: 12px;
}

.jadwal-participant-search input:focus {
  border-color: #d04438;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .08);
}

.jadwal-participant-summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.jadwal-participant-summary span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  color: #607b8c;
  background: #ffffff;
  border: 1px solid #dce7ed;
  border-radius: 8px;
  font-size: 10px;
}

.jadwal-participant-summary b {
  color: #244f69;
  font-size: 13px;
}

.jadwal-participant-summary .is-selected {
  color: #086396;
  background: #eaf6fd;
  border-color: #c9e6f5;
}

.jadwal-participant-table-wrap {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
}

.jadwal-participant-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.jadwal-participant-table th {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 10px 9px;
  color: #61798a;
  background: #f7fafc;
  border-bottom: 1px solid #dfe9ef;
  font-size: 9px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

.jadwal-participant-table td {
  padding: 10px 9px;
  color: #405e72;
  border-bottom: 1px solid #edf2f5;
  font-size: 11px;
  line-height: 1.4;
  vertical-align: middle;
}

.jadwal-participant-table th:nth-child(1),
.jadwal-participant-table td:nth-child(1) {
  width: 7%;
  text-align: center;
}

.jadwal-participant-table th:nth-child(2),
.jadwal-participant-table td:nth-child(2) {
  width: 24%;
}

.jadwal-participant-table th:nth-child(3),
.jadwal-participant-table td:nth-child(3) {
  width: 16%;
}

.jadwal-participant-table th:nth-child(4),
.jadwal-participant-table td:nth-child(4) {
  width: 16%;
}

.jadwal-participant-table th:nth-child(5),
.jadwal-participant-table td:nth-child(5) {
  width: 22%;
}

.jadwal-participant-table th:nth-child(6),
.jadwal-participant-table td:nth-child(6) {
  width: 15%;
}

.jadwal-participant-table td strong {
  display: block;
  color: #294d64;
  font-size: 11.5px;
  font-weight: 800;
}

.jadwal-participant-table td small {
  display: block;
  margin-top: 3px;
  color: #8498a5;
  font-size: 9.5px;
  overflow-wrap: anywhere;
}

.jadwal-participant-table input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  margin: 0;
  accent-color: #0876b6;
}

.jadwal-participant-table tr.is-disabled {
  opacity: .58;
  background: #fafbfc;
}

.jadwal-participant-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.jadwal-participant-status.is-available {
  color: #1c7354;
  background: #e9f8f1;
}

.jadwal-participant-status.is-selected {
  color: #086396;
  background: #e7f5fd;
}

.jadwal-participant-status.is-other {
  color: #9a6a11;
  background: #fff5dc;
}

.jadwal-participant-message {
  padding: 28px 16px !important;
  color: #8295a2 !important;
  text-align: center;
}

.jadwal-participant-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: #ffffff;
  border-top: 1px solid #e6edf2;
}

.jadwal-participant-footer > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .jadwal-participant-toolbar {
    grid-template-columns: 1fr;
  }

  .jadwal-participant-summary {
    justify-content: flex-start;
  }

  .jadwal-participant-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .jadwal-participant-footer > div {
    width: 100%;
  }

  .jadwal-participant-footer .jadwal-button {
    flex: 1 1 auto;
  }
}

/* =====================================================
   JADWAL KEGIATAN V1.1.7
   BATALKAN JADWAL
===================================================== */


/* =====================================================
   ACTION BUTTON CANCEL
===================================================== */

.jadwal-action-button.is-cancel {
  color: #b33e37;

  border-color: #ebcfcc;
}


.jadwal-action-button.is-cancel:hover {
  color: #9d302a;

  background: #fff4f3;

  border-color: #dfb5b1;
}


/* =====================================================
   MODAL CANCEL
===================================================== */

.jadwal-cancel-modal {
  position: fixed;

  z-index: 2500;

  inset: 0;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 18px;
}


.jadwal-cancel-modal.is-open {
  display: flex;
}


.jadwal-cancel-backdrop {
  position: absolute;

  inset: 0;

  background:
    rgba(
      28,
      48,
      61,
      .62
    );

  backdrop-filter:
    blur(2px);
}


.jadwal-cancel-dialog {
  position: relative;

  z-index: 1;

  width:
    min(
      470px,
      calc(100vw - 36px)
    );

  padding:
    28px 26px;

  background: #ffffff;

  border-radius: 15px;

  box-shadow:
    0 24px 65px
    rgba(20, 44, 60, .25);

  text-align: center;
}


.jadwal-cancel-icon {
  display: flex;

  width: 58px;
  height: 58px;

  align-items: center;
  justify-content: center;

  margin:
    0 auto 15px;

  color: #b23b35;

  background: #fff0ef;

  border-radius: 50%;

  font-size: 27px;
  font-weight: 900;
}


.jadwal-cancel-dialog h2 {
  margin:
    0 0 8px;

  color: #2c5067;

  font-size: 20px;
  font-weight: 900;
}


.jadwal-cancel-dialog > p {
  margin:
    0;

  color: #657f90;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.55;
}


.jadwal-cancel-note {
  margin-top: 16px;

  padding:
    11px 12px;

  color: #7b6b48;

  background: #fff9eb;

  border:
    1px solid #eee0bd;

  border-radius: 8px;

  font-size: 10px;

  line-height: 1.55;

  text-align: left;
}


.jadwal-cancel-actions {
  display: flex;

  justify-content: center;

  gap: 8px;

  margin-top: 20px;
}


.jadwal-cancel-actions
.jadwal-button {
  min-width: 140px;
}


@media (max-width: 520px) {

  .jadwal-cancel-actions {
    flex-direction: column;
  }


  .jadwal-cancel-actions
  .jadwal-button {
    width: 100%;
  }

}

/* =====================================================
   JADWAL KEGIATAN - FINAL KONSISTENSI UI
   Samakan dengan Peserta / Skema / Asesor / Personil / Mitra
===================================================== */

.jadwal-page {
  color: #17384f;
}

/* -----------------------------------------------------
   FONT UMUM
----------------------------------------------------- */

.jadwal-button,
.jadwal-field input,
.jadwal-field select,
.jadwal-field textarea,
.jadwal-form-field input,
.jadwal-form-field select,
.jadwal-form-field textarea {
  font-size: 14px;
}

.jadwal-list-header h2 {
  font-size: 20px;
}

.jadwal-list-header p {
  font-size: 12px;
}

.jadwal-result-count {
  font-size: 11px;
}

.jadwal-summary-card span {
  font-size: 12px;
  font-weight: 700;
}

.jadwal-summary-card strong {
  font-size: 27px;
}

/* -----------------------------------------------------
   TABLE
   10 kolom tetap muat satu halaman desktop
----------------------------------------------------- */

.jadwal-table-wrap {
  overflow-x: hidden;
}

.jadwal-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

/* Nomor */
.jadwal-table th:nth-child(1),
.jadwal-table td:nth-child(1) {
  width: 4%;
}

/* Kegiatan */
.jadwal-table th:nth-child(2),
.jadwal-table td:nth-child(2) {
  width: 17%;
}

/* Skema */
.jadwal-table th:nth-child(3),
.jadwal-table td:nth-child(3) {
  width: 13%;
}

/* Tanggal */
.jadwal-table th:nth-child(4),
.jadwal-table td:nth-child(4) {
  width: 10%;
}

/* TUK / Mitra */
.jadwal-table th:nth-child(5),
.jadwal-table td:nth-child(5) {
  width: 10%;
}

/* Asesor */
.jadwal-table th:nth-child(6),
.jadwal-table td:nth-child(6) {
  width: 10%;
}

/* Personil */
.jadwal-table th:nth-child(7),
.jadwal-table td:nth-child(7) {
  width: 9%;
}

/* Peserta */
.jadwal-table th:nth-child(8),
.jadwal-table td:nth-child(8) {
  width: 7%;
}

/* Status */
.jadwal-table th:nth-child(9),
.jadwal-table td:nth-child(9) {
  width: 8%;
}

/* Aksi */
.jadwal-table th:nth-child(10),
.jadwal-table td:nth-child(10) {
  width: 12%;
}

.jadwal-table th {
  padding: 12px 8px;
  color: #728895;
  background: #f7fafc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: normal;
}

.jadwal-table td {
  padding: 13px 8px;
  color: #17384f;
  font-size: 14px;
  line-height: 1.45;
  vertical-align: middle;
}

.jadwal-main strong {
  color: #17384f;
  font-size: 14px;
  font-weight: 800;
}

.jadwal-main small,
.jadwal-secondary {
  color: #6a8190;
  font-size: 12px;
}

.jadwal-badge {
  min-height: 28px;
  padding: 5px 8px;
  font-size: 10.5px;
  font-weight: 800;
}

.jadwal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.jadwal-action-button {
  min-height: 32px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 700;
}

/* -----------------------------------------------------
   PAGINATION
   Samakan dengan halaman sebelumnya
----------------------------------------------------- */

.jadwal-list-footer {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: #6a8190;
  background: #fbfdff;
  border-top: 1px solid #e7eef3;
  font-size: 11px;
}

.jadwal-pagination {
  display: flex;
  align-items: center;
  gap: 9px;
}

.jadwal-pagination-page {
  min-width: 28px;
  width: auto;
  color: #17384f;
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.jadwal-pagination .jadwal-button {
  min-height: 32px;
  height: auto;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 750;
}

.jadwal-pagination .jadwal-button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* -----------------------------------------------------
   FILTER
----------------------------------------------------- */

.jadwal-filter-card {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 14px;
}

.jadwal-filter-grid {
  gap: 10px;
}

.jadwal-field label {
  font-size: 11px;
}

.jadwal-field input,
.jadwal-field select {
  min-height: 44px;
  border-radius: 10px;
}

/* -----------------------------------------------------
   CARD
----------------------------------------------------- */

.jadwal-list-card,
.jadwal-summary-card {
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}

/* -----------------------------------------------------
   RESPONSIVE
----------------------------------------------------- */

@media (max-width: 1250px) {
  .jadwal-table th {
    font-size: 10px;
    padding: 10px 5px;
  }

  .jadwal-table td {
    font-size: 12px;
    padding: 11px 5px;
  }

  .jadwal-main strong {
    font-size: 12px;
  }

  .jadwal-main small,
  .jadwal-secondary {
    font-size: 10px;
  }

  .jadwal-action-button {
    padding: 5px 6px;
    font-size: 9px;
  }
}

@media (max-width: 900px) {
  .jadwal-table-wrap {
    overflow-x: auto;
  }

  .jadwal-table {
    min-width: 980px;
  }

  .jadwal-list-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .jadwal-pagination {
    width: 100%;
    justify-content: space-between;
  }
}

/* =====================================================
   JADWAL KEGIATAN - FINAL PROPORSI KOLOM
   TUK/Mitra, Asesor, Personil, Status diperlebar
   Metode dan Peserta diperkecil
===================================================== */

.jadwal-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

/* No */
.jadwal-table th:nth-child(1),
.jadwal-table td:nth-child(1) {
  width: 4%;
}

/* ID Kegiatan / Skema */
.jadwal-table th:nth-child(2),
.jadwal-table td:nth-child(2) {
  width: 16%;
}

/* Tanggal / Jam */
.jadwal-table th:nth-child(3),
.jadwal-table td:nth-child(3) {
  width: 11%;
}

/* TUK / Mitra */
.jadwal-table th:nth-child(4),
.jadwal-table td:nth-child(4) {
  width: 10%;
}

/* Asesor */
.jadwal-table th:nth-child(5),
.jadwal-table td:nth-child(5) {
  width: 10%;
}

/* Personil */
.jadwal-table th:nth-child(6),
.jadwal-table td:nth-child(6) {
  width: 10%;
}

/* Metode */
.jadwal-table th:nth-child(7),
.jadwal-table td:nth-child(7) {
  width: 7%;
  text-align: center;
}

/* Peserta */
.jadwal-table th:nth-child(8),
.jadwal-table td:nth-child(8) {
  width: 7%;
  text-align: center;
}

/* Status */
.jadwal-table th:nth-child(9),
.jadwal-table td:nth-child(9) {
  width: 9%;
  text-align: center;
}

/* Aksi */
.jadwal-table th:nth-child(10),
.jadwal-table td:nth-child(10) {
  width: 16%;
}

.jadwal-table th:nth-child(10) {
  text-align: center;
}

.jadwal-actions {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1250px) {
  .jadwal-table {
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .jadwal-table {
    min-width: 980px;
  }
}

/* =====================================================
   JADWAL KEGIATAN - PENYESUAIAN AKHIR LEBAR KOLOM
===================================================== */

/* TUK / Mitra */
.jadwal-table th:nth-child(4),
.jadwal-table td:nth-child(4) {
  width: 11%;
}

/* Asesor */
.jadwal-table th:nth-child(5),
.jadwal-table td:nth-child(5) {
  width: 11%;
}

/* Personil */
.jadwal-table th:nth-child(6),
.jadwal-table td:nth-child(6) {
  width: 11%;
}

/* Aksi */
.jadwal-table th:nth-child(10),
.jadwal-table td:nth-child(10) {
  width: 13%;
}

/* =====================================================
   PESERTA KEGIATAN - 5 KOLOM & FONT LEBIH BESAR
   Pilih | Peserta | NIK | Kontak | Status
===================================================== */

.jadwal-participant-table {
  width: 100%;
  table-layout: fixed;
}

.jadwal-participant-table th:nth-child(1),
.jadwal-participant-table td:nth-child(1) {
  width: 6%;
  text-align: center;
}

.jadwal-participant-table th:nth-child(2),
.jadwal-participant-table td:nth-child(2) {
  width: 29%;
}

.jadwal-participant-table th:nth-child(3),
.jadwal-participant-table td:nth-child(3) {
  width: 20%;
}

.jadwal-participant-table th:nth-child(4),
.jadwal-participant-table td:nth-child(4) {
  width: 30%;
}

.jadwal-participant-table th:nth-child(5),
.jadwal-participant-table td:nth-child(5) {
  width: 15%;
}

.jadwal-participant-table th {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 800;
}

.jadwal-participant-table td {
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.jadwal-participant-table td strong {
  font-size: 14px;
  font-weight: 800;
}

.jadwal-participant-table td small {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.4;
}

.jadwal-participant-table .jadwal-badge {
  font-size: 11px;
}

#jadwalParticipantSearch {
  font-size: 14px;
}

/* =========================================================
   TAMBAHAN app.css — DATA SERTIFIKASI
   SISFO LSP Administrasi Perkantoran Merah Putih
   Tempelkan seluruh blok ini di PALING BAWAH /assets/css/app.css.
   Setelah itu sertifikasi.css tidak perlu dipanggil lagi.
   ========================================================= */

/* =========================================================
   DATA SERTIFIKASI
   SISFO LSP Administrasi Perkantoran Merah Putih
   Frontend MySQL
   ========================================================= */

.adm-sertifikasi-page {
    --sert-border: #e7eef3;
    --sert-border-strong: #dbe5eb;
    --sert-bg-soft: #f8fafc;
    --sert-bg-softer: #fbfdff;
    --sert-text: #17222b;
    --sert-muted: #667985;
    --sert-primary: #b42318;
    --sert-primary-dark: #8f1d14;
    --sert-success: #287a57;
    --sert-warning: #a66a12;
    --sert-danger: #b34444;

    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: var(--sert-text);
    box-sizing: border-box;
    overflow-x: clip;
}

.adm-sertifikasi-page *,
.adm-sertifikasi-page *::before,
.adm-sertifikasi-page *::after,
.adm-sertifikasi-modal *,
.adm-sertifikasi-modal *::before,
.adm-sertifikasi-modal *::after {
    box-sizing: border-box;
}

.adm-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.adm-sertifikasi-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.adm-sertifikasi-summary-card {
    min-width: 0;
    padding: 15px 16px;
    background: #fff;
    border: 1px solid var(--sert-border);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(20, 42, 55, .035);
}

.adm-sertifikasi-summary-card span {
    display: block;
    margin-bottom: 7px;
    color: var(--sert-muted);
    font-size: 11px;
    font-weight: 700;
}

.adm-sertifikasi-summary-card strong {
    display: block;
    color: var(--sert-text);
    font-size: 23px;
    line-height: 1.1;
    font-weight: 800;
}

.adm-sertifikasi-summary-card small {
    display: block;
    margin-top: 6px;
    color: #84939d;
    font-size: 10px;
    line-height: 1.4;
}

.adm-sertifikasi-summary-card.is-asesmen {
    border-top: 3px solid #4d8fab;
}

.adm-sertifikasi-summary-card.is-pleno {
    border-top: 3px solid #bd8a3c;
}

.adm-sertifikasi-summary-card.is-finished {
    border-top: 3px solid #4f8a68;
}

.adm-sertifikasi-summary-card.is-participant {
    border-top: 3px solid #6d79a5;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.adm-sertifikasi-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--sert-border);
    border-radius: 10px;
}

.adm-sertifikasi-toolbar-main {
    display: grid;
    grid-template-columns: minmax(210px, 1.15fr) minmax(0, 3fr);
    align-items: end;
    min-width: 0;
    gap: 8px;
}

.adm-sertifikasi-search {
    min-width: 0;
}

.adm-sertifikasi-filter-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(118px, 1fr));
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.adm-sertifikasi-toolbar input,
.adm-sertifikasi-toolbar select,
.adm-sertifikasi-field input,
.adm-sertifikasi-field select,
.adm-sertifikasi-assessor-candidate-filter input {
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
    color: var(--sert-text);
    background: #fff;
    border: 1px solid var(--sert-border-strong);
    border-radius: 7px;
    outline: none;
    font: inherit;
    font-size: 11px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.adm-sertifikasi-toolbar select {
    width: 100%;
    min-width: 0;
}

.adm-sertifikasi-toolbar input:focus,
.adm-sertifikasi-toolbar select:focus,
.adm-sertifikasi-field input:focus,
.adm-sertifikasi-field select:focus,
.adm-sertifikasi-assessor-candidate-filter input:focus {
    border-color: #86adbd;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .08);
}

.adm-sertifikasi-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}


/* =========================================================
   BUTTON
   ========================================================= */

.adm-sertifikasi-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}

.adm-sertifikasi-button.is-primary {
    color: #fff;
    background: var(--sert-primary);
    border-color: var(--sert-primary);
}

.adm-sertifikasi-button.is-primary:hover:not(:disabled) {
    background: var(--sert-primary-dark);
    border-color: var(--sert-primary-dark);
}

.adm-sertifikasi-button.is-secondary {
    color: #40535e;
    background: #fff;
    border-color: var(--sert-border-strong);
}

.adm-sertifikasi-button.is-secondary:hover:not(:disabled) {
    background: var(--sert-bg-soft);
}

.adm-sertifikasi-button.is-danger {
    color: #a13e3e;
    background: #fff;
    border-color: #edcccc;
}

.adm-sertifikasi-button:disabled {
    cursor: not-allowed;
    opacity: .55;
}


/* =========================================================
   ALERT
   ========================================================= */

.adm-sertifikasi-alert,
.adm-sertifikasi-form-alert {
    margin: 0 0 14px;
    padding: 10px 12px;
    color: #7d4b16;
    background: #fff9ec;
    border: 1px solid #f0ddb8;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.5;
}

.adm-sertifikasi-alert.is-error,
.adm-sertifikasi-form-alert.is-error {
    color: #8e3838;
    background: #fff5f5;
    border-color: #efcccc;
}

.adm-sertifikasi-alert.is-success,
.adm-sertifikasi-form-alert.is-success {
    color: #286346;
    background: #f3fbf6;
    border-color: #cde7d6;
}


/* =========================================================
   MAIN TABLE
   ========================================================= */

.adm-sertifikasi-table-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sert-border);
    border-radius: 10px;
}

.adm-sertifikasi-table-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--sert-border);
}

.adm-sertifikasi-table-heading h2 {
    margin: 0;
    color: var(--sert-text);
    font-size: 13px;
    line-height: 1.3;
}

.adm-sertifikasi-table-heading p {
    margin: 4px 0 0;
    color: var(--sert-muted);
    font-size: 10px;
}

.adm-sertifikasi-table-heading-action {
    flex: 0 0 auto;
}

.adm-sertifikasi-table-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
}

.adm-sertifikasi-table {
    width: 100%;
    min-width: 980px;
}

.adm-sertifikasi-table-header,
.adm-sertifikasi-row {
    display: grid;
    grid-template-columns:
        42px
        minmax(120px, .95fr)
        minmax(150px, 1.25fr)
        minmax(105px, .85fr)
        minmax(105px, .85fr)
        minmax(90px, .72fr)
        minmax(92px, .72fr)
        minmax(158px, 1.05fr);
    gap: 10px;
    align-items: center;
}

.adm-sertifikasi-table-header {
    min-height: 38px;
    padding: 8px 14px;
    color: #647681;
    background: var(--sert-bg-soft);
    border-bottom: 1px solid var(--sert-border);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.adm-sertifikasi-row {
    min-height: 54px;
    padding: 9px 14px;
    border-bottom: 1px solid #edf2f5;
    font-size: 11px;
}

.adm-sertifikasi-row:last-child {
    border-bottom: 0;
}

.adm-sertifikasi-row:hover {
    background: #fcfefe;
}

.adm-sertifikasi-row > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.adm-sertifikasi-row-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.adm-sertifikasi-action-button {
    min-height: 29px;
    padding: 5px 8px;
    color: #425761;
    background: #fff;
    border: 1px solid var(--sert-border-strong);
    border-radius: 6px;
    cursor: pointer;
    font-size: 9px;
    font-weight: 700;
}

.adm-sertifikasi-action-button:hover {
    background: var(--sert-bg-soft);
}

.adm-sertifikasi-action-button.is-primary {
    color: var(--sert-primary);
    border-color: #bdd5df;
}


/* =========================================================
   STATUS BADGE
   ========================================================= */

.adm-sertifikasi-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .01em;
}

.adm-sertifikasi-status.is-asesmen {
    color: #28647b;
    background: #edf7fb;
}

.adm-sertifikasi-status.is-pleno {
    color: #875b18;
    background: #fff7e9;
}

.adm-sertifikasi-status.is-selesai {
    color: #286346;
    background: #eef8f2;
}


/* =========================================================
   LOADING / EMPTY
   ========================================================= */

.adm-sertifikasi-loading {
    padding: 14px;
}

.adm-sertifikasi-skeleton {
    height: 42px;
    margin-bottom: 8px;
    border-radius: 7px;
    background: linear-gradient(
        90deg,
        #f3f6f8 25%,
        #fafcfd 37%,
        #f3f6f8 63%
    );
    background-size: 400% 100%;
    animation: admSertifikasiSkeleton 1.25s ease infinite;
}

.adm-sertifikasi-skeleton:last-child {
    margin-bottom: 0;
}

@keyframes admSertifikasiSkeleton {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

.adm-sertifikasi-empty,
.adm-sertifikasi-detail-empty {
    padding: 30px 18px;
    text-align: center;
    color: var(--sert-muted);
}

.adm-sertifikasi-empty strong {
    display: block;
    margin-bottom: 5px;
    color: #40535e;
    font-size: 12px;
}

.adm-sertifikasi-empty span {
    display: block;
    font-size: 10px;
    line-height: 1.5;
}

.adm-sertifikasi-empty.is-compact {
    padding: 20px 14px;
}


/* =========================================================
   PAGINATION — POLA MITRA
   ========================================================= */

.adm-sertifikasi-pagination-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 57px;
    padding: 12px 14px;
    color: #667985;
    background: #fbfdff;
    border-top: 1px solid #e7eef3;
    font-size: 11px;
}

.adm-sertifikasi-pagination-info {
    min-width: 0;
    font-size: 11px;
}

.adm-sertifikasi-pagination-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.adm-sertifikasi-pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 10px;
    color: #40535e;
    background: #fff;
    border: 1px solid #dbe5eb;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
}

.adm-sertifikasi-pagination-button:hover:not(:disabled) {
    background: #f7fafc;
}

.adm-sertifikasi-pagination-button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.adm-sertifikasi-pagination-current {
    min-width: 16px;
    color: #263943;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}


/* =========================================================
   MODAL
   ========================================================= */

.adm-sertifikasi-modal[hidden] {
    display: none !important;
}

.adm-sertifikasi-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.adm-sertifikasi-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 31, 38, .46);
}

.adm-sertifikasi-modal-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(760px, 100%);
    max-height: calc(100vh - 44px);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sert-border);
    border-radius: 12px;
    box-shadow: 0 22px 60px rgba(15, 31, 40, .18);
}

.adm-sertifikasi-modal-dialog.is-large {
    width: min(1180px, 100%);
}

.adm-sertifikasi-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--sert-border);
}

.adm-sertifikasi-modal-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--sert-primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
}

.adm-sertifikasi-modal-header h2 {
    margin: 0;
    color: var(--sert-text);
    font-size: 16px;
}

.adm-sertifikasi-modal-header p {
    margin: 5px 0 0;
    color: var(--sert-muted);
    font-size: 10px;
    line-height: 1.5;
}

.adm-sertifikasi-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    padding: 0;
    color: #61747f;
    background: #fff;
    border: 1px solid var(--sert-border);
    border-radius: 7px;
    cursor: pointer;
    font-size: 19px;
    line-height: 1;
}

.adm-sertifikasi-detail-content,
.adm-sertifikasi-merge-content,
.adm-sertifikasi-form {
    min-height: 0;
    overflow: auto;
}


/* =========================================================
   DETAIL
   ========================================================= */

.adm-sertifikasi-detail-content {
    padding: 14px 18px 18px;
}

.adm-sertifikasi-detail-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--sert-border);
    border-radius: 8px;
}

.adm-sertifikasi-detail-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.adm-sertifikasi-detail-table th,
.adm-sertifikasi-detail-table td {
    padding: 9px 10px;
    border-bottom: 1px solid #edf2f5;
    text-align: left;
    vertical-align: top;
    font-size: 10px;
}

.adm-sertifikasi-detail-table th {
    color: #637580;
    background: var(--sert-bg-soft);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.adm-sertifikasi-detail-table tbody tr:last-child td {
    border-bottom: 0;
}

.adm-sertifikasi-detail-table .is-no {
    width: 48px;
}

.adm-sertifikasi-detail-table .is-participant {
    min-width: 155px;
}

.adm-sertifikasi-detail-table .is-scheme {
    min-width: 180px;
}

.adm-sertifikasi-detail-table .is-partner {
    min-width: 150px;
}

.adm-sertifikasi-detail-table .is-assessor {
    min-width: 145px;
}

.adm-sertifikasi-detail-table .is-date {
    min-width: 110px;
}

.adm-sertifikasi-detail-table .is-result {
    min-width: 92px;
}


/* =========================================================
   MERGE
   ========================================================= */

.adm-sertifikasi-merge-content {
    padding: 16px 18px;
}

.adm-sertifikasi-merge-note {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 14px;
    padding: 10px 12px;
    color: #526772;
    background: #f7fbfd;
    border: 1px solid #dbeaf0;
    border-radius: 8px;
    font-size: 10px;
    line-height: 1.5;
}

.adm-sertifikasi-merge-note strong {
    color: #2f596a;
    font-size: 11px;
}

.adm-sertifikasi-field {
    min-width: 0;
}

.adm-sertifikasi-field label {
    display: block;
    margin-bottom: 5px;
    color: #50636e;
    font-size: 10px;
    font-weight: 700;
}

.adm-sertifikasi-merge-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.adm-sertifikasi-merge-summary > div {
    padding: 10px 12px;
    background: var(--sert-bg-soft);
    border: 1px solid var(--sert-border);
    border-radius: 8px;
}

.adm-sertifikasi-merge-summary span {
    display: block;
    margin-bottom: 3px;
    color: var(--sert-muted);
    font-size: 9px;
}

.adm-sertifikasi-merge-summary strong {
    color: var(--sert-text);
    font-size: 15px;
}

.adm-sertifikasi-merge-list-wrap {
    overflow-x: auto;
    border: 1px solid var(--sert-border);
    border-radius: 8px;
}

.adm-sertifikasi-merge-list-header,
.adm-sertifikasi-merge-row {
    display: grid;
    grid-template-columns:
        50px
        minmax(130px, 1fr)
        minmax(160px, 1.25fr)
        minmax(110px, .8fr)
        75px
        90px
        70px;
    gap: 10px;
    align-items: center;
    min-width: 900px;
}

.adm-sertifikasi-merge-list-header {
    min-height: 38px;
    padding: 8px 12px;
    color: #637580;
    background: var(--sert-bg-soft);
    border-bottom: 1px solid var(--sert-border);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.adm-sertifikasi-merge-row {
    min-height: 48px;
    padding: 8px 12px;
    border-bottom: 1px solid #edf2f5;
    font-size: 10px;
}

.adm-sertifikasi-merge-row:last-child {
    border-bottom: 0;
}

.adm-sertifikasi-merge-row.is-selected {
    background: #f8fcfd;
}

.adm-sertifikasi-merge-list-header .is-check,
.adm-sertifikasi-merge-row .is-check {
    text-align: center;
}

.adm-sertifikasi-merge-target-info {
    margin-top: 12px;
    padding: 11px 12px;
    background: #fbfdff;
    border: 1px solid var(--sert-border);
    border-radius: 8px;
}

.adm-sertifikasi-merge-target-info span,
.adm-sertifikasi-merge-target-info small {
    display: block;
}

.adm-sertifikasi-merge-target-info span {
    color: var(--sert-muted);
    font-size: 9px;
}

.adm-sertifikasi-merge-target-info strong {
    display: block;
    margin: 3px 0;
    color: var(--sert-text);
    font-size: 12px;
}

.adm-sertifikasi-merge-target-info small {
    color: #7a8b95;
    font-size: 9px;
    line-height: 1.5;
}


/* =========================================================
   FORM EDIT
   ========================================================= */

.adm-sertifikasi-form {
    padding: 0;
}

.adm-sertifikasi-form-section {
    padding: 17px 18px;
    border-bottom: 1px solid var(--sert-border);
}

.adm-sertifikasi-form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.adm-sertifikasi-form-section-heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    color: var(--sert-primary);
    background: #edf7fa;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 800;
}

.adm-sertifikasi-form-section-heading h3 {
    margin: 0;
    color: var(--sert-text);
    font-size: 13px;
}

.adm-sertifikasi-form-section-heading p {
    margin: 4px 0 0;
    color: var(--sert-muted);
    font-size: 10px;
    line-height: 1.5;
}

.adm-sertifikasi-assignment-block {
    margin-top: 12px;
    padding: 13px;
    background: #fff;
    border: 1px solid var(--sert-border);
    border-radius: 9px;
}

.adm-sertifikasi-assignment-block-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.adm-sertifikasi-assignment-block-heading h4 {
    margin: 0;
    color: #344953;
    font-size: 11px;
}

.adm-sertifikasi-assignment-block-heading h4 small {
    color: #81919a;
    font-size: 9px;
    font-weight: 600;
}

.adm-sertifikasi-assignment-block-heading p {
    margin: 4px 0 0;
    color: #778993;
    font-size: 9px;
    line-height: 1.45;
}

.adm-sertifikasi-admin-picker,
.adm-sertifikasi-assessor-picker {
    max-width: 520px;
}

.adm-sertifikasi-admin-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px;
}

.adm-sertifikasi-admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 8px;
    color: #3e5864;
    background: #f6fafb;
    border: 1px solid #dce9ee;
    border-radius: 7px;
    font-size: 9px;
}

.adm-sertifikasi-admin-chip button {
    padding: 0;
    color: #8d4b4b;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 13px;
}


/* =========================================================
   SEARCHABLE SELECT
   ========================================================= */

.adm-sertifikasi-searchable-select {
    position: relative;
}

.adm-sertifikasi-searchable-select > input[type="search"] {
    padding-right: 38px;
}

.adm-sertifikasi-searchable-toggle {
    position: absolute;
    top: 3px;
    right: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #647782;
    background: transparent;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}

.adm-sertifikasi-searchable-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 230px;
    overflow-y: auto;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--sert-border-strong);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(25, 44, 54, .12);
}

.adm-sertifikasi-searchable-option {
    display: block;
    width: 100%;
    padding: 8px 9px;
    color: #40535e;
    background: #fff;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    font: inherit;
    font-size: 10px;
}

.adm-sertifikasi-searchable-option:hover {
    background: var(--sert-bg-soft);
}

.adm-sertifikasi-searchable-option strong,
.adm-sertifikasi-searchable-option small {
    display: block;
}

.adm-sertifikasi-searchable-option small {
    margin-top: 2px;
    color: #80909a;
    font-size: 9px;
}

.adm-sertifikasi-searchable-portal {
    position: fixed;
    inset: 0;
    z-index: 10100;
    pointer-events: none;
}


/* =========================================================
   CANDIDATE PESERTA
   ========================================================= */

.adm-sertifikasi-assessor-participant-panel {
    margin-top: 11px;
    padding: 11px;
    background: var(--sert-bg-softer);
    border: 1px solid var(--sert-border);
    border-radius: 8px;
}

.adm-sertifikasi-assessor-participant-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}

.adm-sertifikasi-assessor-participant-heading strong,
.adm-sertifikasi-assessor-participant-heading span {
    display: block;
}

.adm-sertifikasi-assessor-participant-heading strong {
    color: #344953;
    font-size: 10px;
}

.adm-sertifikasi-assessor-participant-heading span {
    margin-top: 2px;
    color: #7b8d96;
    font-size: 9px;
}

.adm-sertifikasi-assignment-count {
    color: var(--sert-primary) !important;
    font-size: 10px !important;
    white-space: nowrap;
}

.adm-sertifikasi-assessor-candidate-filter {
    margin-bottom: 9px;
}

.adm-sertifikasi-assessor-candidate-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--sert-border);
    border-radius: 7px;
}

.adm-sertifikasi-assessor-candidate-header,
.adm-sertifikasi-assessor-candidate-row {
    display: grid;
    grid-template-columns:
        42px
        minmax(170px, 1.2fr)
        minmax(190px, 1.3fr)
        minmax(160px, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 720px;
}

.adm-sertifikasi-assessor-candidate-header {
    min-height: 35px;
    padding: 7px 10px;
    color: #657782;
    background: var(--sert-bg-soft);
    border-bottom: 1px solid var(--sert-border);
    font-size: 9px;
    font-weight: 800;
}

.adm-sertifikasi-assessor-candidate-row {
    min-height: 42px;
    padding: 7px 10px;
    border-bottom: 1px solid #edf2f5;
    font-size: 10px;
}

.adm-sertifikasi-assessor-candidate-row:last-child {
    border-bottom: 0;
}

.adm-sertifikasi-assessor-assignment-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 9px;
}


/* =========================================================
   ASSIGNMENT RESULT
   ========================================================= */

.adm-sertifikasi-assignment-list {
    display: grid;
    gap: 10px;
}

.adm-sertifikasi-assignment-group {
    overflow: hidden;
    border: 1px solid var(--sert-border);
    border-radius: 8px;
}

.adm-sertifikasi-assignment-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    background: var(--sert-bg-soft);
    border-bottom: 1px solid var(--sert-border);
}

.adm-sertifikasi-assignment-group-header strong {
    color: #344953;
    font-size: 10px;
}

.adm-sertifikasi-assignment-group-header small {
    display: block;
    margin-top: 2px;
    color: #7d8e97;
    font-size: 9px;
}

.adm-sertifikasi-assignment-table-wrap {
    overflow-x: auto;
}

.adm-sertifikasi-assignment-table {
    width: 100%;
    min-width: 1080px;
    border-collapse: collapse;
}

.adm-sertifikasi-assignment-table th,
.adm-sertifikasi-assignment-table td {
    padding: 7px 8px;
    border-bottom: 1px solid #edf2f5;
    vertical-align: middle;
    text-align: left;
    font-size: 9px;
}

.adm-sertifikasi-assignment-table th {
    color: #667985;
    background: #fff;
    font-size: 8px;
    font-weight: 800;
}

.adm-sertifikasi-assignment-table tbody tr:last-child td {
    border-bottom: 0;
}

.adm-sertifikasi-assignment-table input,
.adm-sertifikasi-assignment-table select {
    width: 100%;
    min-height: 31px;
    padding: 5px 7px;
    color: #3e515b;
    background: #fff;
    border: 1px solid var(--sert-border-strong);
    border-radius: 6px;
    font: inherit;
    font-size: 9px;
}


/* =========================================================
   PLENO
   ========================================================= */

.adm-sertifikasi-pleno-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
    gap: 16px;
}

.adm-sertifikasi-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.adm-sertifikasi-pleno-note {
    margin-top: 10px;
    padding: 10px 11px;
    background: #f8fbfc;
    border: 1px solid var(--sert-border);
    border-radius: 7px;
}

.adm-sertifikasi-pleno-note strong,
.adm-sertifikasi-pleno-note span {
    display: block;
}

.adm-sertifikasi-pleno-note strong {
    color: #405761;
    font-size: 9px;
}

.adm-sertifikasi-pleno-note span {
    margin-top: 3px;
    color: #7a8c95;
    font-size: 9px;
    line-height: 1.45;
}

.adm-sertifikasi-multiselect-list {
    max-height: 230px;
    overflow-y: auto;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--sert-border);
    border-radius: 7px;
}

.adm-sertifikasi-multiselect-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.adm-sertifikasi-multiselect-item:hover {
    background: var(--sert-bg-soft);
}

.adm-sertifikasi-multiselect-item strong,
.adm-sertifikasi-multiselect-item small {
    display: block;
}

.adm-sertifikasi-multiselect-item strong {
    color: #40535e;
    font-size: 9px;
}

.adm-sertifikasi-multiselect-item small {
    margin-top: 2px;
    color: #80909a;
    font-size: 8px;
}


/* =========================================================
   FORM FOOTER / SPINNER
   ========================================================= */

.adm-sertifikasi-form-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 18px;
    background: #fbfdff;
    border-top: 1px solid var(--sert-border);
}

.adm-sertifikasi-save-spinner {
    display: none;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: admSertifikasiSpin .75s linear infinite;
}

[aria-busy="true"] .adm-sertifikasi-save-spinner {
    display: inline-block;
}

@keyframes admSertifikasiSpin {
    to { transform: rotate(360deg); }
}



/* =========================================================
   INTEGRASI DENGAN LAYOUT GLOBAL SISFO
   Mencegah scrollbar horizontal seluruh halaman.
   Tabel tetap boleh scroll di dalam kartu tabelnya sendiri.
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

#sisfoApp,
#pageContent {
    min-width: 0;
    max-width: 100%;
}

#pageContent {
    overflow-x: clip;
}

#pageContent > .adm-sertifikasi-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.adm-sertifikasi-summary-grid,
.adm-sertifikasi-toolbar,
.adm-sertifikasi-table-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}


/* =========================================================
   POLISH DESKTOP
   ========================================================= */

.adm-sertifikasi-summary-card {
    min-height: 104px;
    padding: 14px 15px;
}

.adm-sertifikasi-summary-card strong {
    font-size: 22px;
}

.adm-sertifikasi-toolbar-actions {
    align-self: stretch;
    justify-content: flex-end;
}

.adm-sertifikasi-toolbar-actions .adm-sertifikasi-button {
    min-height: 36px;
}

.adm-sertifikasi-table-heading {
    padding: 13px 14px;
}

.adm-sertifikasi-row {
    min-height: 52px;
}

.adm-sertifikasi-row-actions {
    flex-wrap: nowrap;
}

.adm-sertifikasi-action-button {
    min-height: 30px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {

    .adm-sertifikasi-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .adm-sertifikasi-toolbar {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .adm-sertifikasi-toolbar-main {
        grid-template-columns: minmax(190px, .9fr) minmax(0, 2.5fr);
    }

    .adm-sertifikasi-toolbar-actions {
        justify-content: flex-end;
    }
}

@media (max-width: 820px) {

    .adm-sertifikasi-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adm-sertifikasi-filter-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adm-sertifikasi-table-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .adm-sertifikasi-pleno-layout {
        grid-template-columns: 1fr;
    }

    .adm-sertifikasi-modal {
        padding: 10px;
    }

    .adm-sertifikasi-modal-dialog,
    .adm-sertifikasi-modal-dialog.is-large {
        max-height: calc(100vh - 20px);
    }
}

@media (max-width: 560px) {

    .adm-sertifikasi-summary-grid {
        grid-template-columns: 1fr;
    }

    .adm-sertifikasi-filter-group {
        grid-template-columns: 1fr;
    }

    .adm-sertifikasi-toolbar-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adm-sertifikasi-toolbar-actions .adm-sertifikasi-button {
        width: 100%;
    }

    .adm-sertifikasi-pagination-slot {
        align-items: stretch;
        flex-direction: column;
    }

    .adm-sertifikasi-pagination-actions {
        justify-content: space-between;
    }

    .adm-sertifikasi-form-grid {
        grid-template-columns: 1fr;
    }

    .adm-sertifikasi-assignment-block-heading,
    .adm-sertifikasi-assessor-participant-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .adm-sertifikasi-form-footer {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .adm-sertifikasi-form-footer .adm-sertifikasi-button {
        width: 100%;
    }
}

/* =========================================================
   POLISH MODAL EDIT SERTIFIKASI
   Hanya tampilan — tidak mengubah alur / fungsi
   ========================================================= */

/* Dialog edit dibuat lebih proporsional dan mudah dipindai */
#adm-sertifikasi-edit-modal .adm-sertifikasi-modal-dialog.is-large {
    width: min(1120px, calc(100vw - 48px));
    max-height: min(88vh, 820px);
    border-radius: 14px;
    overflow: hidden;
}

/* Header tetap terlihat saat isi modal discroll */
#adm-sertifikasi-edit-modal .adm-sertifikasi-modal-header {
    position: sticky;
    top: 0;
    z-index: 8;
    padding: 16px 20px 14px;
    background: #ffffff;
    border-bottom: 1px solid #e7eef3;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-modal-eyebrow {
    margin-bottom: 4px;
    font-size: 9px;
    letter-spacing: .08em;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-modal-header h2 {
    font-size: 17px;
    line-height: 1.2;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-modal-header p {
    max-width: 720px;
    margin-top: 5px;
    font-size: 10px;
}

/* Form punya background lembut agar section terbaca jelas */
#adm-sertifikasi-edit-modal .adm-sertifikasi-form {
    background: #f7fafc;
}

/* Section utama menjadi card */
#adm-sertifikasi-edit-modal .adm-sertifikasi-form-section {
    margin: 14px 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5edf2;
    border-radius: 11px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-form-section + .adm-sertifikasi-form-section {
    margin-top: 12px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-form-section-heading {
    margin-bottom: 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid #edf2f5;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-form-section-heading > span {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-form-section-heading h3 {
    font-size: 12px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-form-section-heading p {
    margin-top: 3px;
    font-size: 9px;
}

/* Blok Admin / Asesor / Hasil dibuat jelas terpisah */
#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-block {
    margin-top: 10px;
    padding: 12px 13px;
    background: #fbfdff;
    border: 1px solid #e4edf2;
    border-radius: 9px;
    box-shadow: none;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-block.is-admin {
    border-left: 3px solid #88aebd;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-block.is-assessor {
    border-left: 3px solid #5f99b0;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-block.is-result {
    border-left: 3px solid #7d8fa6;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-block-heading {
    align-items: center;
    margin-bottom: 10px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-block-heading h4 {
    font-size: 11px;
    font-weight: 800;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-block-heading p {
    max-width: 720px;
    margin-top: 3px;
    font-size: 9px;
}

/* Tombol admin tidak terlalu jauh dari konteks */
#adm-sertifikasi-edit-modal #adm-sertifikasi-add-admin {
    min-height: 31px;
    padding: 6px 10px;
}

/* Picker admin dan asesor dibuat full dan rapi */
#adm-sertifikasi-edit-modal .adm-sertifikasi-admin-picker,
#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-picker {
    width: 100%;
    max-width: none;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-admin-picker .adm-sertifikasi-field,
#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-picker .adm-sertifikasi-field {
    max-width: 560px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-field label {
    margin-bottom: 5px;
    font-size: 9px;
    font-weight: 800;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-field input,
#adm-sertifikasi-edit-modal .adm-sertifikasi-field select {
    min-height: 34px;
    font-size: 10px;
}

/* Daftar Admin */
#adm-sertifikasi-edit-modal .adm-sertifikasi-admin-list:empty {
    display: none;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-admin-list {
    margin-top: 10px;
}

/* Panel pemilihan peserta asesor */
#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-participant-panel {
    margin-top: 12px;
    padding: 12px;
    background: #ffffff;
    border-color: #dfeaf0;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-participant-heading {
    padding-bottom: 8px;
    border-bottom: 1px solid #edf2f5;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-candidate-filter {
    margin-top: 9px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-candidate-table-wrap {
    max-height: 260px;
    overflow: auto;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-assignment-action {
    margin-top: 10px;
}

/* Empty state penugasan dipadatkan */
#adm-sertifikasi-edit-modal #adm-sertifikasi-assignment-empty {
    padding: 18px 12px;
    background: #ffffff;
    border: 1px dashed #dbe5eb;
    border-radius: 8px;
}

#adm-sertifikasi-edit-modal #adm-sertifikasi-assignment-empty strong {
    margin-bottom: 3px;
    font-size: 10px;
}

#adm-sertifikasi-edit-modal #adm-sertifikasi-assignment-empty span {
    font-size: 9px;
}

/* Group assignment lebih mudah dibaca */
#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-group {
    background: #ffffff;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-group-header {
    padding: 9px 10px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-table th {
    white-space: nowrap;
}

/* Section Pleno dibuat lebih ringkas */
#adm-sertifikasi-edit-modal .adm-sertifikasi-pleno-layout {
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: 14px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-pleno-left,
#adm-sertifikasi-edit-modal .adm-sertifikasi-pleno-right {
    min-width: 0;
    padding: 12px;
    background: #fbfdff;
    border: 1px solid #e5edf2;
    border-radius: 9px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-pleno-note {
    margin-top: 9px;
    background: #ffffff;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-multiselect-list {
    max-height: 190px;
    background: #ffffff;
}

/* Alert edit berada di dalam area form dengan jarak yang konsisten */
#adm-sertifikasi-edit-modal #adm-sertifikasi-edit-alert {
    margin: 0 16px 12px;
}

/* Footer sticky agar tombol selalu terlihat */
#adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer {
    position: sticky;
    bottom: 0;
    z-index: 8;
    padding: 11px 16px;
    background: rgba(251, 253, 255, .98);
    border-top: 1px solid #e5edf2;
    backdrop-filter: blur(6px);
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer .adm-sertifikasi-button {
    min-width: 106px;
}

/* Scrollbar modal lebih halus */
#adm-sertifikasi-edit-modal .adm-sertifikasi-form {
    scrollbar-width: thin;
    scrollbar-color: #cbd7de transparent;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-form::-webkit-scrollbar {
    width: 8px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-form::-webkit-scrollbar-thumb {
    background: #cbd7de;
    border-radius: 999px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-form::-webkit-scrollbar-track {
    background: transparent;
}

@media (max-width: 900px) {
    #adm-sertifikasi-edit-modal .adm-sertifikasi-modal-dialog.is-large {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    #adm-sertifikasi-edit-modal .adm-sertifikasi-form-section {
        margin: 10px;
        padding: 12px;
    }

    #adm-sertifikasi-edit-modal .adm-sertifikasi-pleno-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    #adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-block-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    #adm-sertifikasi-edit-modal .adm-sertifikasi-form-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   EDIT MODAL v3 — FONT LEBIH BESAR + CTA LEBIH JELAS
   ========================================================= */

#adm-sertifikasi-edit-modal {
    --sert-edit-font: 12px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-modal-header h2 {
    font-size: 20px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-modal-eyebrow {
    font-size: 10px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-modal-header p {
    font-size: 12px;
    line-height: 1.5;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-form-section-heading h3 {
    font-size: 15px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-form-section-heading p,
#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-block-heading p,
#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-participant-heading span,
#adm-sertifikasi-edit-modal .adm-sertifikasi-pleno-note span {
    font-size: 11px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-block-heading h4 {
    font-size: 13px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-field label,
#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-count,
#adm-sertifikasi-edit-modal .adm-sertifikasi-pleno-note strong {
    font-size: 11px !important;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-field input,
#adm-sertifikasi-edit-modal .adm-sertifikasi-field select,
#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-candidate-filter input {
    min-height: 38px;
    font-size: 12px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-searchable-option {
    font-size: 11px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-searchable-option small {
    font-size: 10px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-candidate-header,
#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-candidate-row {
    font-size: 11px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-candidate-row {
    min-height: 46px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-table th {
    font-size: 9px;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-table td,
#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-table input,
#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-table select {
    font-size: 10px;
}

/* Tombol Tambahkan Asesor dibuat sangat terlihat */
#adm-sertifikasi-edit-modal .adm-sertifikasi-assessor-assignment-action {
    position: sticky;
    bottom: 0;
    z-index: 4;
    margin: 10px -1px -1px;
    padding: 10px 0 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 30%);
}

#adm-sertifikasi-edit-modal #adm-sertifikasi-assessor-assign-button {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 11px;
    box-shadow: 0 4px 12px rgba(23,107,135,.15);
}

/* Save harus selalu terbaca jelas */
#adm-sertifikasi-edit-modal #adm-sertifikasi-edit-save {
    min-width: 145px;
    min-height: 38px;
    color: #ffffff !important;
    background: #b42318 !important;
    border-color: #b42318 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#adm-sertifikasi-edit-modal #adm-sertifikasi-edit-save:hover {
    background: #8f1d14 !important;
    border-color: #8f1d14 !important;
}

#adm-sertifikasi-edit-modal #adm-sertifikasi-edit-save[aria-busy="true"] {
    opacity: .72 !important;
}

#adm-sertifikasi-edit-modal #adm-sertifikasi-edit-cancel {
    min-width: 110px;
    min-height: 38px;
    font-size: 11px;
}

/* Footer jangan menyembunyikan tombol kanan */
#adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-height: 62px;
    overflow: visible;
}

/* Penjelasan singkat di atas daftar penugasan */
#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-block.is-result
.adm-sertifikasi-assignment-block-heading {
    padding-bottom: 8px;
    border-bottom: 1px solid #edf2f5;
}

@media (max-width: 640px) {
    #adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }

    #adm-sertifikasi-edit-modal #adm-sertifikasi-edit-save,
    #adm-sertifikasi-edit-modal #adm-sertifikasi-edit-cancel {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   EDIT MODAL v4 — AREA SCROLL & DAFTAR PENUGASAN FINAL
   Hanya tampilan. Tidak mengubah HTML, JS, API, atau alur.
   ========================================================= */

/*
 * Sisakan ruang di bawah isi form agar bagian terakhir tidak
 * tertutup footer sticky.
 */
#adm-sertifikasi-edit-modal .adm-sertifikasi-form {
    padding-bottom: 78px;
    scroll-padding-bottom: 88px;
}

/*
 * Footer sticky tetap berada di bawah, tetapi tidak menimpa
 * konten karena form sudah diberi ruang tambahan.
 */
#adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer {
    position: sticky;
    bottom: 0;
    z-index: 12;
    margin-top: -62px;
    min-height: 62px;
    padding: 11px 16px;
    background: #fbfdff;
    border-top: 1px solid #e5edf2;
    box-shadow: 0 -8px 18px rgba(23, 48, 62, .055);
}

/*
 * Daftar Penugasan diberi jarak bawah agar seluruh baris dan
 * kontrol peserta bisa discroll hingga benar-benar terlihat.
 */
#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-block.is-result {
    padding-bottom: 16px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-list {
    padding-bottom: 4px;
}

/*
 * Tabel penugasan tidak dipotong oleh card.
 */
#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-group {
    overflow: visible;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 6px;
}

/*
 * Header tabel penugasan lebih tegas dan tetap terbaca.
 */
#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    border-bottom: 1px solid #dfe8ed;
    color: #536974;
    font-weight: 800;
}

/*
 * Tinggi baris sedikit diperbesar supaya input tidak terasa
 * berhimpitan.
 */
#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table td {
    padding-top: 9px;
    padding-bottom: 9px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table input,
#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table select {
    min-height: 34px;
}

/*
 * Card Pleno juga punya ruang bawah yang cukup sebelum footer.
 */
#adm-sertifikasi-edit-modal
.adm-sertifikasi-form-section.is-pleno {
    margin-bottom: 14px;
}

/*
 * Tombol Simpan selalu berada paling kanan dan terlihat jelas.
 */
#adm-sertifikasi-edit-modal
#adm-sertifikasi-edit-save {
    flex: 0 0 auto;
}

#adm-sertifikasi-edit-modal
#adm-sertifikasi-edit-cancel {
    flex: 0 0 auto;
}

/*
 * Desktop: modal sedikit lebih tinggi agar isi lebih lega,
 * tetapi tetap tidak keluar layar.
 */
@media (min-width: 901px) {
    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-modal-dialog.is-large {
        max-height: min(90vh, 860px);
    }
}

/*
 * Mobile/tablet: footer tidak menutup isi dan tombol tetap
 * mudah disentuh.
 */
@media (max-width: 900px) {
    #adm-sertifikasi-edit-modal .adm-sertifikasi-form {
        padding-bottom: 86px;
    }

    #adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer {
        margin-top: -70px;
        min-height: 70px;
    }
}

@media (max-width: 640px) {
    #adm-sertifikasi-edit-modal .adm-sertifikasi-form {
        padding-bottom: 96px;
    }

    #adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer {
        margin-top: -82px;
        min-height: 82px;
        padding: 10px;
    }
}

/* =========================================================
   FIX TOMBOL "TAMBAHKAN ASESOR & PESERTA"
   ========================================================= */

#adm-sertifikasi-edit-modal
#adm-sertifikasi-assessor-assign-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 210px !important;
    min-height: 40px !important;

    padding: 9px 16px !important;

    color: #ffffff !important;
    background: #b42318 !important;
    border: 1px solid #b42318 !important;
    border-radius: 7px !important;

    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;

    opacity: 1 !important;
    visibility: visible !important;

    box-shadow: 0 4px 12px rgba(23, 107, 135, .16) !important;
}

#adm-sertifikasi-edit-modal
#adm-sertifikasi-assessor-assign-button:hover:not(:disabled) {
    color: #ffffff !important;
    background: #8f1d14 !important;
    border-color: #8f1d14 !important;
}

#adm-sertifikasi-edit-modal
#adm-sertifikasi-assessor-assign-button:disabled {
    color: #ffffff !important;
    background: #91aeb9 !important;
    border-color: #91aeb9 !important;
    opacity: .65 !important;
}


/*
 * Posisi tombol dibuat jelas di kanan bawah panel peserta.
 */
#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-assignment-action {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    min-height: 56px !important;
    margin-top: 10px !important;
    padding: 8px 0 0 !important;

    background: #ffffff !important;
}


/*
 * Pastikan tombol Simpan juga tidak terkena konflik style global.
 */
#adm-sertifikasi-edit-modal
#adm-sertifikasi-edit-save {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #ffffff !important;
    background: #b42318 !important;
    border-color: #b42318 !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/*
 * Tulisan di dalam tombol tidak boleh transparan.
 */
#adm-sertifikasi-edit-modal
#adm-sertifikasi-assessor-assign-button *,
#adm-sertifikasi-edit-modal
#adm-sertifikasi-edit-save * {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* =========================================================
   FINAL POLISH — FONT GLOBAL SERTIFIKASI + MODAL MERGE
   Berdasarkan CSS terbaru yang diberikan pengguna.
   Hanya mengubah tampilan, tidak mengubah alur / fungsi.
   ========================================================= */

/* ---------- FONT SELURUH HALAMAN ---------- */

.adm-sertifikasi-page {
    font-size: 13px;
    line-height: 1.5;
}

.adm-sertifikasi-summary-card span {
    font-size: 13px;
}

.adm-sertifikasi-summary-card strong {
    font-size: 26px;
}

.adm-sertifikasi-summary-card small {
    font-size: 12px;
}

.adm-sertifikasi-toolbar input,
.adm-sertifikasi-toolbar select {
    min-height: 40px;
    font-size: 13px;
}

.adm-sertifikasi-button {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 12px;
}

.adm-sertifikasi-table-heading h2 {
    font-size: 15px;
}

.adm-sertifikasi-table-heading p {
    font-size: 12px;
}

.adm-sertifikasi-table-header {
    min-height: 42px;
    font-size: 11px;
}

.adm-sertifikasi-row {
    min-height: 58px;
    font-size: 13px;
}

.adm-sertifikasi-action-button {
    min-height: 34px;
    padding: 6px 9px;
    font-size: 11px;
}

.adm-sertifikasi-status {
    min-height: 27px;
    padding: 5px 9px;
    font-size: 11px;
}

.adm-sertifikasi-pagination-slot,
.adm-sertifikasi-pagination-info,
.adm-sertifikasi-pagination-current {
    font-size: 12px;
}

.adm-sertifikasi-pagination-button {
    min-height: 34px;
    font-size: 11px;
}

.adm-sertifikasi-alert,
.adm-sertifikasi-form-alert {
    font-size: 12px;
}

.adm-sertifikasi-empty strong {
    font-size: 14px;
}

.adm-sertifikasi-empty span {
    font-size: 12px;
}


/* ---------- FONT SEMUA MODAL SERTIFIKASI ---------- */

.adm-sertifikasi-modal {
    font-size: 13px;
}

.adm-sertifikasi-modal-eyebrow {
    font-size: 11px;
}

.adm-sertifikasi-modal-header h2 {
    font-size: 20px;
}

.adm-sertifikasi-modal-header p {
    font-size: 12px;
}

.adm-sertifikasi-modal-close {
    width: 34px;
    height: 34px;
    font-size: 21px;
}

.adm-sertifikasi-field label {
    font-size: 12px;
}

.adm-sertifikasi-field input,
.adm-sertifikasi-field select,
.adm-sertifikasi-assessor-candidate-filter input {
    min-height: 39px;
    font-size: 12px;
}


/* ---------- DETAIL ---------- */

.adm-sertifikasi-detail-table th {
    font-size: 10px;
}

.adm-sertifikasi-detail-table td {
    font-size: 12px;
}


/* ---------- MODAL GABUNGKAN KEGIATAN ---------- */

#adm-sertifikasi-merge-modal .adm-sertifikasi-modal-dialog {
    width: min(980px, calc(100vw - 40px));
    max-height: min(90vh, 860px);
}

#adm-sertifikasi-merge-modal .adm-sertifikasi-modal-header {
    padding: 17px 20px 15px;
}

#adm-sertifikasi-merge-modal .adm-sertifikasi-merge-content {
    padding: 16px 20px 18px;
    min-height: 0;
    overflow: auto;
    padding-bottom: 88px;
    scroll-padding-bottom: 96px;
}

#adm-sertifikasi-merge-modal .adm-sertifikasi-merge-note {
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.55;
}

#adm-sertifikasi-merge-modal .adm-sertifikasi-merge-note strong {
    font-size: 13px;
}

#adm-sertifikasi-merge-modal .adm-sertifikasi-merge-summary > div {
    padding: 12px 14px;
}

#adm-sertifikasi-merge-modal .adm-sertifikasi-merge-summary span {
    font-size: 11px;
}

#adm-sertifikasi-merge-modal .adm-sertifikasi-merge-summary strong {
    font-size: 18px;
}

#adm-sertifikasi-merge-modal .adm-sertifikasi-merge-list-header {
    min-height: 42px;
    font-size: 10px;
}

#adm-sertifikasi-merge-modal .adm-sertifikasi-merge-row {
    min-height: 52px;
    font-size: 12px;
}

#adm-sertifikasi-merge-modal .adm-sertifikasi-merge-target-info span,
#adm-sertifikasi-merge-modal .adm-sertifikasi-merge-target-info small {
    font-size: 11px;
}

#adm-sertifikasi-merge-modal .adm-sertifikasi-merge-target-info strong {
    font-size: 14px;
}


/* Footer Merge selalu terlihat */
#adm-sertifikasi-merge-modal .adm-sertifikasi-form-footer {
    position: sticky;
    bottom: 0;
    z-index: 20;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;

    min-height: 64px;
    margin-top: -64px;
    padding: 11px 18px;

    overflow: visible !important;

    background: #fbfdff;
    border-top: 1px solid #e5edf2;
    box-shadow: 0 -8px 18px rgba(23, 48, 62, .06);
}


/* Tombol Batal Merge */
#adm-sertifikasi-merge-modal
#adm-sertifikasi-merge-cancel {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 105px !important;
    min-height: 40px !important;

    color: #40535e !important;
    background: #ffffff !important;
    border: 1px solid #dbe5eb !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* Tombol Gabungkan Kegiatan — selalu tampak.
   Saat disabled warnanya lebih lembut, tetapi teks tetap terlihat. */
#adm-sertifikasi-merge-modal
#adm-sertifikasi-merge-save {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    min-width: 180px !important;
    min-height: 40px !important;

    padding: 9px 16px !important;

    color: #ffffff !important;
    background: #b42318 !important;
    border: 1px solid #b42318 !important;
    border-radius: 7px !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;

    opacity: 1 !important;
    visibility: visible !important;

    box-shadow: 0 4px 12px rgba(23, 107, 135, .15) !important;
}

#adm-sertifikasi-merge-modal
#adm-sertifikasi-merge-save:hover:not(:disabled) {
    color: #ffffff !important;
    background: #8f1d14 !important;
    border-color: #8f1d14 !important;
}

#adm-sertifikasi-merge-modal
#adm-sertifikasi-merge-save:disabled {
    color: #ffffff !important;
    background: #91aeb9 !important;
    border-color: #91aeb9 !important;

    opacity: .72 !important;
    visibility: visible !important;
}

#adm-sertifikasi-merge-modal
#adm-sertifikasi-merge-save .adm-sertifikasi-merge-save-text,
#adm-sertifikasi-merge-modal
#adm-sertifikasi-merge-save * {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}


/* ---------- EDIT: samakan pembesaran font ---------- */

#adm-sertifikasi-edit-modal .adm-sertifikasi-admin-chip {
    font-size: 11px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-participant-heading strong {
    font-size: 12px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-group-header strong {
    font-size: 12px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-group-header small {
    font-size: 10px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table th {
    font-size: 10px !important;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table td,
#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table input,
#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table select {
    font-size: 11px !important;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-multiselect-item strong {
    font-size: 11px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-multiselect-item small {
    font-size: 10px;
}


/* ---------- RESPONSIVE FINAL ---------- */

@media (max-width: 900px) {
    #adm-sertifikasi-merge-modal .adm-sertifikasi-modal-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    #adm-sertifikasi-merge-modal .adm-sertifikasi-merge-content {
        padding: 14px 14px 94px;
    }

    #adm-sertifikasi-merge-modal .adm-sertifikasi-form-footer {
        margin-top: -70px;
        min-height: 70px;
    }
}

@media (max-width: 640px) {
    #adm-sertifikasi-merge-modal .adm-sertifikasi-form-footer {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        margin-top: -82px;
        min-height: 82px;
        padding: 10px;
    }

    #adm-sertifikasi-merge-modal
    #adm-sertifikasi-merge-cancel,
    #adm-sertifikasi-merge-modal
    #adm-sertifikasi-merge-save {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* =========================================================
   FINAL v2 — PROPORSI KOLOM + FOOTER EDIT PALING BAWAH
   Hanya tampilan. Tidak mengubah alur/fungsi.
   ========================================================= */

/* Tabel utama: lebar kolom disesuaikan dengan isi */
@media (min-width: 1181px) {
    .adm-sertifikasi-table {
        min-width: 0 !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        grid-template-columns:
            42px
            minmax(145px, 1.05fr)
            minmax(180px, 1.45fr)
            minmax(120px, .90fr)
            minmax(120px, .90fr)
            minmax(105px, .75fr)
            minmax(100px, .72fr)
            minmax(210px, 1.45fr) !important;
        gap: 12px !important;
    }

    .adm-sertifikasi-row-actions {
        display: grid !important;
        grid-template-columns: 44px 44px minmax(96px, 1fr);
        align-items: center;
        gap: 6px !important;
        width: 100%;
    }

    .adm-sertifikasi-row-actions .adm-sertifikasi-action-button {
        width: 100%;
        min-width: 0;
        padding-left: 6px;
        padding-right: 6px;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    .adm-sertifikasi-row-actions select {
        width: 100%;
        min-width: 96px;
    }
}

/* Edit: dialog menjadi struktur header + body + footer yang jelas */
#adm-sertifikasi-edit-modal .adm-sertifikasi-modal-dialog.is-large {
    height: min(90vh, 860px) !important;
    max-height: min(90vh, 860px) !important;
}

#adm-sertifikasi-edit-modal .adm-sertifikasi-modal-header {
    position: relative !important;
    top: auto !important;
    flex: 0 0 auto !important;
}

/* Form adalah area scroll utama */
#adm-sertifikasi-edit-modal .adm-sertifikasi-form {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;

    /* tidak perlu ruang kosong besar karena footer tidak lagi menumpuk */
    padding-bottom: 0 !important;
    scroll-padding-bottom: 20px !important;
}

/* Section terakhir tidak diberi ruang footer semu */
#adm-sertifikasi-edit-modal .adm-sertifikasi-form-section:last-of-type {
    margin-bottom: 14px !important;
}

/*
 * Footer Batal + Simpan benar-benar berada di bagian PALING BAWAH
 * dari form, bukan mengambang/menutupi isi.
 */
#adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer {
    position: relative !important;
    bottom: auto !important;
    z-index: 10 !important;

    flex: 0 0 auto !important;
    margin-top: auto !important;

    min-height: 68px !important;
    padding: 13px 18px !important;

    background: #ffffff !important;
    border-top: 1px solid #dfe8ed !important;
    box-shadow: 0 -5px 14px rgba(23, 48, 62, .045) !important;
    backdrop-filter: none !important;
}

/* Tombol footer sedikit lebih besar dan seimbang */
#adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer .adm-sertifikasi-button {
    min-width: 125px !important;
    min-height: 42px !important;
    padding: 9px 15px !important;
    font-size: 12px !important;
}

#adm-sertifikasi-edit-modal #adm-sertifikasi-edit-save {
    min-width: 165px !important;
}

/* Jangan biarkan daftar penugasan memberi bottom-space berlebihan */
#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-list,
#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-group,
#adm-sertifikasi-edit-modal .adm-sertifikasi-assignment-table-wrap {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Tablet/mobile */
@media (max-width: 900px) {
    #adm-sertifikasi-edit-modal .adm-sertifikasi-modal-dialog.is-large {
        height: calc(100vh - 20px) !important;
        max-height: calc(100vh - 20px) !important;
    }

    #adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer {
        min-height: 66px !important;
        padding: 11px 12px !important;
    }
}

@media (max-width: 640px) {
    #adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    #adm-sertifikasi-edit-modal .adm-sertifikasi-form-footer .adm-sertifikasi-button,
    #adm-sertifikasi-edit-modal #adm-sertifikasi-edit-save {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* =========================================================
   FINAL v3 — LEBAR KOLOM TABEL UTAMA
   Fokus hanya tabel utama Sertifikasi.
   Kolom AKSI dibuat jauh lebih lebar.
   ========================================================= */

@media (min-width: 1181px) {

    /* Biarkan tabel punya ruang cukup; scroll hanya di dalam card bila perlu */
    .adm-sertifikasi-table {
        width: 100% !important;
        min-width: 1180px !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        grid-template-columns:
            42px
            minmax(150px, 1.00fr)   /* ID Kegiatan */
            minmax(190px, 1.30fr)   /* TUK / Mitra */
            minmax(125px, .82fr)    /* Tanggal Mulai */
            minmax(125px, .82fr)    /* Tanggal Selesai */
            minmax(105px, .68fr)    /* Jumlah Peserta */
            minmax(100px, .66fr)    /* Status */
            minmax(300px, 2.05fr)   /* AKSI */
            !important;

        gap: 12px !important;
    }

    /* Kolom aksi harus satu baris */
    .adm-sertifikasi-row-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 7px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Detail dan Edit tidak boleh pecah menjadi huruf vertikal */
    .adm-sertifikasi-row-actions .adm-sertifikasi-action-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 62px !important;
        min-height: 34px !important;

        padding: 6px 10px !important;

        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;

        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    /* Dropdown status di kolom aksi */
    .adm-sertifikasi-row-actions select,
    .adm-sertifikasi-row-actions .adm-sertifikasi-status-select {
        flex: 1 1 120px !important;
        width: auto !important;
        min-width: 115px !important;
        max-width: 145px !important;
        min-height: 36px !important;

        font-size: 11px !important;
        white-space: nowrap !important;
    }
}

/* Pada layar sedikit lebih kecil, tabel tetap mempertahankan proporsi
   dan cukup discroll di dalam kartu, bukan mengecilkan kolom Aksi. */
@media (min-width: 821px) and (max-width: 1180px) {
    .adm-sertifikasi-table {
        min-width: 1120px !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        grid-template-columns:
            42px
            145px
            175px
            120px
            120px
            100px
            95px
            275px
            !important;
        gap: 10px !important;
    }

    .adm-sertifikasi-row-actions {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .adm-sertifikasi-row-actions .adm-sertifikasi-action-button {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 60px !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .adm-sertifikasi-row-actions select,
    .adm-sertifikasi-row-actions .adm-sertifikasi-status-select {
        min-width: 110px !important;
    }
}

/* =========================================================
   FINAL v4 — TUK / MITRA DIPERKECIL
   Berdasarkan full CSS terbaru yang diberikan pengguna.
   Fokus hanya proporsi kolom tabel utama.
   ========================================================= */

@media (min-width: 1181px) {
    .adm-sertifikasi-table {
        width: 100% !important;
        min-width: 1180px !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        grid-template-columns:
            42px
            minmax(150px, 1.00fr)   /* ID Kegiatan */
            minmax(135px, .82fr)    /* TUK / Mitra — diperkecil */
            minmax(125px, .82fr)    /* Tanggal Mulai */
            minmax(125px, .82fr)    /* Tanggal Selesai */
            minmax(105px, .68fr)    /* Jumlah Peserta */
            minmax(100px, .66fr)    /* Status */
            minmax(330px, 2.20fr)   /* Aksi — ruang ditambah */
            !important;
        gap: 12px !important;
    }
}

@media (min-width: 821px) and (max-width: 1180px) {
    .adm-sertifikasi-table {
        min-width: 1120px !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        grid-template-columns:
            42px
            145px
            135px   /* TUK / Mitra */
            120px
            120px
            100px
            95px
            300px   /* Aksi */
            !important;
        gap: 10px !important;
    }
}

/* =========================================================
   FINAL v5 — PENYEMPURNAAN UKURAN TABEL UTAMA
   Fokus hanya proporsi tabel agar pas di card tanpa scrollbar
   horizontal pada desktop normal.
   ========================================================= */

@media (min-width: 1181px) {

    .adm-sertifikasi-table-scroll {
        overflow-x: hidden !important;
    }

    .adm-sertifikasi-table {
        width: 100% !important;
        min-width: 0 !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        grid-template-columns:
            40px
            minmax(135px, 1.05fr)   /* ID Kegiatan */
            minmax(105px, .82fr)    /* TUK / Mitra */
            minmax(105px, .82fr)    /* Tanggal Mulai */
            minmax(105px, .82fr)    /* Tanggal Selesai */
            minmax(92px, .68fr)     /* Jumlah Peserta */
            minmax(82px, .62fr)     /* Status */
            minmax(250px, 1.85fr)   /* Aksi */
            !important;

        gap: 10px !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .adm-sertifikasi-row-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .adm-sertifikasi-row-actions .adm-sertifikasi-action-button {
        flex: 0 0 auto !important;
        min-width: 58px !important;
        min-height: 34px !important;
        padding: 6px 9px !important;

        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .adm-sertifikasi-row-actions select,
    .adm-sertifikasi-row-actions .adm-sertifikasi-status-select {
        flex: 1 1 105px !important;
        min-width: 100px !important;
        max-width: 125px !important;
        min-height: 35px !important;
    }
}


/* Laptop / desktop lebih sempit:
   tabel tetap proporsional dan baru boleh scroll jika benar-benar perlu. */
@media (min-width: 821px) and (max-width: 1180px) {

    .adm-sertifikasi-table-scroll {
        overflow-x: auto !important;
    }

    .adm-sertifikasi-table {
        width: 100% !important;
        min-width: 980px !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        grid-template-columns:
            40px
            130px
            105px
            105px
            105px
            90px
            82px
            245px
            !important;

        gap: 9px !important;
    }

    .adm-sertifikasi-row-actions {
        gap: 5px !important;
    }

    .adm-sertifikasi-row-actions .adm-sertifikasi-action-button {
        min-width: 56px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .adm-sertifikasi-row-actions select,
    .adm-sertifikasi-row-actions .adm-sertifikasi-status-select {
        min-width: 98px !important;
        max-width: 118px !important;
    }
}

/* =========================================================
   FINAL v6 — PROPORSI KOLOM TABEL UTAMA
   Fokus: lebar kolom lebih seimbang dan natural.
   ========================================================= */

@media (min-width: 1181px) {

    .adm-sertifikasi-table-scroll {
        overflow-x: hidden !important;
    }

    .adm-sertifikasi-table {
        width: 100% !important;
        min-width: 0 !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        grid-template-columns:
            42px
            minmax(150px, 1.15fr)   /* ID Kegiatan */
            minmax(115px, .80fr)    /* TUK / Mitra */
            minmax(130px, .95fr)    /* Tanggal Mulai */
            minmax(130px, .95fr)    /* Tanggal Selesai */
            minmax(110px, .72fr)    /* Jumlah Peserta */
            minmax(95px,  .65fr)    /* Status */
            minmax(285px, 2.00fr)   /* Aksi */
            !important;

        gap: 10px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Kolom TUK / Mitra tidak terlalu melebar */
    .adm-sertifikasi-table-header > :nth-child(3),
    .adm-sertifikasi-row > :nth-child(3) {
        max-width: 150px;
    }

    /* Kolom tanggal dibuat rapi dan stabil */
    .adm-sertifikasi-table-header > :nth-child(4),
    .adm-sertifikasi-table-header > :nth-child(5),
    .adm-sertifikasi-row > :nth-child(4),
    .adm-sertifikasi-row > :nth-child(5) {
        white-space: nowrap;
    }

    /* Jumlah peserta dan status tidak memakan ruang berlebihan */
    .adm-sertifikasi-table-header > :nth-child(6),
    .adm-sertifikasi-table-header > :nth-child(7),
    .adm-sertifikasi-row > :nth-child(6),
    .adm-sertifikasi-row > :nth-child(7) {
        min-width: 0 !important;
    }

    /* Kolom aksi paling lapang */
    .adm-sertifikasi-row-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 7px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .adm-sertifikasi-row-actions .adm-sertifikasi-action-button {
        flex: 0 0 auto !important;
        min-width: 62px !important;
        min-height: 34px !important;
        padding: 6px 10px !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .adm-sertifikasi-row-actions select,
    .adm-sertifikasi-row-actions .adm-sertifikasi-status-select {
        flex: 0 0 112px !important;
        width: 112px !important;
        min-width: 112px !important;
        max-width: 112px !important;
        min-height: 35px !important;
    }
}


/* Laptop */
@media (min-width: 821px) and (max-width: 1180px) {

    .adm-sertifikasi-table-scroll {
        overflow-x: auto !important;
    }

    .adm-sertifikasi-table {
        min-width: 1040px !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        grid-template-columns:
            42px
            145px
            115px
            125px
            125px
            105px
            90px
            275px
            !important;

        gap: 9px !important;
    }
}


/* =========================================================
   EDIT MODAL v4 — PEMBAGIAN PESERTA PER ASESOR
   FINAL OVERRIDE
   ========================================================= */

/*
 * Fokus:
 * - daftar Asesor mudah dibedakan;
 * - checklist peserta tidak berdesakan;
 * - jumlah peserta per Asesor terlihat jelas;
 * - bagian pairing terpisah tegas dari tabel hasil asesmen;
 * - tetap nyaman pada layar desktop maupun mobile.
 */

#adm-sertifikasi-edit-modal .adm-sertifikasi-form {
    padding-bottom: 82px;
    scroll-padding-bottom: 96px;
}


/* =========================================================
   AREA PEMBAGIAN ASESOR
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-section {
    display: block;
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
    background: transparent;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-section
> .adm-sertifikasi-assignment-group-header {
    margin-bottom: 10px;
    padding: 12px 14px;
    background: #f5f9fb;
    border: 1px solid #dce8ee;
    border-radius: 9px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-section
> .adm-sertifikasi-assignment-group-header strong {
    display: block;
    margin: 0;
    color: #263c47;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-section
> .adm-sertifikasi-assignment-group-header small {
    display: block;
    margin-top: 4px;
    color: #6b7f89;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   GRID ASESOR
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
    width: 100%;
    min-width: 0;
}


/* =========================================================
   CARD ASESOR
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce6eb;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(26, 51, 64, .04);
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    padding: 12px 13px;
    background: #f8fbfc;
    border-bottom: 1px solid #e4ecef;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-card-header > div {
    min-width: 0;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-card-header span {
    display: block;
    margin-bottom: 3px;
    color: #b42318;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-card-header > div > strong {
    display: block;
    color: #263943;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    overflow-wrap: anywhere;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-card-header small {
    display: block;
    margin-top: 3px;
    color: #72858f;
    font-size: 10px;
    line-height: 1.35;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 82px;
    min-height: 30px;
    padding: 5px 9px;
    color: #b42318;
    background: #edf7fa;
    border: 1px solid #d0e7ef;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
}


/* =========================================================
   DAFTAR CHECKLIST PESERTA
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-list {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
    background: #ffffff;
    scrollbar-width: thin;
    scrollbar-color: #cbd7de transparent;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-list::-webkit-scrollbar {
    width: 7px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-list::-webkit-scrollbar-thumb {
    background: #cbd7de;
    border-radius: 999px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 48px;
    margin: 0;
    padding: 8px 10px;
    color: #334a55;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition:
        background .15s ease,
        border-color .15s ease,
        box-shadow .15s ease;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-item
+ .adm-sertifikasi-assessor-pairing-item {
    margin-top: 5px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-item:hover {
    background: #f7fafc;
    border-color: #e1e9ed;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-item.is-selected {
    background: #f1f8fb;
    border-color: #bfdce7;
    box-shadow: inset 3px 0 0 #b42318;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #b42318;
    cursor: pointer;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-item-text {
    display: block;
    min-width: 0;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-item-text strong {
    display: block;
    color: #2f434d;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assessor-pairing-item-text small {
    display: block;
    margin-top: 2px;
    color: #7b8c95;
    font-size: 10px;
    line-height: 1.35;
}


/* =========================================================
   HASIL ASESMEN — PEMBEDA DARI PAIRING
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-group.is-result {
    margin-top: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce6eb;
    border-radius: 10px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-group.is-result
> .adm-sertifikasi-assignment-group-header {
    padding: 12px 14px;
    background: #f7f9fc;
    border-bottom: 1px solid #e3e9ee;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-group.is-result
> .adm-sertifikasi-assignment-group-header strong {
    display: block;
    color: #2f4350;
    font-size: 13px;
    font-weight: 800;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-group.is-result
> .adm-sertifikasi-assignment-group-header small {
    display: block;
    margin-top: 3px;
    color: #73858f;
    font-size: 10px;
    line-height: 1.4;
}


/* =========================================================
   TABEL HASIL ASESMEN
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 4px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table {
    width: 100%;
    min-width: 1040px;
    border-collapse: collapse;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 9px 10px;
    color: #5b6e79;
    background: #f8fafc;
    border-bottom: 1px solid #dfe7ec;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 800;
    white-space: nowrap;
    text-transform: none;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table tbody td {
    padding: 9px 10px;
    color: #3d505a;
    background: #ffffff;
    border-bottom: 1px solid #edf2f5;
    font-size: 11px;
    line-height: 1.35;
    vertical-align: middle;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table tbody tr:hover td {
    background: #fbfdfe;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table tbody tr:last-child td {
    border-bottom: 0;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table td > strong {
    display: block;
    color: #2f424c;
    font-size: 11px;
    font-weight: 700;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table td > div {
    margin-top: 2px;
    color: #7b8d96;
    font-size: 10px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table input,
#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table select {
    width: 100%;
    min-width: 112px;
    min-height: 36px;
    padding: 6px 8px;
    color: #334850;
    background: #ffffff;
    border: 1px solid #d6e1e7;
    border-radius: 7px;
    outline: none;
    font: inherit;
    font-size: 11px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table input:focus,
#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-table select:focus {
    border-color: #86adbd;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .08);
}


/* =========================================================
   SECTION UTAMA EDIT
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-form-section {
    overflow: visible;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-assignment-list {
    display: block;
    width: 100%;
    min-width: 0;
}

#adm-sertifikasi-edit-modal
#adm-sertifikasi-assignment-summary {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    color: #b42318;
    background: #eef7fa;
    border: 1px solid #d3e7ee;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}


/* =========================================================
   FOOTER EDIT
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-form-footer {
    position: sticky;
    bottom: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 62px;
    margin-top: 0;
    padding: 11px 16px;
    background: rgba(251, 253, 255, .98);
    border-top: 1px solid #dfe8ed;
    box-shadow: 0 -8px 20px rgba(25, 44, 54, .055);
    backdrop-filter: blur(6px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-assessor-pairing-grid {
        grid-template-columns: 1fr;
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-assessor-pairing-list {
        max-height: 260px;
    }
}

@media (max-width: 640px) {

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-assessor-pairing-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-assessor-pairing-count {
        align-self: flex-start;
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-assessor-pairing-item {
        grid-template-columns: 20px minmax(0, 1fr);
        padding: 8px;
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-form-footer {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-form-footer .adm-sertifikasi-button {
        width: 100%;
    }
}


/* =========================================================
   EDIT MODAL v5 — ALUR BERTAHAP:
   PILIH ASESOR → PILIH PESERTA
   FINAL OVERRIDE
   ========================================================= */

/* =========================================================
   CONTAINER FLOW
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-flow {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
}


/* =========================================================
   STEP
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    width: 100%;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #dfe8ed;
    border-radius: 11px;
    box-shadow: 0 2px 8px rgba(25, 48, 61, .035);
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-step
+ .adm-sertifikasi-pairing-step {
    margin-top: 12px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #ffffff;
    background: #b42318;
    border-radius: 50%;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-step-content {
    min-width: 0;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-step-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-step-heading > div:first-child {
    min-width: 0;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-step-heading strong {
    display: block;
    color: #263b46;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-step-heading small {
    display: block;
    max-width: 680px;
    margin-top: 4px;
    color: #71838d;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   GLOBAL SUMMARY
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-global-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 0 0 auto;
    min-width: 170px;
    padding: 8px 10px;
    background: #f7fafc;
    border: 1px solid #e1e8ec;
    border-radius: 8px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-global-summary span {
    color: #61747e;
    font-size: 10px;
    line-height: 1.3;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-global-summary strong {
    margin-top: 2px;
    color: #9a6215;
    font-size: 11px;
}


/* =========================================================
   PILIH ASESOR
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-assessor-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    min-width: 0;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-assessor-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 104px;
    padding: 11px 12px 38px;
    color: #354b55;
    background: #fbfdfe;
    border: 1px solid #dce6eb;
    border-radius: 9px;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition:
        border-color .15s ease,
        background .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-assessor-button:hover {
    background: #f5fafc;
    border-color: #bfd7e1;
    transform: translateY(-1px);
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-assessor-button.is-active {
    background: #f0f8fb;
    border-color: #72aabd;
    box-shadow:
        inset 0 0 0 1px rgba(180, 35, 24, .08),
        0 4px 12px rgba(180, 35, 24, .08);
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-assessor-button.is-active::before {
    content: "Dipilih";
    position: absolute;
    top: 9px;
    right: 9px;
    padding: 3px 7px;
    color: #b42318;
    background: #ffffff;
    border: 1px solid #c9e1e9;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-assessor-index {
    display: block;
    margin-bottom: 5px;
    color: #b42318;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-assessor-name {
    display: block;
    padding-right: 44px;
    color: #2c414c;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    overflow-wrap: anywhere;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-assessor-reg {
    display: block;
    margin-top: 4px;
    color: #778a94;
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-assessor-total {
    position: absolute;
    left: 12px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 3px 8px;
    color: #526a75;
    background: #ffffff;
    border: 1px solid #dfe8ec;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   STEP 2 — PLACEHOLDER
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-step.is-participant {
    background: #fbfdfe;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-placeholder,
#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-complete {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 24px 18px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #cfdde4;
    border-radius: 9px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-placeholder strong,
#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-complete strong {
    color: #405761;
    font-size: 13px;
    font-weight: 800;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-placeholder span,
#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-complete span {
    max-width: 520px;
    margin-top: 5px;
    color: #778b95;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   CURRENT ASESOR SUMMARY
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-current-summary {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex: 0 0 auto;
    padding: 7px 10px;
    color: #b42318;
    background: #edf7fa;
    border: 1px solid #d0e5ed;
    border-radius: 8px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-current-summary strong {
    font-size: 16px;
    line-height: 1;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-current-summary span {
    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   DAFTAR PESERTA TERSEDIA
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 3px 4px 3px 1px;
    scrollbar-width: thin;
    scrollbar-color: #cbd7de transparent;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-list::-webkit-scrollbar {
    width: 7px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-list::-webkit-scrollbar-thumb {
    background: #cbd7de;
    border-radius: 999px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 58px;
    padding: 9px 10px;
    color: #334a55;
    background: #ffffff;
    border: 1px solid #e0e8ec;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition:
        background .15s ease,
        border-color .15s ease,
        box-shadow .15s ease;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-item:hover {
    background: #f8fbfc;
    border-color: #cbdce4;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-item.is-selected {
    background: #f0f8fb;
    border-color: #90bdcc;
    box-shadow: inset 3px 0 0 #b42318;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #b42318;
    cursor: pointer;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-main {
    display: block;
    min-width: 0;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-main strong {
    display: block;
    color: #30454f;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-main small {
    display: block;
    margin-top: 2px;
    color: #7b8e98;
    font-size: 9px;
    line-height: 1.35;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 23px;
    padding: 3px 7px;
    color: #778a94;
    background: #f7f9fa;
    border: 1px solid #e1e7ea;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-participant-item.is-selected
.adm-sertifikasi-pairing-participant-status {
    color: #b42318;
    background: #ffffff;
    border-color: #c7e0e9;
}


/* =========================================================
   PETUNJUK ALUR
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-help {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 10px;
    color: #617680;
    background: #f6fafb;
    border: 1px solid #e0e9ed;
    border-radius: 8px;
    font-size: 10px;
    line-height: 1.45;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-help strong {
    flex: 0 0 auto;
    color: #405761;
}


/* =========================================================
   SINGLE ASESOR
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-single-assessor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #f3f9fb;
    border: 1px solid #d4e6ed;
    border-radius: 10px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-single-assessor > div:first-child span,
#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-single-assessor > div:first-child strong,
#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-single-assessor > div:first-child small {
    display: block;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-single-assessor > div:first-child span {
    color: #b42318;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-single-assessor > div:first-child strong {
    margin-top: 3px;
    color: #2f4651;
    font-size: 13px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-single-assessor > div:first-child small {
    margin-top: 2px;
    color: #778a94;
    font-size: 10px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-single-assessor > div:last-child {
    text-align: right;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-single-assessor > div:last-child strong {
    display: block;
    color: #b42318;
    font-size: 18px;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-pairing-single-assessor > div:last-child span {
    display: block;
    color: #6d818b;
    font-size: 9px;
}


/* =========================================================
   HASIL ASESMEN — STATUS PAIRING
   ========================================================= */

#adm-sertifikasi-edit-modal
.adm-sertifikasi-result-assessor {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 700;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-result-assessor.is-assigned {
    color: #286346;
    background: #eef8f2;
    border: 1px solid #d0e8d8;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-result-assessor.is-empty {
    color: #8a5e20;
    background: #fff7e9;
    border: 1px solid #eedbb9;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-result-pairing-summary {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 27px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-result-pairing-summary.has-unassigned {
    color: #8b5d1e;
    background: #fff7e9;
    border: 1px solid #eed9b4;
}

#adm-sertifikasi-edit-modal
.adm-sertifikasi-result-pairing-summary.is-complete {
    color: #286346;
    background: #eef8f2;
    border: 1px solid #cee6d6;
}


/* =========================================================
   RESPONSIVE FLOW
   ========================================================= */

@media (max-width: 1080px) {

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-pairing-assessor-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-pairing-participant-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-pairing-step {
        grid-template-columns: 1fr;
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-pairing-step-number {
        width: 30px;
        height: 30px;
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-pairing-step-heading {
        flex-direction: column;
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-pairing-global-summary {
        align-items: flex-start;
        width: 100%;
        min-width: 0;
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-pairing-assessor-list {
        grid-template-columns: 1fr;
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-pairing-participant-item {
        grid-template-columns: 20px minmax(0, 1fr);
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-pairing-participant-status {
        grid-column: 2;
        justify-self: flex-start;
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-pairing-single-assessor {
        align-items: flex-start;
        flex-direction: column;
    }

    #adm-sertifikasi-edit-modal
    .adm-sertifikasi-pairing-single-assessor > div:last-child {
        text-align: left;
    }
}


/* =========================================================
   MERGE v2 — BATASI BERDASARKAN SKEMA KEGIATAN UTAMA
   ========================================================= */

#adm-sertifikasi-merge-modal
.adm-sertifikasi-merge-row.is-incompatible {
    opacity: .58;
    background: #f8f9fa;
}

#adm-sertifikasi-merge-modal
.adm-sertifikasi-merge-row.is-incompatible:hover {
    background: #f8f9fa;
}

#adm-sertifikasi-merge-modal
.adm-sertifikasi-merge-row.is-incompatible
input[type="checkbox"],
#adm-sertifikasi-merge-modal
.adm-sertifikasi-merge-row.is-incompatible
input[type="radio"] {
    cursor: not-allowed;
}

#adm-sertifikasi-merge-modal
.adm-sertifikasi-merge-row.is-target {
    background: #f0f8fb;
    box-shadow: inset 3px 0 0 #b42318;
}

#adm-sertifikasi-merge-modal
.adm-sertifikasi-merge-scheme {
    display: block;
    margin-top: 3px;
    color: #71858f;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 600;
}

#adm-sertifikasi-merge-modal
.adm-sertifikasi-merge-incompatible-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    color: #9b4a46;
    background: #fff1f0;
    border: 1px solid #efcfcc;
    border-radius: 999px;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
}


/* =========================================================
   FINAL v6 — TABEL DATA SERTIFIKASI LEBIH PROPORSIONAL
   Fokus:
   - Nama Skema mendapat ruang lebih besar;
   - ID Kegiatan tampil kecil di bawah Nama Skema;
   - kolom Aksi disesuaikan karena hanya Detail + Edit;
   - seluruh tabel pas di card desktop tanpa ruang berlebihan.
   ========================================================= */

@media (min-width: 1181px) {

    .adm-sertifikasi-table-scroll {
        overflow-x: hidden !important;
    }

    .adm-sertifikasi-table {
        width: 100% !important;
        min-width: 0 !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        grid-template-columns:
            36px
            minmax(190px, 1.65fr)   /* Nama Skema */
            minmax(110px, .90fr)    /* TUK / Mitra */
            minmax(105px, .82fr)    /* Tanggal Mulai */
            minmax(105px, .82fr)    /* Tanggal Selesai */
            minmax(92px, .70fr)     /* Jumlah Peserta */
            minmax(88px, .66fr)     /* Status */
            minmax(132px, .95fr)    /* Aksi */
            !important;

        gap: 10px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .adm-sertifikasi-table-header {
        min-height: 44px !important;
        font-size: 10px !important;
    }

    .adm-sertifikasi-row {
        min-height: 62px !important;
        font-size: 12px !important;
    }

    /* Nama Skema */
    .adm-sertifikasi-row > div:nth-child(2) {
        line-height: 1.35 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .adm-sertifikasi-row > div:nth-child(2) > strong {
        display: block !important;
        margin: 0 !important;
        color: #263f4b !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        font-weight: 800 !important;
        overflow-wrap: anywhere !important;
    }

    .adm-sertifikasi-row > div:nth-child(2) > small {
        display: block !important;
        margin-top: 3px !important;
        color: #83939c !important;
        font-size: 9px !important;
        line-height: 1.25 !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }

    /* TUK / Mitra, tanggal, jumlah peserta */
    .adm-sertifikasi-row > div:nth-child(3),
    .adm-sertifikasi-row > div:nth-child(4),
    .adm-sertifikasi-row > div:nth-child(5),
    .adm-sertifikasi-row > div:nth-child(6) {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    /* Jumlah peserta */
    .adm-sertifikasi-row > div:nth-child(6) {
        text-align: left !important;
        font-weight: 700 !important;
    }

    /* Status */
    .adm-sertifikasi-row > div:nth-child(7) {
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
    }

    .adm-sertifikasi-status {
        min-height: 27px !important;
        padding: 5px 9px !important;
        font-size: 10px !important;
        white-space: nowrap !important;
    }

    /* Aksi hanya Detail + Edit */
    .adm-sertifikasi-row-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .adm-sertifikasi-row-actions .adm-sertifikasi-action-button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 34px !important;
        padding: 6px 8px !important;
        font-size: 10px !important;
        white-space: nowrap !important;
    }
}


/* =========================================================
   LAPTOP / TABLET LANDSCAPE
   ========================================================= */

@media (min-width: 821px) and (max-width: 1180px) {

    .adm-sertifikasi-table-scroll {
        overflow-x: auto !important;
    }

    .adm-sertifikasi-table {
        width: 100% !important;
        min-width: 980px !important;
    }

    .adm-sertifikasi-table-header,
    .adm-sertifikasi-row {
        grid-template-columns:
            36px
            190px
            115px
            110px
            110px
            95px
            90px
            140px
            !important;

        gap: 9px !important;
    }

    .adm-sertifikasi-row > div:nth-child(2) > strong {
        display: block !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    .adm-sertifikasi-row > div:nth-child(2) > small {
        display: block !important;
        margin-top: 3px !important;
        color: #83939c !important;
        font-size: 9px !important;
        white-space: nowrap !important;
    }

    .adm-sertifikasi-row-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    .adm-sertifikasi-row-actions .adm-sertifikasi-action-button {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* =========================================================
   TAMBAHKAN SELURUH BLOK INI KE BAGIAN PALING BAWAH:
   /assets/css/app.css

   MODUL: PEMEGANG SERTIFIKAT
   ========================================================= */

/* =========================================================
   PEMEGANG SERTIFIKAT PAGE
   SISFO LSP APMP
   Visual konsisten dengan halaman admin SISFO LSP APMP
========================================================= */

:root {
  --pemegang-bg: #f5f7fb;
  --pemegang-card: #ffffff;
  --pemegang-border: #e4e8f0;
  --pemegang-text: #172033;
  --pemegang-muted: #6b7280;
  --pemegang-primary: #b42318;
  --pemegang-primary-soft: #fef3f2;
  --pemegang-success: #15803d;
  --pemegang-success-soft: #ecfdf3;
  --pemegang-danger: #b42318;
  --pemegang-danger-soft: #fef3f2;
  --pemegang-warning: #b54708;
  --pemegang-warning-soft: #fffaeb;
}

* {
  box-sizing: border-box;
}

.adm-pemegang-page {
  display: grid;
  gap: 18px;
  color: var(--pemegang-text);
}

.adm-pemegang-alert {
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--pemegang-primary-soft);
  color: var(--pemegang-primary);
  font-size: 14px;
}
.adm-pemegang-alert.is-error { background: var(--pemegang-danger-soft); color: var(--pemegang-danger); }
.adm-pemegang-alert.is-warning { background: var(--pemegang-warning-soft); color: var(--pemegang-warning); }
.adm-pemegang-alert.is-success { background: var(--pemegang-success-soft); color: var(--pemegang-success); }

.adm-pemegang-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.adm-pemegang-toolbar-left {
  flex: 1 1 720px;
  display: grid;
  grid-template-columns: minmax(280px, 2fr) minmax(180px, 1fr) auto;
  gap: 10px;
}

.adm-pemegang-toolbar input,
.adm-pemegang-toolbar select,
.adm-pemegang-edit-table input {
  width: 100%;
  border: 1px solid var(--pemegang-border);
  border-radius: 10px;
  background: #fff;
  color: var(--pemegang-text);
  padding: 10px 12px;
  min-height: 42px;
  outline: none;
  font: inherit;
}

.adm-pemegang-toolbar input:focus,
.adm-pemegang-toolbar select:focus,
.adm-pemegang-edit-table input:focus {
  border-color: #d9776d;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .10);
}

.adm-pemegang-button,
.adm-pemegang-file-button,
.adm-pemegang-document-open {
  border: 0;
  border-radius: 10px;
  min-height: 42px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.adm-pemegang-button:disabled { opacity: .55; cursor: not-allowed; }
.adm-pemegang-button.is-primary { background: var(--pemegang-primary); color: #fff; }
.adm-pemegang-button.is-secondary,
.adm-pemegang-file-button,
.adm-pemegang-document-open {
  background: #fff;
  color: var(--pemegang-text);
  border: 1px solid var(--pemegang-border);
}
.adm-pemegang-button.is-danger {
  background: var(--pemegang-danger);
  color: #fff;
}

.adm-pemegang-button:not(:disabled),
.adm-pemegang-row-action,
.adm-pemegang-file-button,
.adm-pemegang-document-open,
.adm-pemegang-pagination-button:not(:disabled) {
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.adm-pemegang-button.is-primary:not(:disabled):hover {
  background: #8f1d14;
}

.adm-pemegang-button.is-secondary:not(:disabled):hover,
.adm-pemegang-file-button:hover,
.adm-pemegang-document-open:hover,
.adm-pemegang-row-action:hover,
.adm-pemegang-pagination-button:not(:disabled):hover {
  background: #f8fafc;
  border-color: #cfd7e5;
}

.adm-pemegang-button.is-danger:not(:disabled):hover {
  background: #912018;
}

.adm-pemegang-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adm-pemegang-summary-card {
  background: var(--pemegang-card);
  border: 1px solid var(--pemegang-border);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.adm-pemegang-summary-card span {
  color: var(--pemegang-muted);
  font-size: 14px;
  font-weight: 600;
}

.adm-pemegang-summary-card strong {
  color: var(--pemegang-text);
  font-size: 28px;
}

.adm-pemegang-summary-card.is-info { background: var(--pemegang-primary-soft); }

.adm-pemegang-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--pemegang-border);
  border-radius: 14px;
  background: #fff;
}

.adm-pemegang-bulk-selection,
.adm-pemegang-bulk-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.adm-pemegang-check-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pemegang-text);
  font-size: 14px;
  font-weight: 700;
}

.adm-pemegang-check-all input,
.adm-pemegang-row-check {
  width: 16px;
  height: 16px;
  accent-color: var(--pemegang-primary);
}

#adm-pemegang-selected-count {
  color: var(--pemegang-muted);
  font-size: 14px;
}

.adm-pemegang-list-card {
  background: var(--pemegang-card);
  border: 1px solid var(--pemegang-border);
  border-radius: 14px;
  overflow: hidden;
}

.adm-pemegang-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--pemegang-border);
}

.adm-pemegang-list-header h2 { margin: 0; font-size: 20px; }
.adm-pemegang-list-header p {
  margin: 5px 0 0;
  color: var(--pemegang-muted);
  font-size: 14px;
}
.adm-pemegang-result-count {
  color: var(--pemegang-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.adm-pemegang-table-wrap { width: 100%; overflow-x: auto; }

.adm-pemegang-table-header,
.adm-pemegang-row {
  display: grid;
  align-items: center;
  min-width: 1100px;
  grid-template-columns:
    60px
    55px
    minmax(250px, 1.45fr)
    minmax(150px, .8fr)
    minmax(240px, 1.25fr)
    minmax(120px, .65fr)
    minmax(210px, 1fr);
}

.adm-pemegang-table-header {
  color: var(--pemegang-muted);
  font-size: 13px;
  font-weight: 800;
  background: #fafbfc;
  white-space: nowrap;
  border-bottom: 1px solid var(--pemegang-border);
}

.adm-pemegang-table-header > div,
.adm-pemegang-row > div {
  padding: 12px 14px;
  min-width: 0;
}

.adm-pemegang-row {
  color: var(--pemegang-text);
  font-size: 14px;
  border-bottom: 1px solid var(--pemegang-border);
}
.adm-pemegang-row:last-child { border-bottom: 0; }

.adm-pemegang-table-check {
  display: flex;
  justify-content: center;
  align-items: center;
}

.adm-pemegang-holder-cell,
.adm-pemegang-history-cell {
  display: grid;
  gap: 3px;
}

.adm-pemegang-holder-name { font-size: 15px; font-weight: 800; }
.adm-pemegang-holder-id,
.adm-pemegang-holder-scheme,
.adm-pemegang-history-skema {
  color: var(--pemegang-muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adm-pemegang-nik { font-size: 14px; white-space: nowrap; }
.adm-pemegang-history-count { font-size: 14px; font-weight: 800; }

.adm-pemegang-card-status,
.adm-pemegang-certificate-file-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.adm-pemegang-card-status.is-sudah,
.adm-pemegang-certificate-file-status.is-ready {
  background: var(--pemegang-success-soft);
  color: var(--pemegang-success);
}
.adm-pemegang-card-status.is-belum,
.adm-pemegang-certificate-file-status {
  background: #f3f4f6;
  color: #374151;
}

.adm-pemegang-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.adm-pemegang-row-action {
  border: 1px solid var(--pemegang-border);
  background: #fff;
  color: var(--pemegang-text);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.adm-pemegang-row-action.is-primary { color: var(--pemegang-primary); }
.adm-pemegang-row-action.is-danger { color: var(--pemegang-danger); }

.adm-pemegang-loading,
.adm-pemegang-empty {
  padding: 34px 20px;
  text-align: center;
  color: var(--pemegang-muted);
}
.adm-pemegang-loading-row {
  height: 42px;
  margin: 8px 0;
  border-radius: 8px;
  background: #f3f4f6;
}

/* Pagination sama dengan pola Asesor/Mitra */
.adm-pemegang-list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: var(--pemegang-muted);
  background: #fbfdff;
  border-top: 1px solid #e7eef3;
  font-size: 12px;
}
.adm-pemegang-pagination-info { color: var(--pemegang-muted); font-size: 12px; }
.adm-pemegang-pagination-actions { display: flex; align-items: center; gap: 9px; }
.adm-pemegang-pagination-button {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--pemegang-border);
  background: #fff;
  color: var(--pemegang-text);
  cursor: pointer;
}
.adm-pemegang-pagination-button:disabled { opacity: .55; cursor: not-allowed; }
.adm-pemegang-pagination-current {
  min-width: 28px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--pemegang-primary);
  border-radius: 7px;
  background: var(--pemegang-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Modal */
.adm-pemegang-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.adm-pemegang-modal.is-open { display: block; }
.adm-pemegang-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .52);
}
.adm-pemegang-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  margin: 14px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(0,0,0,.22);
}
.adm-pemegang-modal-dialog.is-confirm { width: min(520px, calc(100vw - 28px)); }
.adm-pemegang-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid var(--pemegang-border);
}
.adm-pemegang-modal-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--pemegang-primary);
  font-size: 12px;
  font-weight: 900;
}
.adm-pemegang-modal-header h2 { margin: 0; font-size: 21px; }
.adm-pemegang-modal-header p {
  margin: 5px 0 0;
  color: var(--pemegang-muted);
  font-size: 14px;
}
.adm-pemegang-modal-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #6b7280;
}
.adm-pemegang-modal-body { padding: 18px 20px; }

.adm-pemegang-form-section {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--pemegang-border);
}
.adm-pemegang-form-section:first-child { padding-top: 0; }
.adm-pemegang-form-section:last-child { border-bottom: 0; }
.adm-pemegang-form-section-heading > div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.adm-pemegang-form-section-heading > div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--pemegang-primary-soft);
  color: var(--pemegang-primary);
  font-size: 12px;
  font-weight: 900;
}
.adm-pemegang-form-section-heading h3 { margin: 0; font-size: 16px; }
.adm-pemegang-form-section-heading p {
  margin: 4px 0 0;
  color: var(--pemegang-muted);
  font-size: 13px;
}

.adm-pemegang-edit-table-wrap { width: 100%; overflow-x: auto; }
.adm-pemegang-edit-table {
  width: 100%;
  border-collapse: collapse;
}
.adm-pemegang-edit-table th,
.adm-pemegang-edit-table td {
  border-bottom: 1px solid var(--pemegang-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.adm-pemegang-edit-table th {
  color: var(--pemegang-muted);
  font-size: 13px;
  font-weight: 800;
  background: #fafbfc;
  white-space: nowrap;
}
.adm-pemegang-edit-table td { color: var(--pemegang-text); font-size: 14px; }

.adm-pemegang-document-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--pemegang-border);
  border-radius: 10px;
}
.adm-pemegang-photo-info,
.adm-pemegang-document-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.adm-pemegang-photo-preview-wrap {
  width: 84px;
  height: 112px;
  overflow: hidden;
  border: 1px solid var(--pemegang-border);
  border-radius: 10px;
  background: var(--pemegang-primary-soft);
}
.adm-pemegang-photo-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.adm-pemegang-photo-meta { display: grid; gap: 4px; }
.adm-pemegang-photo-meta span,
.adm-pemegang-document-upload > div > span {
  color: var(--pemegang-muted);
  font-size: 13px;
  font-weight: 700;
}
.adm-pemegang-photo-meta strong,
.adm-pemegang-document-upload > div > strong { font-size: 14px; }
.adm-pemegang-photo-meta small,
.adm-pemegang-document-hint { color: var(--pemegang-muted); font-size: 12px; }

.adm-pemegang-file-button { position: relative; overflow: hidden; }
.adm-pemegang-file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.adm-pemegang-participant-table-header,
.adm-pemegang-certificate-row {
  display: grid;
  align-items: center;
  min-width: 920px;
  grid-template-columns: 50px minmax(240px,1.35fr) minmax(180px,.9fr) minmax(180px,.9fr) minmax(130px,.65fr) minmax(160px,.8fr);
}
.adm-pemegang-participant-table-header {
  color: var(--pemegang-muted);
  font-size: 13px;
  font-weight: 800;
  background: #fafbfc;
  border-bottom: 1px solid var(--pemegang-border);
}
.adm-pemegang-participant-table-header > div,
.adm-pemegang-certificate-row > div { padding: 12px 14px; min-width: 0; }
.adm-pemegang-certificate-row {
  color: var(--pemegang-text);
  font-size: 14px;
  border-bottom: 1px solid var(--pemegang-border);
}
.adm-pemegang-certificate-scheme { font-size: 14px; font-weight: 800; }
.adm-pemegang-certificate-number { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.adm-pemegang-certificate-period { display: grid; gap: 3px; color: var(--pemegang-muted); }

.adm-pemegang-form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--pemegang-border);
}
.adm-pemegang-confirm-body {
  padding: 18px 20px;
  color: var(--pemegang-text);
  font-size: 13px;
}
.adm-pemegang-save-spinner { display: none; }

@media (max-width: 1100px) {
  .adm-pemegang-toolbar-left { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .adm-pemegang-toolbar-left,
  .adm-pemegang-summary-grid {
    grid-template-columns: 1fr;
  }
  .adm-pemegang-bulk-bar,
  .adm-pemegang-list-header,
  .adm-pemegang-document-upload,
  .adm-pemegang-list-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .adm-pemegang-bulk-actions,
  .adm-pemegang-document-actions {
    width: 100%;
  }
}

/* =========================================================
   USER MANAGEMENT - APMP
   Tambahkan di PALING BAWAH /assets/css/app.css
   Migrasi user-management.css + dukungan tombol Delete
   ========================================================= */

.user-management-page {
  width: 100%;
  min-width: 0;
  color: #1f3447;
}

.user-management-page *,
.user-management-page *::before,
.user-management-page *::after {
  box-sizing: border-box;
}

.user-management-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.user-management-toolbar-left {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.user-management-toolbar input,
.user-management-toolbar select {
  min-height: 42px;
  padding: 9px 12px;
  color: #243b53;
  background: #fff;
  border: 1px solid #d6e1e8;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
}

.user-management-toolbar input {
  width: min(100%, 360px);
}

.user-management-toolbar select {
  min-width: 150px;
}

.user-management-toolbar input:focus,
.user-management-toolbar select:focus {
  outline: none;
  border-color: #d9776d;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .10);
}

.user-management-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  color: #b42318;
  background: #fff;
  border: 1px solid #e7b9b4;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.user-management-button:hover {
  background: #fef3f2;
}

.user-management-button:disabled {
  opacity: .55;
  cursor: wait;
}

.user-management-button.is-primary {
  color: #fff;
  background: #b42318;
  border-color: #b42318;
}

.user-management-button.is-primary:hover {
  background: #8f1d14;
  border-color: #8f1d14;
}

.user-management-button.is-small {
  min-height: 31px;
  padding: 5px 10px;
  font-size: 10.5px;
}

.user-management-button.is-password {
  color: #7a4d00;
  background: #fff9eb;
  border-color: #ead7a8;
}

.user-management-button.is-password:hover {
  background: #fff3d5;
  border-color: #dcbf73;
}

/* Dipakai oleh tombol hapus yang akan ditambahkan di user-management.js */
.user-management-button.is-delete,
.user-management-button.is-danger {
  color: #b42318;
  background: #fff;
  border-color: #e6aaa4;
}

.user-management-button.is-delete:hover,
.user-management-button.is-danger:hover {
  color: #fff;
  background: #b42318;
  border-color: #b42318;
}

.user-management-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.user-management-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.user-management-stat {
  min-width: 0;
  padding: 16px 17px;
  background: #fff;
  border: 1px solid #dbe5ec;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(20, 62, 91, .04);
}

.user-management-stat span {
  display: block;
  margin-bottom: 8px;
  color: #74889a;
  font-size: 12px;
  font-weight: 700;
}

.user-management-stat strong {
  display: block;
  color: #b42318;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
}

.user-management-stat.is-active strong {
  color: #16844d;
}

.user-management-stat.is-inactive strong {
  color: #b84747;
}

.user-management-stat.is-admin strong {
  color: #6b55b7;
}

.user-management-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe5ec;
  border-radius: 13px;
  box-shadow: 0 5px 14px rgba(20, 62, 91, .04);
}

.user-management-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px;
  border-bottom: 1px solid #e5edf2;
}

.user-management-card-head h2 {
  margin: 0;
  color: #7f1d1d;
  font-size: 18px;
  font-weight: 900;
}

.user-management-card-head p {
  margin: 4px 0 0;
  color: #74889a;
  font-size: 12px;
  line-height: 1.45;
}

.user-management-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.user-management-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
}

.user-management-table th,
.user-management-table td {
  padding: 12px 13px;
  border-bottom: 1px solid #edf2f5;
  text-align: left;
  vertical-align: middle;
}

.user-management-table th {
  color: #667c8d;
  background: #f7fafc;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.user-management-table td {
  color: #344b5e;
  font-size: 12.5px;
  line-height: 1.45;
}

.user-management-table tbody tr:hover {
  background: #f9fbfd;
}

.user-management-table tbody tr:last-child td {
  border-bottom: 0;
}

.user-management-user {
  display: grid;
  gap: 3px;
}

.user-management-user strong {
  color: #203a50;
  font-size: 13px;
  font-weight: 850;
}

.user-management-user small {
  color: #8798a6;
  font-size: 10.5px;
}

.user-management-access {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.user-management-chip,
.user-management-status {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 850;
}

.user-management-chip {
  color: #7f1d1d;
  background: #fef3f2;
}

.user-management-status.is-active {
  color: #14703e;
  background: #e9f8ef;
}

.user-management-status.is-inactive {
  color: #a74040;
  background: #fff0f0;
}

.user-management-empty,
.user-management-loading {
  padding: 30px 18px;
  color: #718597;
  text-align: center;
  font-size: 13px;
}

.user-management-alert,
.user-management-form-message {
  color: #a21d33;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 9px;
  font-size: 12px;
}

.user-management-alert {
  margin-bottom: 14px;
  padding: 11px 13px;
}

.user-management-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid #e5edf2;
}

.user-management-pagination-info {
  color: #74889a;
  font-size: 11px;
  font-weight: 700;
}

.user-management-pagination-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-management-page-current {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #b42318;
  border: 1px solid #b42318;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
}

.user-management-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.user-management-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.user-management-modal[aria-hidden="false"] {
  display: flex;
}

.user-management-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 34, 49, .52);
  backdrop-filter: blur(2px);
}

.user-management-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #dbe5ec;
  border-radius: 15px;
  box-shadow: 0 24px 60px rgba(13, 46, 69, .22);
}

.user-management-modal-dialog.is-compact {
  width: min(100%, 520px);
}

.user-management-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 20px;
  border-bottom: 1px solid #e7eef3;
}

.user-management-modal-head h2 {
  margin: 0;
  color: #7f1d1d;
  font-size: 20px;
  font-weight: 900;
}

.user-management-modal-head p {
  margin: 5px 0 0;
  color: #75899a;
  font-size: 12px;
}

.user-management-modal-close {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  color: #597083;
  background: #f5f8fa;
  border: 0;
  border-radius: 9px;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

#userManagementForm,
#userManagementPasswordForm {
  padding: 20px;
}

.user-management-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.user-management-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.user-management-field.is-wide {
  grid-column: 1 / -1;
}

.user-management-field > span,
.user-management-access-box legend {
  color: #405b70;
  font-size: 11.5px;
  font-weight: 850;
}

.user-management-field input,
.user-management-field select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: #243b53;
  background: #fff;
  border: 1px solid #d6e1e8;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
}

.user-management-field input:focus,
.user-management-field select:focus {
  outline: none;
  border-color: #d9776d;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .10);
}

.user-management-field small {
  color: #8798a6;
  font-size: 10px;
  line-height: 1.4;
}

.user-management-access-box {
  display: grid;
  gap: 9px;
  margin: 17px 0 0;
  padding: 14px;
  border: 1px solid #dbe5ec;
  border-radius: 11px;
}

.user-management-access-box legend {
  padding: 0 5px;
}

.user-management-access-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  background: #f8fbfd;
  border: 1px solid #e4edf2;
  border-radius: 9px;
  cursor: pointer;
}

.user-management-access-option input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #b42318;
}

.user-management-access-option strong {
  display: block;
  color: #27445a;
  font-size: 12px;
}

.user-management-access-option small {
  display: block;
  margin-top: 2px;
  color: #7c8f9f;
  font-size: 10px;
}

.user-management-form-message {
  margin-top: 14px;
  padding: 10px 12px;
  font-size: 11.5px;
}

.user-management-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e7eef3;
}

@media (max-width: 1000px) {
  .user-management-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-management-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .user-management-toolbar-left {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .user-management-stats {
    grid-template-columns: 1fr;
  }

  .user-management-toolbar-left {
    align-items: stretch;
    flex-direction: column;
  }

  .user-management-toolbar input,
  .user-management-toolbar select {
    width: 100%;
    min-width: 0;
  }

  .user-management-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .user-management-pagination-actions {
    justify-content: space-between;
  }

  .user-management-toolbar-actions {
    width: 100%;
  }

  .user-management-toolbar-actions .user-management-button {
    flex: 1 1 0;
  }

  .user-management-modal {
    align-items: flex-end;
    padding: 10px;
  }

  .user-management-modal-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .user-management-form-grid {
    grid-template-columns: 1fr;
  }

  .user-management-field.is-wide {
    grid-column: auto;
  }

  .user-management-modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .user-management-modal-actions .user-management-button {
    width: 100%;
  }

  .user-management-row-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .user-management-row-actions .user-management-button {
    width: 100%;
  }
}

/* =========================================================
   MODUL ARSIP - SISFO LSP APMP
   APPEND KE BAGIAN PALING BAWAH /assets/css/app.css
   Sumber: arsip.css v2.0.0 + refinement V3/V4
   ========================================================= */

.arsip-page {
  display: grid;
  gap: 18px;
}

/* =========================================================
   TOOLBAR
========================================================= */

.arsip-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.arsip-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 680px;
  min-width: 0;
}

.arsip-toolbar input,
.arsip-toolbar select {
  min-height: 42px;
  border: 1px solid #d9dee7;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  outline: none;
}

.arsip-toolbar input {
  flex: 1 1 340px;
  min-width: 220px;
}

.arsip-toolbar select {
  flex: 0 1 220px;
  min-width: 180px;
}

.arsip-toolbar input:focus,
.arsip-toolbar select:focus,
.arsip-form input:focus,
.arsip-form select:focus,
.arsip-form textarea:focus {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08);
}

/* =========================================================
   BUTTONS
========================================================= */

.arsip-btn,
.arsip-action,
.arsip-close {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.arsip-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.18s ease;
  white-space: nowrap;
}

.arsip-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.arsip-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.arsip-btn-primary {
  background: #b42318;
  color: #fff;
}

.arsip-btn-primary:hover:not(:disabled) {
  background: #8f1d14;
}

.arsip-btn-secondary {
  background: #fff;
  color: #334155;
  border: 1px solid #d9dee7;
}

.arsip-btn-secondary:hover:not(:disabled) {
  background: #f8fafc;
}

.arsip-btn-danger {
  background: #dc2626;
  color: #fff;
}

.arsip-btn-danger:hover:not(:disabled) {
  background: #b91c1c;
}

/* =========================================================
   SUMMARY
========================================================= */

.arsip-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.arsip-stat {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.035);
}

.arsip-stat span {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.arsip-stat strong {
  display: block;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
}

/* =========================================================
   CARD + TABLE
========================================================= */

.arsip-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.035);
}

.arsip-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid #edf0f4;
}

.arsip-card-head h2,
.arsip-modal-head h2,
.arsip-form-section h3 {
  margin: 0;
  color: #0f172a;
}

.arsip-card-head h2 {
  font-size: 17px;
}

.arsip-card-head p,
.arsip-modal-head p,
.arsip-section-head p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
}

.arsip-table-wrap {
  overflow-x: auto;
}

.arsip-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.arsip-table th {
  background: #f8fafc;
  color: #475569;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 12px 14px;
  border-bottom: 1px solid #e9edf3;
  white-space: nowrap;
}

.arsip-table td {
  color: #334155;
  font-size: 13px;
  padding: 13px 14px;
  border-bottom: 1px solid #eef2f6;
  vertical-align: middle;
}

.arsip-table tbody tr:last-child td {
  border-bottom: 0;
}

.arsip-table tbody tr:hover {
  background: #fbfdff;
}

.arsip-name {
  display: grid;
  gap: 4px;
  min-width: 210px;
}

.arsip-name strong {
  color: #0f172a;
}

.arsip-name small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  max-width: 360px;
}

.arsip-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fef3f2;
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.arsip-file-count {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.arsip-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.arsip-action {
  background: transparent;
  color: #b42318;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.arsip-action:hover {
  background: #fef3f2;
}

.arsip-action.is-danger {
  color: #dc2626;
}

.arsip-action.is-danger:hover {
  background: #fef2f2;
}

.arsip-loading,
.arsip-empty {
  padding: 28px 18px;
  text-align: center;
  color: #64748b;
}

.arsip-empty strong {
  color: #334155;
}

/* =========================================================
   PAGINATION
========================================================= */

.arsip-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid #edf0f4;
  background: #fff;
}

.arsip-pagination-info {
  color: #64748b;
  font-size: 13px;
}

.arsip-pagination-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.arsip-pagination-current {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #b42318;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

/* =========================================================
   MODAL
========================================================= */

.arsip-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.arsip-modal.is-open {
  display: flex;
}

.arsip-modal.is-nested {
  z-index: 10080;
}

.arsip-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(2px);
}

.arsip-modal-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26);
}

.arsip-modal-dialog.is-wide {
  width: min(1040px, 100%);
}

.arsip-modal-dialog.is-small {
  width: min(500px, 100%);
}

.arsip-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #e8edf3;
}

.arsip-modal-head h2 {
  font-size: 18px;
}

.arsip-close {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #f1f5f9;
  color: #475569;
  font-size: 24px;
  line-height: 1;
}

.arsip-close:hover {
  background: #e2e8f0;
}

.arsip-modal-body {
  padding: 20px;
  overflow-y: auto;
}

.arsip-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #e8edf3;
  background: #fbfcfe;
}

/* =========================================================
   FORM
========================================================= */

.arsip-form-section {
  padding: 16px;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: #fff;
}

.arsip-form-section + .arsip-form-section {
  margin-top: 16px;
}

.arsip-form-section h3 {
  font-size: 15px;
  margin-bottom: 14px;
}

.arsip-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.arsip-field {
  display: grid;
  gap: 7px;
}

.arsip-field.is-wide {
  grid-column: 1 / -1;
}

.arsip-field label {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.arsip-field input,
.arsip-field select,
.arsip-field textarea {
  width: 100%;
  border: 1px solid #d9dee7;
  border-radius: 9px;
  padding: 10px 11px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.arsip-field input,
.arsip-field select {
  min-height: 42px;
}

.arsip-field textarea {
  resize: vertical;
  min-height: 96px;
}

.arsip-inline-control {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.arsip-inline-control select {
  flex: 1 1 auto;
  min-width: 0;
}

.arsip-form-alert {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
}

/* =========================================================
   UPLOAD
========================================================= */

.arsip-upload-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 16px;
  border: 1.5px dashed #e6aaa4;
  border-radius: 12px;
  background: #fffafa;
}

.arsip-upload-box input[type="file"] {
  max-width: 290px;
}

.arsip-upload-copy {
  display: grid;
  gap: 4px;
}

.arsip-upload-copy strong {
  color: #1e293b;
  font-size: 13px;
}

.arsip-upload-copy span {
  color: #64748b;
  font-size: 12px;
}

.arsip-selected-files,
.arsip-existing-files,
.arsip-detail-files {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.arsip-file-list-head {
  padding-bottom: 2px;
  color: #334155;
  font-size: 13px;
}

.arsip-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  background: #fbfcfe;
}

.arsip-file-row > div:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.arsip-file-row strong {
  color: #1e293b;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.arsip-file-row span {
  color: #64748b;
  font-size: 12px;
}

.arsip-file-empty {
  padding: 11px 12px;
  border-radius: 9px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
}

/* =========================================================
   DETAIL
========================================================= */

.arsip-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.arsip-detail-item {
  padding: 12px 14px;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  background: #fbfcfe;
  min-width: 0;
}

.arsip-detail-item.is-wide {
  grid-column: 1 / -1;
}

.arsip-detail-item span {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.arsip-detail-item strong {
  display: block;
  color: #1e293b;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.arsip-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.arsip-section-head h3 {
  margin-bottom: 0;
}

.arsip-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.arsip-legacy-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 12px;
}

/* =========================================================
   TOAST
========================================================= */

.arsip-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10150;
  max-width: min(380px, calc(100vw - 44px));
  padding: 12px 15px;
  border-radius: 11px;
  background: #166534;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.18s ease;
}

.arsip-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

.arsip-toast.is-error {
  background: #b91c1c;
}

/* =========================================================
   PROCESSING OVERLAY
========================================================= */

.arsip-processing {
  position: fixed;
  inset: 0;
  z-index: 10200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
}

.arsip-processing.is-show {
  display: flex;
}

.arsip-processing-card {
  width: min(360px, calc(100vw - 36px));
  padding: 24px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.24);
  text-align: center;
}

.arsip-processing-card strong {
  display: block;
  margin-top: 12px;
  color: #0f172a;
  font-size: 15px;
}

.arsip-processing-card span {
  display: block;
  margin-top: 7px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.arsip-spinner {
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border: 4px solid #f4c7c3;
  border-top-color: #b42318;
  border-radius: 50%;
  animation: arsip-spin 0.8s linear infinite;
}

@keyframes arsip-spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .arsip-stats {
    grid-template-columns: 1fr;
  }

  .arsip-form-grid,
  .arsip-detail-grid {
    grid-template-columns: 1fr;
  }

  .arsip-field.is-wide,
  .arsip-detail-item.is-wide {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .arsip-toolbar,
  .arsip-toolbar-left {
    align-items: stretch;
    flex-direction: column;
  }

  .arsip-toolbar input,
  .arsip-toolbar select,
  .arsip-toolbar .arsip-btn,
  #arsipAdd {
    width: 100%;
  }

  .arsip-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .arsip-pagination-actions {
    justify-content: space-between;
  }

  .arsip-inline-control {
    flex-direction: column;
  }

  .arsip-upload-box {
    align-items: stretch;
    flex-direction: column;
  }

  .arsip-upload-box input[type="file"] {
    max-width: 100%;
    width: 100%;
  }

  .arsip-file-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .arsip-file-row .arsip-actions {
    width: 100%;
  }

  .arsip-modal {
    padding: 10px;
  }

  .arsip-modal-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 13px;
  }

  .arsip-modal-head,
  .arsip-modal-body,
  .arsip-modal-actions {
    padding-left: 14px;
    padding-right: 14px;
  }

  .arsip-modal-actions {
    flex-direction: column-reverse;
  }

  .arsip-modal-actions .arsip-btn {
    width: 100%;
  }

  .arsip-detail-actions {
    flex-direction: column;
  }

  .arsip-detail-actions .arsip-btn {
    width: 100%;
  }
}


/* =========================================================
   ARSIP V3 - FORM / UPLOAD UX REFINEMENT
========================================================= */

.arsip-modal-dialog {
  width: min(920px, calc(100vw - 48px));
}

.arsip-modal-head {
  padding: 20px 24px 16px;
}

.arsip-modal-body {
  padding: 20px 24px 24px;
}

.arsip-modal-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  padding: 14px 24px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
}

.arsip-form-section {
  padding: 18px;
  border-radius: 14px;
}

.arsip-form-section h3 {
  margin-bottom: 16px;
  font-size: 16px;
}

.arsip-form-grid {
  gap: 16px;
}

.arsip-field label {
  font-size: 13px;
  color: #1e293b;
}

.arsip-inline-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.arsip-upload-box {
  min-height: 118px;
  padding: 18px;
  border-width: 2px;
  background: linear-gradient(180deg, #fbfdff 0%, #fef3f2 100%);
  cursor: pointer;
}

.arsip-upload-box:hover {
  border-color: #d9776d;
  background: #fef3f2;
}

.arsip-upload-box input[type="file"] {
  min-width: 300px;
  padding: 8px;
  border: 1px solid #ead8d6;
  border-radius: 10px;
  background: #fff;
}

.arsip-upload-copy strong {
  font-size: 14px;
}

.arsip-upload-copy span {
  font-size: 12px;
  line-height: 1.5;
}

.arsip-file-empty {
  border: 1px dashed #ead8d6;
  background: #f8fafc;
}

.arsip-upload-activity {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #ead8d6;
  border-radius: 12px;
  background: #fbfdff;
}

.arsip-upload-activity-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.arsip-upload-activity-head > div {
  display: grid;
  gap: 4px;
}

.arsip-upload-activity-head strong {
  color: #0f172a;
  font-size: 13px;
}

.arsip-upload-activity-head span {
  color: #64748b;
  font-size: 12px;
}

#arsipUploadActivityPercent {
  color: #b42318;
  font-weight: 800;
}

.arsip-progress {
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #f4dedb;
}

.arsip-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: #b42318;
  transition: width .25s ease;
}

.arsip-progress-bar.is-done {
  background: #16a34a;
}

.arsip-upload-activity-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  max-height: 180px;
  overflow-y: auto;
}

.arsip-upload-activity-item {
  display: grid;
  grid-template-columns: 12px minmax(0,1fr);
  gap: 9px;
  align-items: center;
  padding: 8px 9px;
  border-radius: 9px;
  background: #f8fafc;
}

.arsip-upload-activity-item > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.arsip-upload-activity-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #334155;
  font-size: 12px;
}

.arsip-upload-activity-item small {
  color: #64748b;
  font-size: 11px;
}

.arsip-upload-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cbd5e1;
}

.arsip-upload-dot.is-active {
  background: #b42318;
  box-shadow: 0 0 0 4px rgba(180,35,24,.10);
  animation: arsip-pulse 1s ease-in-out infinite;
}

.arsip-upload-dot.is-done {
  background: #16a34a;
}

@keyframes arsip-pulse {
  50% {
    opacity: .45;
  }
}

.arsip-upload-activity-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: #64748b;
  font-size: 11px;
}

#arsipUploadResult {
  font-weight: 800;
  color: #166534;
}

@media (max-width: 720px) {
  .arsip-modal-dialog {
    width: 100%;
  }

  .arsip-inline-control {
    grid-template-columns: 1fr;
  }

  .arsip-upload-box input[type="file"] {
    min-width: 0;
    width: 100%;
  }
}


/* =========================================================
   ARSIP V4 - MODAL SCROLL FIX
   Memastikan bagian File Arsip, aktivitas upload, dan tombol
   Simpan selalu dapat dijangkau pada layar pendek.
========================================================= */

.arsip-modal {
  overflow: hidden;
}

.arsip-modal-dialog {
  height: auto;
  max-height: calc(100dvh - 32px);
  min-height: 0;
}

/*
 * Form adalah child langsung dari dialog.
 * Form harus ikut menjadi flex container agar .arsip-modal-body
 * benar-benar mendapatkan area scroll sendiri.
 */
.arsip-modal-dialog > .arsip-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.arsip-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar dibuat terlihat supaya jelas bahwa modal bisa digeser. */
.arsip-modal-body::-webkit-scrollbar {
  width: 10px;
}

.arsip-modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 999px;
}

.arsip-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
  border: 2px solid #f1f5f9;
}

.arsip-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/*
 * Footer tetap menempel di bawah dialog.
 * Tidak ikut menghilang ketika body discroll.
 */
.arsip-modal-actions {
  position: relative;
  flex: 0 0 auto;
  bottom: auto;
}

/*
 * Beri ruang bawah agar bagian aktivitas upload tidak tertutup.
 */
.arsip-modal-body > *:last-child {
  margin-bottom: 4px;
}

/*
 * Detail modal bukan form, jadi body-nya tetap harus flex-scroll.
 */
.arsip-modal-dialog.is-wide > .arsip-modal-body,
.arsip-modal-dialog.is-small > .arsip-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/*
 * Pada layar laptop seperti 1366/768 atau 1600/900,
 * dialog dibuat sedikit lebih pendek supaya tidak menempel
 * ke taskbar/browser chrome.
 */
@media (max-height: 820px) {
  .arsip-modal {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .arsip-modal-dialog {
    max-height: calc(100dvh - 24px);
  }

  .arsip-modal-head {
    padding-top: 15px;
    padding-bottom: 13px;
  }

  .arsip-modal-body {
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .arsip-form-section {
    padding: 15px;
  }
}

@media (max-width: 720px) {
  .arsip-modal {
    padding: 8px;
  }

  .arsip-modal-dialog {
    max-height: calc(100dvh - 16px);
  }

  .arsip-modal-body {
    padding-bottom: 20px;
  }
}

/* =========================================================
   DOKUMEN ASESMEN
   SISFO LSP APMP
   Style mengikuti pola halaman Asesor
========================================================= */

:root {
  --da-bg: #f5f7fb;
  --da-card: #ffffff;
  --da-border: #e4e8f0;
  --da-text: #172033;
  --da-muted: #6b7280;
  --da-primary: #2563eb;
  --da-primary-soft: #eff6ff;
  --da-success: #15803d;
  --da-success-soft: #ecfdf3;
  --da-danger: #b42318;
  --da-danger-soft: #fef3f2;
  --da-warning: #b54708;
  --da-warning-soft: #fffaeb;
}

.adm-da-page,
.adm-da-page * {
  box-sizing: border-box;
}

.adm-da-page {
  display: grid;
  gap: 18px;
}


/* =========================================================
   ALERT
========================================================= */

.adm-da-alert {
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
}

.adm-da-alert.success {
  background: var(--da-success-soft);
  color: var(--da-success);
}

.adm-da-alert.error {
  background: var(--da-danger-soft);
  color: var(--da-danger);
}


/* =========================================================
   TOOLBAR
========================================================= */

.adm-da-toolbar {
  display: grid;
  grid-template-columns:
    minmax(320px, 2fr)
    minmax(170px, .9fr)
    minmax(170px, .9fr)
    auto;
  gap: 10px;
  align-items: center;
}

.adm-da-toolbar input,
.adm-da-toolbar select,
.adm-da-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--da-border);
  border-radius: 10px;
  background: #fff;
  color: var(--da-text);
  padding: 10px 12px;
  outline: none;
  font: inherit;
  font-size: 13px;
}

.adm-da-toolbar input:focus,
.adm-da-toolbar select:focus,
.adm-da-form input:focus {
  border-color: #93b4ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}


/* =========================================================
   BUTTON
========================================================= */

.adm-da-btn {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.adm-da-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.adm-da-btn.primary {
  background: var(--da-primary);
  color: #fff;
}

.adm-da-btn.ghost {
  background: #fff;
  color: var(--da-text);
  border: 1px solid var(--da-border);
}

.adm-da-btn.danger {
  background: var(--da-danger);
  color: #fff;
}


/* =========================================================
   CARD
========================================================= */

.adm-da-card {
  background: var(--da-card);
  border: 1px solid var(--da-border);
  border-radius: 14px;
  overflow: hidden;
}


/* =========================================================
   TABLE
========================================================= */

.adm-da-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.adm-da-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
}


/*
 * Proporsi kolom list.
 * ID Kegiatan dibuat lebih lebar.
 * Skema sedikit diperkecil.
 */
.adm-da-card > .adm-da-table-wrap > .adm-da-table th:nth-child(1),
.adm-da-card > .adm-da-table-wrap > .adm-da-table td:nth-child(1) {
  width: 44px;
}

.adm-da-card > .adm-da-table-wrap > .adm-da-table th:nth-child(2),
.adm-da-card > .adm-da-table-wrap > .adm-da-table td:nth-child(2) {
  width: 165px;
  min-width: 165px;
}

.adm-da-card > .adm-da-table-wrap > .adm-da-table th:nth-child(3),
.adm-da-card > .adm-da-table-wrap > .adm-da-table td:nth-child(3) {
  width: 170px;
}

.adm-da-card > .adm-da-table-wrap > .adm-da-table th:nth-child(4),
.adm-da-card > .adm-da-table-wrap > .adm-da-table td:nth-child(4) {
  width: 250px;
  max-width: 250px;
}

.adm-da-card > .adm-da-table-wrap > .adm-da-table th:nth-child(5),
.adm-da-card > .adm-da-table-wrap > .adm-da-table td:nth-child(5) {
  width: 195px;
}

.adm-da-card > .adm-da-table-wrap > .adm-da-table th:nth-child(6),
.adm-da-card > .adm-da-table-wrap > .adm-da-table td:nth-child(6) {
  width: 75px;
}

.adm-da-card > .adm-da-table-wrap > .adm-da-table th:nth-child(7),
.adm-da-card > .adm-da-table-wrap > .adm-da-table td:nth-child(7) {
  width: 100px;
}

.adm-da-card > .adm-da-table-wrap > .adm-da-table th:nth-child(8),
.adm-da-card > .adm-da-table-wrap > .adm-da-table td:nth-child(8) {
  width: 135px;
}

.adm-da-card > .adm-da-table-wrap > .adm-da-table th:nth-child(9),
.adm-da-card > .adm-da-table-wrap > .adm-da-table td:nth-child(9) {
  width: 82px;
}

.adm-da-table th,
.adm-da-table td {
  border-bottom: 1px solid var(--da-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.adm-da-table th {
  background: #fafbfc;
  color: var(--da-muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.adm-da-table td {
  color: var(--da-text);
  font-size: 13px;
  line-height: 1.45;
}

.adm-da-table tbody tr:last-child td {
  border-bottom: 0;
}

.adm-da-name {
  display: grid;
  gap: 3px;
}

.adm-da-name strong {
  font-size: 14px;
}

.adm-da-name small,
.adm-da-sub {
  color: var(--da-muted);
  font-size: 12px;
}


.adm-da-multi-value {
  min-width: 0;
}

.adm-da-numbered-list {
  margin: 0;
  padding-left: 20px;
}

.adm-da-numbered-list li {
  margin: 0 0 3px;
  padding-left: 1px;
  line-height: 1.4;
}

.adm-da-numbered-list li:last-child {
  margin-bottom: 0;
}


/* =========================================================
   BADGE
========================================================= */

.adm-da-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--da-primary-soft);
  color: var(--da-primary);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.adm-da-badge.is-pleno {
  background: var(--da-warning-soft);
  color: var(--da-warning);
}

.adm-da-badge.is-selesai,
.adm-da-badge.is-generated {
  background: var(--da-success-soft);
  color: var(--da-success);
}

.adm-da-badge.is-belum {
  background: #f3f4f6;
  color: #4b5563;
}


/* =========================================================
   ROW ACTION
========================================================= */

.adm-da-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.adm-da-action {
  border: 1px solid var(--da-border);
  background: #fff;
  color: var(--da-text);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.adm-da-action.primary {
  background: var(--da-primary);
  border-color: var(--da-primary);
  color: #fff;
}


/* =========================================================
   PAGINATION
   Pola mengikuti halaman Asesor
========================================================= */

.adm-da-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: var(--da-muted);
  background: #fbfdff;
  border-top: 1px solid #e7eef3;
  font-size: 11px;
}

.adm-da-pagination {
  display: flex;
  align-items: center;
  gap: 9px;
}

.adm-da-pagination-button {
  min-width: 32px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--da-border);
  border-radius: 7px;
  background: #fff;
  color: var(--da-text);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.adm-da-pagination-button:hover:not(:disabled) {
  color: var(--da-primary);
  background: var(--da-primary-soft);
  border-color: #bfd3ff;
}

.adm-da-pagination-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.adm-da-pagination-current {
  display: inline-flex;
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--da-primary);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.adm-da-empty {
  padding: 34px 20px !important;
  text-align: center !important;
  color: var(--da-muted) !important;
}


/* =========================================================
   MODAL / DETAIL
   Dibuat lebih lebar agar tidak terlalu panjang ke bawah
========================================================= */

.adm-da-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  overflow: auto;
  padding: 14px;
  background: rgba(17, 24, 39, .52);
}

.adm-da-modal.open {
  display: block;
}

.adm-da-modal-card {
  position: relative;
  width: min(1220px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: hidden;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}

.adm-da-modal-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 17px 20px;
  border-bottom: 1px solid var(--da-border);
  background: #fff;
}

.adm-da-modal-head h2 {
  margin: 0;
  font-size: 20px;
}

.adm-da-modal-head p {
  margin: 5px 0 0;
  color: var(--da-muted);
  font-size: 13px;
}

.adm-da-close {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.adm-da-modal-body {
  max-height: calc(100vh - 92px);
  overflow: auto;
  padding: 18px 20px 0;
}


/* =========================================================
   DETAIL SUMMARY
========================================================= */

.adm-da-detail-top {
  margin-bottom: 12px;
}

.adm-da-info {
  display: grid;
  grid-template-columns: 1.15fr 1.6fr .8fr .65fr;
  gap: 10px;
}

.adm-da-info > div {
  min-width: 0;
  min-height: 68px;
  border: 1px solid var(--da-border);
  border-radius: 10px;
  padding: 11px 12px;
  display: grid;
  align-content: center;
  gap: 5px;
  background: #fff;
}

.adm-da-info small {
  color: var(--da-muted);
  font-size: 11px;
  font-weight: 700;
}

.adm-da-info strong {
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}


/* =========================================================
   DETAIL CARDS
========================================================= */

.adm-da-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
  align-items: start;
}

.adm-da-detail-card {
  min-width: 0;
  border: 1px solid var(--da-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.adm-da-detail-card-head {
  padding: 13px 14px 11px;
  border-bottom: 1px solid var(--da-border);
  background: #fafbfc;
}

.adm-da-detail-card-head h3 {
  margin: 0;
  color: var(--da-text);
  font-size: 14px;
  font-weight: 800;
}

.adm-da-detail-card-head p {
  margin: 4px 0 0;
  color: var(--da-muted);
  font-size: 11.5px;
  line-height: 1.45;
}


/* =========================================================
   FORM
   6 field = 3 kolom x 2 baris
========================================================= */

.adm-da-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  padding: 13px 14px 14px;
}

.adm-da-form label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #374151;
  font-size: 11.5px;
  font-weight: 800;
}

.adm-da-form label span {
  display: block;
  min-height: 16px;
}

.adm-da-form label em {
  color: var(--da-muted);
  font-style: normal;
  font-weight: 600;
}

.adm-da-form input {
  min-height: 40px;
  padding: 9px 10px;
}


/* =========================================================
   DOCUMENT CARDS
========================================================= */

.adm-da-docgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 13px 14px 14px;
}

.adm-da-doc {
  min-width: 0;
  min-height: 70px;
  border: 1px solid var(--da-border);
  border-radius: 9px;
  padding: 10px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  background: #fff;
}

.adm-da-doc strong {
  display: block;
  color: var(--da-text);
  font-size: 12px;
  line-height: 1.35;
}

.adm-da-doclinks {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.adm-da-doclinks .adm-da-btn {
  min-height: 29px;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 10.5px;
}


/* =========================================================
   PARTICIPANT DETAIL
========================================================= */

.adm-da-detail-card-participants {
  margin-top: 12px;
}

.adm-da-detail-table-wrap {
  max-height: 290px;
  overflow: auto;
}

.adm-da-detail-table {
  min-width: 900px;
}

.adm-da-detail-table th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.adm-da-detail-table th,
.adm-da-detail-table td {
  padding: 10px 12px;
}


/* =========================================================
   MODAL ACTION
========================================================= */

.adm-da-modal-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 14px -20px 0;
  padding: 12px 20px;
  border-top: 1px solid var(--da-border);
  background: #fff;
}

.adm-da-modal-actions .adm-da-btn {
  min-width: 138px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

  .adm-da-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adm-da-toolbar > input:first-child {
    grid-column: 1 / -1;
  }

  .adm-da-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adm-da-detail-grid {
    grid-template-columns: 1fr;
  }

  .adm-da-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .adm-da-docgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


@media (max-width: 760px) {

  .adm-da-toolbar,
  .adm-da-info,
  .adm-da-form,
  .adm-da-docgrid {
    grid-template-columns: 1fr;
  }

  .adm-da-toolbar > input:first-child {
    grid-column: auto;
  }

  .adm-da-toolbar .adm-da-btn {
    width: 100%;
  }

  .adm-da-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .adm-da-modal {
    padding: 0;
  }

  .adm-da-modal-card {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .adm-da-modal-body {
    max-height: calc(100vh - 78px);
    padding: 14px 14px 0;
  }

  .adm-da-modal-actions {
    margin: 14px -14px 0;
    padding: 11px 14px;
    flex-direction: column-reverse;
  }

  .adm-da-modal-actions .adm-da-btn {
    width: 100%;
  }
}


/* =========================================================
   PROCESS / PROGRESS INDICATOR
========================================================= */

.adm-da-process-overlay[hidden] {
  display: none !important;
}

.adm-da-process-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(3px);
}

.adm-da-modal-card {
  position: relative;
}

.adm-da-process-card {
  width: min(480px, 92%);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--da-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
}

.adm-da-process-spinner {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border: 4px solid #dbeafe;
  border-top-color: var(--da-primary);
  border-radius: 999px;
  animation: admDaSpin .78s linear infinite;
}

.adm-da-process-overlay.is-delete .adm-da-process-spinner {
  border-color: #fee2e2;
  border-top-color: var(--da-danger);
}

.adm-da-process-content {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 7px;
}

.adm-da-process-content strong {
  color: var(--da-text);
  font-size: 15px;
  font-weight: 800;
}

.adm-da-process-content > span {
  min-height: 38px;
  color: var(--da-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.adm-da-process-content small {
  color: var(--da-muted);
  font-size: 11px;
  font-weight: 700;
}

.adm-da-process-bar {
  position: relative;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.adm-da-process-bar > span {
  position: absolute;
  inset-block: 0;
  left: -35%;
  width: 35%;
  border-radius: inherit;
  background: var(--da-primary);
  animation: admDaProgress 1.25s ease-in-out infinite;
}

.adm-da-process-overlay.is-delete .adm-da-process-bar > span {
  background: var(--da-danger);
}

@keyframes admDaSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes admDaProgress {
  0% {
    left: -35%;
  }

  100% {
    left: 100%;
  }
}

@media (max-width: 760px) {

  .adm-da-process-overlay {
    padding: 16px;
  }

  .adm-da-process-card {
    width: 100%;
  }
}

/* =========================================================
   DOKUMEN HASIL UJI
   SISFO LSP APMP
   Style mengikuti pola halaman Asesor
========================================================= */

:root {
  --dhu-bg: #f5f7fb;
  --dhu-card: #ffffff;
  --dhu-border: #e4e8f0;
  --dhu-text: #172033;
  --dhu-muted: #6b7280;
  --dhu-primary: #2563eb;
  --dhu-primary-soft: #eff6ff;
  --dhu-success: #15803d;
  --dhu-success-soft: #ecfdf3;
  --dhu-danger: #b42318;
  --dhu-danger-soft: #fef3f2;
  --dhu-warning: #b54708;
  --dhu-warning-soft: #fffaeb;
}

.adm-dhu-page,
.adm-dhu-page * {
  box-sizing: border-box;
}

.adm-dhu-page {
  display: grid;
  gap: 18px;
}


/* =========================================================
   ALERT
========================================================= */

.adm-dhu-alert {
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
}

.adm-dhu-alert.success {
  background: var(--dhu-success-soft);
  color: var(--dhu-success);
}

.adm-dhu-alert.error {
  background: var(--dhu-danger-soft);
  color: var(--dhu-danger);
}


/* =========================================================
   TOOLBAR
========================================================= */

.adm-dhu-toolbar {
  display: grid;
  grid-template-columns:
    minmax(280px, 1fr)
    minmax(180px, 300px)
    minmax(140px, 180px);
  gap: 10px;
  align-items: center;
}

.adm-dhu-toolbar input,
.adm-dhu-toolbar select,
.adm-dhu-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--dhu-border);
  border-radius: 10px;
  background: #fff;
  color: var(--dhu-text);
  padding: 10px 12px;
  outline: none;
  font: inherit;
  font-size: 13px;
}

.adm-dhu-toolbar input:focus,
.adm-dhu-toolbar select:focus,
.adm-dhu-form input:focus {
  border-color: #93b4ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}


/* =========================================================
   BUTTON
========================================================= */

.adm-dhu-btn {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.adm-dhu-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.adm-dhu-btn.primary {
  background: var(--dhu-primary);
  color: #fff;
}

.adm-dhu-btn.ghost {
  background: #fff;
  color: var(--dhu-text);
  border: 1px solid var(--dhu-border);
}

.adm-dhu-btn.danger {
  background: var(--dhu-danger);
  color: #fff;
}


/* =========================================================
   CARD
========================================================= */

.adm-dhu-card {
  background: var(--dhu-card);
  border: 1px solid var(--dhu-border);
  border-radius: 14px;
  overflow: hidden;
}


/* =========================================================
   TABLE
========================================================= */

.adm-dhu-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.adm-dhu-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}


/*
 * Proporsi kolom list utama setelah kolom Status dihapus.
 * Total dibuat proporsional agar tabel pas di area konten.
 * Asesor dan Tim Pleno tetap mendapat ruang terbesar.
 */
.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table th:nth-child(1),
.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table td:nth-child(1) {
  width: 14%;
}

.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table th:nth-child(2),
.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table td:nth-child(2) {
  width: 10%;
}

.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table th:nth-child(3),
.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table td:nth-child(3) {
  width: 11%;
}

.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table th:nth-child(4),
.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table td:nth-child(4) {
  width: 22%;
}

.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table th:nth-child(5),
.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table td:nth-child(5) {
  width: 21%;
}

.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table th:nth-child(6),
.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table td:nth-child(6) {
  width: 6%;
  text-align: center;
}

.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table th:nth-child(7),
.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table td:nth-child(7) {
  width: 10%;
}

.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table th:nth-child(8),
.adm-dhu-card > .adm-dhu-table-wrap > .adm-dhu-table td:nth-child(8) {
  width: 6%;
}

.adm-dhu-table th,
.adm-dhu-table td {
  border-bottom: 1px solid var(--dhu-border);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.adm-dhu-table th {
  background: #fafbfc;
  color: var(--dhu-muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.adm-dhu-table td {
  color: var(--dhu-text);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: normal;
}

.adm-dhu-table tbody tr:last-child td {
  border-bottom: 0;
}

.adm-dhu-name {
  display: grid;
  gap: 3px;
}

.adm-dhu-name strong {
  font-size: 14px;
}

.adm-dhu-name small,
.adm-dhu-sub {
  color: var(--dhu-muted);
  font-size: 12px;
}


.adm-dhu-multi-value {
  min-width: 0;
}

.adm-dhu-numbered-list {
  margin: 0;
  padding-left: 20px;
}

.adm-dhu-numbered-list li {
  margin: 0 0 3px;
  padding-left: 1px;
  line-height: 1.4;
}

.adm-dhu-numbered-list li:last-child {
  margin-bottom: 0;
}


/* =========================================================
   BADGE
========================================================= */

.adm-dhu-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--dhu-primary-soft);
  color: var(--dhu-primary);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.adm-dhu-badge.is-pleno {
  background: var(--dhu-warning-soft);
  color: var(--dhu-warning);
}

.adm-dhu-badge.is-selesai,
.adm-dhu-badge.is-generated {
  background: var(--dhu-success-soft);
  color: var(--dhu-success);
}

.adm-dhu-badge.is-belum {
  background: #f3f4f6;
  color: #4b5563;
}


/* =========================================================
   ROW ACTION
========================================================= */

.adm-dhu-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.adm-dhu-action {
  border: 1px solid var(--dhu-border);
  background: #fff;
  color: var(--dhu-text);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.adm-dhu-action.primary {
  background: var(--dhu-primary);
  border-color: var(--dhu-primary);
  color: #fff;
}


/* =========================================================
   PAGINATION
   Pola mengikuti halaman Asesor
========================================================= */

.adm-dhu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: var(--dhu-muted);
  background: #fbfdff;
  border-top: 1px solid #e7eef3;
  font-size: 11px;
}

.adm-dhu-pagination {
  display: flex;
  align-items: center;
  gap: 9px;
}

.adm-dhu-pagination-button {
  min-width: 32px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--dhu-border);
  border-radius: 7px;
  background: #fff;
  color: var(--dhu-text);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.adm-dhu-pagination-button:hover:not(:disabled) {
  color: var(--dhu-primary);
  background: var(--dhu-primary-soft);
  border-color: #bfd3ff;
}

.adm-dhu-pagination-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.adm-dhu-pagination-current {
  display: inline-flex;
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--dhu-primary);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.adm-dhu-empty {
  padding: 34px 20px !important;
  text-align: center !important;
  color: var(--dhu-muted) !important;
}


/* =========================================================
   MODAL / DETAIL
   Dibuat lebih lebar agar tidak terlalu panjang ke bawah
========================================================= */

.adm-dhu-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  overflow: auto;
  padding: 14px;
  background: rgba(17, 24, 39, .52);
}

.adm-dhu-modal.open {
  display: block;
}

.adm-dhu-modal-card {
  position: relative;
  width: min(1220px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: hidden;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}

.adm-dhu-modal-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 17px 20px;
  border-bottom: 1px solid var(--dhu-border);
  background: #fff;
}

.adm-dhu-modal-head h2 {
  margin: 0;
  font-size: 20px;
}

.adm-dhu-modal-head p {
  margin: 5px 0 0;
  color: var(--dhu-muted);
  font-size: 13px;
}

.adm-dhu-close {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.adm-dhu-modal-body {
  max-height: calc(100vh - 92px);
  overflow: auto;
  padding: 18px 20px 0;
}


/* =========================================================
   DETAIL SUMMARY
========================================================= */

.adm-dhu-detail-top {
  margin-bottom: 12px;
}

.adm-dhu-info {
  display: grid;
  grid-template-columns: 1.15fr 1.6fr .8fr .65fr;
  gap: 10px;
}

.adm-dhu-info > div {
  min-width: 0;
  min-height: 68px;
  border: 1px solid var(--dhu-border);
  border-radius: 10px;
  padding: 11px 12px;
  display: grid;
  align-content: center;
  gap: 5px;
  background: #fff;
}

.adm-dhu-info small {
  color: var(--dhu-muted);
  font-size: 11px;
  font-weight: 700;
}

.adm-dhu-info strong {
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}


/* =========================================================
   DETAIL CARDS
========================================================= */

.adm-dhu-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
  align-items: start;
}

.adm-dhu-detail-card {
  min-width: 0;
  border: 1px solid var(--dhu-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.adm-dhu-detail-card-head {
  padding: 13px 14px 11px;
  border-bottom: 1px solid var(--dhu-border);
  background: #fafbfc;
}

.adm-dhu-detail-card-head h3 {
  margin: 0;
  color: var(--dhu-text);
  font-size: 14px;
  font-weight: 800;
}

.adm-dhu-detail-card-head p {
  margin: 4px 0 0;
  color: var(--dhu-muted);
  font-size: 11.5px;
  line-height: 1.45;
}


/* =========================================================
   FORM
   6 field = 3 kolom x 2 baris
========================================================= */

.adm-dhu-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  padding: 13px 14px 14px;
}

.adm-dhu-form label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #374151;
  font-size: 11.5px;
  font-weight: 800;
}

.adm-dhu-form label span {
  display: block;
  min-height: 16px;
}

.adm-dhu-form label em {
  color: var(--dhu-muted);
  font-style: normal;
  font-weight: 600;
}

.adm-dhu-form input {
  min-height: 40px;
  padding: 9px 10px;
}


/* =========================================================
   DOCUMENT CARDS
========================================================= */

.adm-dhu-docgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 13px 14px 14px;
}

.adm-dhu-doc {
  min-width: 0;
  min-height: 70px;
  border: 1px solid var(--dhu-border);
  border-radius: 9px;
  padding: 10px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  background: #fff;
}

.adm-dhu-doc strong {
  display: block;
  color: var(--dhu-text);
  font-size: 12px;
  line-height: 1.35;
}

.adm-dhu-doclinks {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.adm-dhu-doclinks .adm-dhu-btn {
  min-height: 29px;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 10.5px;
}


/* =========================================================
   PARTICIPANT DETAIL
========================================================= */

.adm-dhu-detail-card-participants {
  margin-top: 12px;
}

.adm-dhu-detail-table-wrap {
  max-height: 290px;
  overflow: auto;
}

.adm-dhu-detail-table {
  min-width: 900px;
}

.adm-dhu-detail-table th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.adm-dhu-detail-table th,
.adm-dhu-detail-table td {
  padding: 10px 12px;
}


/* =========================================================
   MODAL ACTION
========================================================= */

.adm-dhu-modal-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 14px -20px 0;
  padding: 12px 20px;
  border-top: 1px solid var(--dhu-border);
  background: #fff;
}

.adm-dhu-modal-actions .adm-dhu-btn {
  min-width: 138px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1250px) {
  .adm-dhu-table {
    min-width: 900px;
    table-layout: fixed;
  }
}

@media (max-width: 1100px) {

  .adm-dhu-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adm-dhu-toolbar > input:first-child {
    grid-column: 1 / -1;
  }

  .adm-dhu-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adm-dhu-detail-grid {
    grid-template-columns: 1fr;
  }

  .adm-dhu-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .adm-dhu-docgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


@media (max-width: 760px) {

  .adm-dhu-toolbar,
  .adm-dhu-info,
  .adm-dhu-form,
  .adm-dhu-docgrid {
    grid-template-columns: 1fr;
  }

  .adm-dhu-toolbar > input:first-child {
    grid-column: auto;
  }

  .adm-dhu-toolbar .adm-dhu-btn {
    width: 100%;
  }

  .adm-dhu-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .adm-dhu-modal {
    padding: 0;
  }

  .adm-dhu-modal-card {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .adm-dhu-modal-body {
    max-height: calc(100vh - 78px);
    padding: 14px 14px 0;
  }

  .adm-dhu-modal-actions {
    margin: 14px -14px 0;
    padding: 11px 14px;
    flex-direction: column-reverse;
  }

  .adm-dhu-modal-actions .adm-dhu-btn {
    width: 100%;
  }
}


/* =========================================================
   PROCESS / PROGRESS INDICATOR
========================================================= */

.adm-dhu-process-overlay[hidden] {
  display: none !important;
}

.adm-dhu-process-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(3px);
}

.adm-dhu-modal-card {
  position: relative;
}

.adm-dhu-process-card {
  width: min(480px, 92%);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--dhu-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
}

.adm-dhu-process-spinner {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border: 4px solid #dbeafe;
  border-top-color: var(--dhu-primary);
  border-radius: 999px;
  animation: admDhuSpin .78s linear infinite;
}

.adm-dhu-process-overlay.is-delete .adm-dhu-process-spinner {
  border-color: #fee2e2;
  border-top-color: var(--dhu-danger);
}

.adm-dhu-process-content {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 7px;
}

.adm-dhu-process-content strong {
  color: var(--dhu-text);
  font-size: 15px;
  font-weight: 800;
}

.adm-dhu-process-content > span {
  min-height: 38px;
  color: var(--dhu-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.adm-dhu-process-content small {
  color: var(--dhu-muted);
  font-size: 11px;
  font-weight: 700;
}

.adm-dhu-process-bar {
  position: relative;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.adm-dhu-process-bar > span {
  position: absolute;
  inset-block: 0;
  left: -35%;
  width: 35%;
  border-radius: inherit;
  background: var(--dhu-primary);
  animation: admDhuProgress 1.25s ease-in-out infinite;
}

.adm-dhu-process-overlay.is-delete .adm-dhu-process-bar > span {
  background: var(--dhu-danger);
}

@keyframes admDhuSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes admDhuProgress {
  0% {
    left: -35%;
  }

  100% {
    left: 100%;
  }
}

@media (max-width: 760px) {

  .adm-dhu-process-overlay {
    padding: 16px;
  }

  .adm-dhu-process-card {
    width: 100%;
  }
}


/* =========================================================
   DETAIL FORM REFINEMENT
   Dokumen Hasil Uji
========================================================= */

.adm-dhu-info {
  grid-template-columns: 1.05fr 1.45fr .75fr;
}

.adm-dhu-info-note {
  color: var(--dhu-muted);
  font-size: 10.5px;
  font-weight: 600;
}

.adm-dhu-detail-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .85fr);
  gap: 14px;
}

.adm-dhu-detail-card-settings {
  overflow: visible;
}

.adm-dhu-form.adm-dhu-form-refined {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}

.adm-dhu-form-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--dhu-border);
}

.adm-dhu-form-section:last-child {
  border-bottom: 0;
}

.adm-dhu-form-section-chair {
  background: #fbfdff;
}

.adm-dhu-form-section-head {
  display: grid;
  gap: 3px;
}

.adm-dhu-form-section-head strong {
  color: var(--dhu-text);
  font-size: 12.5px;
  font-weight: 850;
}

.adm-dhu-form-section-head small {
  color: var(--dhu-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.adm-dhu-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 12px;
}

.adm-dhu-form .adm-dhu-field {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #374151;
  font-size: 11.5px;
  font-weight: 800;
}

.adm-dhu-form .adm-dhu-field > span {
  display: block;
  min-height: 16px;
}

.adm-dhu-form .adm-dhu-field em {
  color: var(--dhu-muted);
  font-style: normal;
  font-weight: 600;
}

.adm-dhu-form .adm-dhu-field input,
.adm-dhu-form .adm-dhu-field select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--dhu-border);
  border-radius: 10px;
  background: #fff;
  color: var(--dhu-text);
  padding: 9px 11px;
  outline: none;
  font: inherit;
  font-size: 13px;
}

.adm-dhu-form .adm-dhu-field select {
  cursor: pointer;
}

.adm-dhu-form .adm-dhu-field input:focus,
.adm-dhu-form .adm-dhu-field select:focus {
  border-color: #93b4ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.adm-dhu-form .adm-dhu-field input::placeholder {
  color: #9ca3af;
  font-weight: 600;
}

.adm-dhu-field-full {
  width: 100%;
}

.adm-dhu-detail-card-head-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.adm-dhu-folder-link {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 10px;
  font-size: 10.5px;
}

.adm-dhu-docgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adm-dhu-doc {
  min-height: 78px;
  padding: 11px;
}

.adm-dhu-doclinks {
  align-items: center;
}

.adm-dhu-detail-card-participants + .adm-dhu-detail-card-participants {
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .adm-dhu-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adm-dhu-detail-grid {
    grid-template-columns: 1fr;
  }

  .adm-dhu-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .adm-dhu-info,
  .adm-dhu-field-grid {
    grid-template-columns: 1fr;
  }

  .adm-dhu-detail-card-head-flex {
    align-items: flex-start;
    flex-direction: column;
  }

  .adm-dhu-folder-link {
    width: 100%;
  }
}

/* =========================================================
 * SISFO LSP APMP — ENTRY DATA
 * KONSISTEN DENGAN MODUL ADMIN LAIN
 * ========================================================= */

.entry-data-page{
  min-width:0;
}

.entry-data-summary{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin-bottom:18px;
}

.entry-data-summary-card{
  background:#fff;
  border:1px solid #e7eaf0;
  border-radius:14px;
  padding:16px 18px;
  min-width:0;
}

.entry-data-summary-label{
  font-size:13px;
  line-height:1.45;
  color:#6b7280;
  margin-bottom:6px;
}

.entry-data-summary-value{
  font-size:26px;
  line-height:1.15;
  font-weight:700;
  color:#111827;
}

/* =========================================================
 * TOOLBAR
 * ========================================================= */

.entry-data-toolbar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.entry-data-search{
  flex:1 1 320px;
  min-width:240px;
}

.entry-data-filter{
  flex:0 0 190px;
}

.entry-data-toolbar input,
.entry-data-toolbar select{
  width:100%;
  min-height:42px;
  padding:9px 13px;
  border:1px solid #d9dee8;
  border-radius:10px;
  background:#fff;
  color:#111827;
  font-size:14px;
  outline:none;
  box-sizing:border-box;
}

.entry-data-toolbar input:focus,
.entry-data-toolbar select:focus{
  border-color:#9ca3af;
}

.entry-data-actions{
  display:flex;
  gap:8px;
  align-items:center;
  margin-left:auto;
}

/* =========================================================
 * BUTTON
 * ========================================================= */

.entry-data-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:40px;
  padding:8px 13px;
  border-radius:10px;
  border:1px solid #d9dee8;
  background:#fff;
  color:#111827;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  text-decoration:none;
  white-space:nowrap;
  box-sizing:border-box;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}

.entry-data-btn:hover{
  background:#f8fafc;
  border-color:#cbd5e1;
}

.entry-data-btn:active{
  transform:translateY(1px);
}

.entry-data-btn:disabled{
  cursor:not-allowed;
  opacity:.55;
  transform:none;
}

.entry-data-btn-primary{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.entry-data-btn-primary:hover{
  background:#1f2937;
  border-color:#1f2937;
}

/* =========================================================
 * TABLE UMUM
 * ========================================================= */

.entry-data-table-card{
  background:#fff;
  border:1px solid #e7eaf0;
  border-radius:14px;
  overflow:hidden;
}

.entry-data-table-wrap{
  width:100%;
  overflow-x:auto;
}

.entry-data-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}

.entry-data-table th,
.entry-data-table td{
  padding:12px 11px;
  border-bottom:1px solid #edf0f4;
  text-align:left;
  vertical-align:middle;
  font-size:13px;
  line-height:1.45;
}

.entry-data-table th{
  background:#f8fafc;
  color:#4b5563;
  font-weight:700;
  white-space:nowrap;
}

.entry-data-table td{
  color:#111827;
  overflow-wrap:anywhere;
}

.entry-data-table tbody tr:hover{
  background:#fbfcfe;
}

.entry-data-table tbody tr:last-child td{
  border-bottom:0;
}

.entry-data-check{
  width:42px;
  text-align:center!important;
}

.entry-data-check input{
  width:16px;
  height:16px;
  cursor:pointer;
}

.entry-data-id{
  font-weight:650;
  color:#111827;
}

.entry-data-date{
  white-space:nowrap;
}

.entry-data-count{
  text-align:center!important;
}

.entry-data-action-cell{
  text-align:right!important;
  white-space:nowrap;
}

.entry-data-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:5px 10px;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  background:#f3f4f6;
  color:#374151;
}

.entry-data-exported{
  display:block;
  margin-top:5px;
  font-size:11px;
  color:#6b7280;
}

/* =========================================================
 * RIWAYAT EXPORT
 * 6 kolom:
 * Tanggal | Kegiatan | Mitra | Skema | Peserta | Aksi
 * ========================================================= */

.entry-data-history-table{
  min-width:1180px;
}

.entry-data-history-table th:nth-child(1),
.entry-data-history-table td:nth-child(1){
  width:13%;
}

.entry-data-history-table th:nth-child(2),
.entry-data-history-table td:nth-child(2){
  width:17%;
}

.entry-data-history-table th:nth-child(3),
.entry-data-history-table td:nth-child(3){
  width:16%;
}

.entry-data-history-table th:nth-child(4),
.entry-data-history-table td:nth-child(4){
  width:20%;
}

.entry-data-history-table th:nth-child(5),
.entry-data-history-table td:nth-child(5){
  width:9%;
}

.entry-data-history-table th:nth-child(6),
.entry-data-history-table td:nth-child(6){
  width:25%;
}

.entry-data-history-table .entry-data-action-cell{
  min-width:360px;
}

.entry-data-row-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(78px,1fr));
  gap:6px;
  width:100%;
  align-items:center;
}

.entry-data-row-actions .entry-data-btn{
  width:100%;
}

.entry-data-btn-small{
  min-height:34px;
  padding:6px 10px;
  font-size:12px;
}

.entry-data-numbered{
  display:flex;
  flex-direction:column;
  gap:5px;
  line-height:1.45;
}

.entry-data-numbered>div{
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:2px;
}

.entry-data-numbered>div>span{
  color:#6b7280;
  font-weight:700;
}

/* =========================================================
 * PAGINATION
 * ========================================================= */

.entry-data-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-top:1px solid #edf0f4;
}

.entry-data-pagination-info{
  font-size:13px;
  color:#6b7280;
}

.entry-data-pagination-controls{
  display:flex;
  align-items:center;
  gap:8px;
}

.entry-data-page-number{
  min-width:34px;
  text-align:center;
  font-size:13px;
  font-weight:700;
  color:#111827;
}

.entry-data-empty,
.entry-data-loading{
  padding:42px 20px;
  text-align:center;
  color:#6b7280;
  font-size:13px;
}

/* =========================================================
 * MODAL
 * ========================================================= */

.entry-data-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:99990;
  background:rgba(17,24,39,.48);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.entry-data-modal{
  width:min(1400px,96vw);
  max-height:92vh;
  display:flex;
  flex-direction:column;
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 22px 70px rgba(0,0,0,.22);
}

.entry-data-modal-header{
  padding:16px 18px;
  border-bottom:1px solid #edf0f4;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.entry-data-modal-title{
  font-size:18px;
  font-weight:750;
  color:#111827;
}

.entry-data-modal-subtitle{
  margin-top:4px;
  font-size:13px;
  color:#6b7280;
}

.entry-data-modal-close{
  width:36px;
  height:36px;
  border-radius:9px;
  border:1px solid #e5e7eb;
  background:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}

.entry-data-modal-close:hover{
  background:#f8fafc;
}

.entry-data-modal-body{
  padding:16px 18px;
  overflow:auto;
  min-height:0;
}

.entry-data-modal-footer{
  padding:14px 18px;
  border-top:1px solid #edf0f4;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

/* =========================================================
 * DETAIL / VALIDASI
 * ========================================================= */

.entry-data-detail-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:15px;
}

.entry-data-detail-item{
  background:#f8fafc;
  border:1px solid #edf0f4;
  border-radius:10px;
  padding:11px 12px;
  min-width:0;
}

.entry-data-detail-label{
  color:#6b7280;
  font-size:12px;
  margin-bottom:4px;
}

.entry-data-detail-value{
  color:#111827;
  font-size:13px;
  font-weight:650;
  overflow-wrap:anywhere;
}

.entry-data-validation{
  margin-bottom:14px;
  border-radius:10px;
  padding:11px 13px;
  font-size:13px;
}

.entry-data-validation-ok{
  background:#f0fdf4;
  border:1px solid #bbf7d0;
  color:#166534;
}

.entry-data-validation-error{
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
}

.entry-data-validation ul{
  margin:8px 0 0 18px;
  padding:0;
}

/* =========================================================
 * PICKER KEGIATAN
 * ========================================================= */

.entry-data-modal-toolbar{
  margin-top:10px;
}

.entry-data-export-step-title{
  font-size:15px;
  font-weight:750;
  color:#111827;
  margin:2px 0 10px;
}

.entry-data-picker-table{
  min-width:900px;
}

.entry-data-picker-table th:nth-child(1),
.entry-data-picker-table td:nth-child(1){
  width:5%;
}

.entry-data-picker-table th:nth-child(2),
.entry-data-picker-table td:nth-child(2){
  width:21%;
}

.entry-data-picker-table th:nth-child(3),
.entry-data-picker-table td:nth-child(3){
  width:20%;
}

.entry-data-picker-table th:nth-child(4),
.entry-data-picker-table td:nth-child(4){
  width:27%;
}

.entry-data-picker-table th:nth-child(5),
.entry-data-picker-table td:nth-child(5){
  width:15%;
}

.entry-data-picker-table th:nth-child(6),
.entry-data-picker-table td:nth-child(6){
  width:12%;
}

/* =========================================================
 * PREVIEW
 * ========================================================= */

.entry-data-preview-title{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid #edf0f4;
}

.entry-data-preview-summary{
  font-size:13px;
  color:#4b5563;
  background:#f8fafc;
  border:1px solid #edf0f4;
  border-radius:10px;
  padding:10px 12px;
  margin-bottom:12px;
}

.entry-data-preview-section{
  margin-top:16px;
}

.entry-data-preview-heading{
  font-size:14px;
  font-weight:750;
  color:#111827;
  margin-bottom:9px;
}

.entry-data-preview-heading span{
  display:block;
  margin-top:3px;
  font-size:12px;
  font-weight:500;
  color:#6b7280;
}

.entry-data-preview-wrap{
  max-height:360px;
  border:1px solid #e5e7eb;
  border-radius:10px;
}

.entry-data-preview-table{
  width:max-content;
  min-width:100%;
  border-collapse:collapse;
}

.entry-data-preview-table th,
.entry-data-preview-table td{
  border:1px solid #e5e7eb;
  padding:8px 10px;
  font-size:12px;
  white-space:nowrap;
  vertical-align:top;
}

.entry-data-preview-table th{
  position:sticky;
  top:0;
  z-index:1;
  background:#f8fafc;
  font-weight:700;
}

.entry-data-preview-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid #edf0f4;
}

.entry-data-result-modal{
  width:min(720px,94vw);
}

/* =========================================================
 * PROCESSING
 * ========================================================= */

.entry-data-processing{
  position:fixed;
  inset:0;
  z-index:100000;
  background:rgba(17,24,39,.64);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.entry-data-processing-card{
  width:min(420px,94vw);
  background:#fff;
  border-radius:16px;
  padding:22px;
  text-align:center;
  box-shadow:0 22px 70px rgba(0,0,0,.25);
}

.entry-data-spinner{
  width:38px;
  height:38px;
  border:4px solid #e5e7eb;
  border-top-color:#111827;
  border-radius:50%;
  margin:0 auto 14px;
  animation:entryDataSpin .8s linear infinite;
}

@keyframes entryDataSpin{
  to{transform:rotate(360deg)}
}

.entry-data-processing-title{
  font-weight:750;
  font-size:15px;
  color:#111827;
}

.entry-data-processing-stage{
  margin-top:6px;
  color:#6b7280;
  font-size:12px;
}

.entry-data-progress{
  height:5px;
  background:#eef1f5;
  border-radius:99px;
  overflow:hidden;
  margin-top:15px;
}

.entry-data-progress::after{
  content:"";
  display:block;
  width:35%;
  height:100%;
  background:#111827;
  border-radius:inherit;
  animation:entryDataProgress 1.15s ease-in-out infinite;
}

@keyframes entryDataProgress{
  from{transform:translateX(-110%)}
  to{transform:translateX(310%)}
}

.entry-data-processing-time{
  margin-top:9px;
  color:#9ca3af;
  font-size:11px;
}

/* =========================================================
 * TOAST
 * ========================================================= */

.entry-data-toast{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:100100;
  max-width:420px;
  padding:12px 14px;
  border-radius:11px;
  background:#111827;
  color:#fff;
  font-size:12px;
  box-shadow:0 14px 36px rgba(0,0,0,.22);
}

/* =========================================================
 * RESPONSIVE
 * ========================================================= */

@media(max-width:1100px){
  .entry-data-summary{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .entry-data-detail-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .entry-data-history-table{
    min-width:1080px;
  }

  .entry-data-history-table .entry-data-action-cell{
    min-width:330px;
  }
}

@media(max-width:700px){
  .entry-data-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .entry-data-filter,
  .entry-data-actions{
    flex:1 1 100%;
  }

  .entry-data-actions{
    margin-left:0;
  }

  .entry-data-actions .entry-data-btn{
    flex:1;
  }

  .entry-data-detail-grid{
    grid-template-columns:1fr;
  }

  .entry-data-pagination{
    align-items:flex-start;
    flex-direction:column;
  }

  .entry-data-history-table .entry-data-action-cell{
    min-width:320px;
  }

  .entry-data-row-actions{
    grid-template-columns:repeat(4,minmax(72px,1fr));
  }
}


/* =========================================================
 * FIX RIWAYAT EXPORT — PAS DALAM AREA KONTEN
 * ========================================================= */

.entry-data-history-table{
  width:100%;
  min-width:0;
  table-layout:fixed;
}

.entry-data-history-table th,
.entry-data-history-table td{
  padding-left:10px;
  padding-right:10px;
}

.entry-data-history-table th:nth-child(1),
.entry-data-history-table td:nth-child(1){
  width:13%;
}

.entry-data-history-table th:nth-child(2),
.entry-data-history-table td:nth-child(2){
  width:17%;
}

.entry-data-history-table th:nth-child(3),
.entry-data-history-table td:nth-child(3){
  width:15%;
}

.entry-data-history-table th:nth-child(4),
.entry-data-history-table td:nth-child(4){
  width:20%;
}

.entry-data-history-table th:nth-child(5),
.entry-data-history-table td:nth-child(5){
  width:9%;
}

.entry-data-history-table th:nth-child(6),
.entry-data-history-table td:nth-child(6){
  width:26%;
}

.entry-data-history-table .entry-data-action-cell{
  min-width:0;
}

.entry-data-row-actions{
  display:flex;
  flex-wrap:nowrap;
  justify-content:flex-end;
  align-items:center;
  gap:5px;
  width:100%;
}

.entry-data-row-actions .entry-data-btn-small{
  flex:1 1 0;
  width:auto;
  min-width:0;
  min-height:36px;
  padding:6px 7px;
  font-size:11px;
}

.entry-data-history-table .entry-data-date{
  white-space:nowrap;
}

.entry-data-history-table .entry-data-id,
.entry-data-history-table .entry-data-mitra,
.entry-data-history-table .entry-data-skema{
  min-width:0;
}

@media(max-width:1200px){
  .entry-data-history-table{
    min-width:980px;
  }

  .entry-data-history-table th:nth-child(6),
  .entry-data-history-table td:nth-child(6){
    width:290px;
  }

  .entry-data-row-actions .entry-data-btn-small{
    flex:0 0 auto;
    min-width:64px;
  }
}

/**
 * =========================================================
 * SISFO LSP APMP
 * DOKUMEN VERIFIKASI TUK
 * VERSION 1.0.0
 * =========================================================
 *
 * Path:
 * APPEND KE: /assets/css/app.css
 * =========================================================
 */


/* =========================================================
   ROOT
========================================================= */

.vtuk-page {
  width: 100%;
  min-width: 0;
  padding: 0 0 32px;
  color: #172033;
}

.vtuk-page *,
.vtuk-page *::before,
.vtuk-page *::after {
  box-sizing: border-box;
}

.vtuk-page button,
.vtuk-page input,
.vtuk-page select,
.vtuk-page textarea {
  font: inherit;
}


/* =========================================================
   ALERT
========================================================= */

.vtuk-alert {
  margin: 0 0 18px;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.vtuk-alert.is-success {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #067647;
}

.vtuk-alert.is-error {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}


/* =========================================================
   TOOLBAR
========================================================= */

.vtuk-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.vtuk-toolbar-left,
.vtuk-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.vtuk-toolbar-left {
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.vtuk-toolbar-right {
  flex: 0 0 auto;
}

.vtuk-search-wrap {
  width: min(420px, 100%);
  min-width: 260px;
}


/* =========================================================
   FORM CONTROLS
========================================================= */

.vtuk-input,
.vtuk-select,
.vtuk-textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #ffffff;
  color: #101828;
  outline: none;
  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease;
}

.vtuk-input,
.vtuk-select {
  padding: 0 12px;
}

.vtuk-textarea {
  min-height: 96px;
  padding: 11px 12px;
  line-height: 1.55;
  resize: vertical;
}

.vtuk-input:focus,
.vtuk-select:focus,
.vtuk-textarea:focus {
  border-color: #84adff;
  box-shadow: 0 0 0 3px rgba(46, 144, 250, .12);
}

.vtuk-input:disabled,
.vtuk-select:disabled,
.vtuk-textarea:disabled {
  background: #f2f4f7;
  color: #667085;
  cursor: not-allowed;
}

.vtuk-input::placeholder,
.vtuk-textarea::placeholder {
  color: #98a2b3;
}


/* =========================================================
   BUTTONS
========================================================= */

.vtuk-button,
.vtuk-action {
  appearance: none;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease,
    transform .08s ease;
}

.vtuk-button {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.vtuk-button:active:not(:disabled),
.vtuk-action:active:not(:disabled) {
  transform: translateY(1px);
}

.vtuk-button:disabled,
.vtuk-action:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.vtuk-button.is-primary {
  background: #175cd3;
  border-color: #175cd3;
  color: #ffffff;
}

.vtuk-button.is-primary:hover:not(:disabled) {
  background: #1849a9;
  border-color: #1849a9;
}

.vtuk-button.is-secondary {
  background: #ffffff;
  border-color: #d0d5dd;
  color: #344054;
}

.vtuk-button.is-secondary:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #b8c0cc;
}

.vtuk-button.is-danger {
  background: #ffffff;
  border-color: #fda29b;
  color: #b42318;
}

.vtuk-button.is-danger:hover:not(:disabled) {
  background: #fef3f2;
  border-color: #f97066;
}


/* =========================================================
   SUMMARY
========================================================= */

.vtuk-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.vtuk-summary-card {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.vtuk-summary-card span {
  display: block;
  margin-bottom: 7px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.vtuk-summary-card strong {
  display: block;
  color: #101828;
  font-size: 25px;
  line-height: 1.1;
}


/* =========================================================
   CARD
========================================================= */

.vtuk-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
}

.vtuk-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid #eaecf0;
}

.vtuk-card-header h2 {
  margin: 0 0 4px;
  color: #101828;
  font-size: 18px;
  line-height: 1.35;
}

.vtuk-card-header p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.vtuk-result-count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}


/* =========================================================
   TABLE
========================================================= */

.vtuk-table-wrap {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.vtuk-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
  table-layout: auto;
}

.vtuk-table th,
.vtuk-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #eaecf0;
  vertical-align: top;
  text-align: left;
}

.vtuk-table th {
  background: #f9fafb;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}

.vtuk-table td {
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}

.vtuk-table tbody tr:hover {
  background: #fcfcfd;
}

.vtuk-table tbody tr:last-child td {
  border-bottom: 0;
}

.vtuk-table td strong {
  display: block;
  color: #101828;
  font-weight: 800;
}

.vtuk-table td small {
  display: block;
  margin-top: 3px;
  color: #667085;
  line-height: 1.45;
}

.vtuk-table th:first-child,
.vtuk-table td:first-child {
  width: 56px;
  text-align: center;
}

.vtuk-table th.is-actions,
.vtuk-table td.is-actions {
  width: 245px;
  text-align: right;
}

.vtuk-empty {
  padding: 32px 16px !important;
  color: #667085 !important;
  text-align: center !important;
}

.vtuk-table.is-form-table {
  min-width: 760px;
  border: 1px solid #eaecf0;
  border-radius: 12px;
}

.vtuk-table.is-form-table th,
.vtuk-table.is-form-table td {
  padding: 10px;
}

.vtuk-table.is-form-table .vtuk-input,
.vtuk-table.is-form-table .vtuk-select {
  min-height: 38px;
}


/* =========================================================
   STATUS
========================================================= */

.vtuk-status,
.vtuk-mitra-linked,
.vtuk-muted {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.vtuk-status.is-draft {
  background: #f2f4f7;
  color: #475467;
}

.vtuk-status.is-dalam-verifikasi {
  background: #fffaeb;
  color: #b54708;
}

.vtuk-status.is-verifikasi-lengkap {
  background: #ecfdf3;
  color: #067647;
}

.vtuk-status.is-dibatalkan {
  background: #fef3f2;
  color: #b42318;
}

.vtuk-mitra-linked {
  background: #eff8ff;
  color: #175cd3;
}

.vtuk-muted {
  background: #f9fafb;
  color: #98a2b3;
}


/* =========================================================
   ROW ACTIONS
========================================================= */

.vtuk-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.vtuk-action {
  min-height: 31px;
  padding: 0 9px;
  border-radius: 8px;
  background: #ffffff;
  border-color: #d0d5dd;
  color: #344054;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.vtuk-action:hover:not(:disabled) {
  background: #f9fafb;
}

.vtuk-action.is-success {
  border-color: #75e0a7;
  color: #067647;
}

.vtuk-action.is-success:hover:not(:disabled) {
  background: #ecfdf3;
}

.vtuk-action.is-danger {
  border-color: #fda29b;
  color: #b42318;
}

.vtuk-action.is-danger:hover:not(:disabled) {
  background: #fef3f2;
}


/* =========================================================
   PAGINATION
========================================================= */

.vtuk-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid #eaecf0;
  background: #ffffff;
}

.vtuk-pagination > span {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.vtuk-pagination > div {
  display: flex;
  align-items: center;
  gap: 8px;
}


/* =========================================================
   MODAL
========================================================= */

.vtuk-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 18px;
  overflow-y: auto;
}

.vtuk-modal.is-open {
  display: flex;
}

.vtuk-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, .58);
  backdrop-filter: blur(2px);
}

.vtuk-dialog {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  max-height: calc(100vh - 56px);
  overflow: hidden;
  border: 1px solid #eaecf0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 24px 48px rgba(16, 24, 40, .18),
    0 8px 18px rgba(16, 24, 40, .08);
}

.vtuk-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid #eaecf0;
  background: #ffffff;
}

.vtuk-dialog-header h2 {
  margin: 3px 0 5px;
  color: #101828;
  font-size: 21px;
  line-height: 1.3;
}

.vtuk-dialog-header p {
  max-width: 760px;
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.vtuk-eyebrow {
  color: #175cd3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.vtuk-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #eaecf0;
  border-radius: 10px;
  background: #ffffff;
  color: #475467;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.vtuk-close:hover {
  background: #f9fafb;
  color: #101828;
}

.vtuk-dialog form {
  display: flex;
  min-height: 0;
  max-height: calc(100vh - 150px);
  flex-direction: column;
}

.vtuk-dialog-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px 22px 28px;
  overflow-y: auto;
  background: #f9fafb;
}

.vtuk-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid #eaecf0;
  background: #ffffff;
}


/* =========================================================
   FORM SECTIONS
========================================================= */

.vtuk-form-section {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  background: #ffffff;
}

.vtuk-form-section:last-child {
  margin-bottom: 0;
}

.vtuk-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.vtuk-section-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff8ff;
  color: #175cd3;
  font-size: 12px;
  font-weight: 900;
}

.vtuk-section-heading h3 {
  margin: 0 0 3px;
  color: #101828;
  font-size: 16px;
  line-height: 1.35;
}

.vtuk-section-heading p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}


/* =========================================================
   FORM GRID
========================================================= */

.vtuk-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.vtuk-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.vtuk-field.is-wide {
  grid-column: 1 / -1;
}

.vtuk-field > span {
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}


/* =========================================================
   REPEATER
========================================================= */

.vtuk-repeat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.vtuk-repeat-row {
  padding: 13px;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  background: #fcfcfd;
}

.vtuk-repeat-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 2fr)
    minmax(180px, .8fr)
    auto;
  gap: 12px;
  align-items: end;
}

.vtuk-facility-grid {
  display: grid;
  grid-template-columns:
    minmax(170px, 1.25fr)
    minmax(170px, 1.4fr)
    minmax(120px, .7fr)
    minmax(115px, .55fr);
  gap: 12px;
  align-items: end;
}

.vtuk-facility-grid .vtuk-field.is-wide {
  grid-column: 1 / span 3;
}

.vtuk-repeat-action {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 88px;
}


/* =========================================================
   SCROLLBAR
========================================================= */

.vtuk-dialog-body::-webkit-scrollbar,
.vtuk-table-wrap::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

.vtuk-dialog-body::-webkit-scrollbar-thumb,
.vtuk-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #cbd5e1;
  background-clip: padding-box;
}

.vtuk-dialog-body::-webkit-scrollbar-track,
.vtuk-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .vtuk-summary {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .vtuk-facility-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .vtuk-facility-grid .vtuk-field.is-wide {
    grid-column: 1 / -1;
  }

  .vtuk-repeat-action {
    justify-content: flex-start;
  }
}


@media (max-width: 760px) {
  .vtuk-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .vtuk-toolbar-left,
  .vtuk-toolbar-right {
    width: 100%;
  }

  .vtuk-toolbar-left {
    flex-direction: column;
    align-items: stretch;
  }

  .vtuk-toolbar-right .vtuk-button,
  .vtuk-toolbar-left > .vtuk-button,
  .vtuk-toolbar-left > .vtuk-select,
  .vtuk-search-wrap {
    width: 100%;
    min-width: 0;
  }

  .vtuk-summary {
    grid-template-columns:
      1fr 1fr;
    gap: 10px;
  }

  .vtuk-summary-card {
    padding: 14px;
  }

  .vtuk-card-header {
    flex-direction: column;
  }

  .vtuk-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .vtuk-pagination > div {
    width: 100%;
  }

  .vtuk-pagination .vtuk-button {
    flex: 1 1 0;
  }

  .vtuk-modal {
    padding: 0;
  }

  .vtuk-dialog {
    width: 100%;
    min-height: 100vh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .vtuk-dialog form {
    max-height: none;
  }

  .vtuk-dialog-body {
    overflow: visible;
  }

  .vtuk-form-grid,
  .vtuk-repeat-grid,
  .vtuk-facility-grid {
    grid-template-columns:
      1fr;
  }

  .vtuk-field.is-wide,
  .vtuk-facility-grid .vtuk-field.is-wide {
    grid-column: auto;
  }

  .vtuk-dialog-header,
  .vtuk-dialog-body,
  .vtuk-dialog-footer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .vtuk-dialog-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
  }
}


@media (max-width: 480px) {
  .vtuk-summary {
    grid-template-columns:
      1fr;
  }

  .vtuk-dialog-footer {
    flex-direction: column-reverse;
  }

  .vtuk-dialog-footer .vtuk-button {
    width: 100%;
  }
}


/* =========================================================
   VTUK UI REFINEMENT v1.1.0
========================================================= */

/* Summary dibuat satu baris ringkas. */
.vtuk-summary.vtuk-summary-inline {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.vtuk-summary-inline .vtuk-summary-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-right: 1px solid #eaecf0;
}

.vtuk-summary-inline .vtuk-summary-item:last-child {
  border-right: 0;
}

.vtuk-summary-inline .vtuk-summary-item span {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.vtuk-summary-inline .vtuk-summary-item strong {
  color: #101828;
  font-size: 20px;
  line-height: 1;
}

/* Tim Verifikator: Asesor | Jabatan | Hapus sejajar. */
.vtuk-repeat-grid.vtuk-assessor-grid {
  grid-template-columns:
    minmax(0, 1fr)
    minmax(190px, .38fr)
    auto;
  align-items: end;
}

/* Bantuan field otomatis. */
.vtuk-help {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 11px;
  line-height: 1.45;
}

/* Sarpras berupa tabel editable. */
.vtuk-facility-table {
  min-width: 980px;
}

.vtuk-facility-table th:nth-child(1),
.vtuk-facility-table td:nth-child(1) {
  width: 52px;
  text-align: center;
}

.vtuk-facility-table th:nth-child(2) {
  width: 18%;
}

.vtuk-facility-table th:nth-child(3) {
  width: 28%;
}

.vtuk-facility-table th:nth-child(4) {
  width: 13%;
}

.vtuk-facility-table th:nth-child(5) {
  width: 12%;
}

.vtuk-facility-table th:nth-child(6) {
  width: 17%;
}

.vtuk-facility-table th:nth-child(7),
.vtuk-facility-table td:nth-child(7) {
  width: 82px;
  text-align: center;
}

.vtuk-facility-table td {
  vertical-align: top;
}

.vtuk-facility-table .vtuk-input,
.vtuk-facility-table .vtuk-select,
.vtuk-facility-table .vtuk-textarea {
  min-width: 0;
}

.vtuk-table-textarea {
  min-height: 58px;
  resize: vertical;
}

.vtuk-table-action-cell {
  vertical-align: middle !important;
}

.vtuk-small-button {
  min-height: 36px;
  padding: 0 10px;
}

@media (max-width: 760px) {
  .vtuk-summary.vtuk-summary-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .vtuk-summary-inline .vtuk-summary-item {
    border-right: 0;
    border-bottom: 1px solid #eaecf0;
  }

  .vtuk-summary-inline .vtuk-summary-item:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .vtuk-repeat-grid.vtuk-assessor-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   VTUK UI REFINEMENT v1.2.0
   - toolbar lebih rapi
   - halaman utama lebih kompak
   - searchable asesor
========================================================= */

.vtuk-page {
  max-width: 100%;
}

.vtuk-toolbar {
  align-items: center;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .035);
}

.vtuk-toolbar-left {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 10px;
}

.vtuk-toolbar-right {
  margin-left: auto;
}

.vtuk-toolbar .vtuk-search-wrap {
  flex: 1 1 420px;
  width: auto;
  max-width: 560px;
  min-width: 260px;
}

.vtuk-toolbar #vtukStatus {
  flex: 0 0 220px;
  width: 220px;
}

.vtuk-toolbar #vtukRefresh {
  flex: 0 0 auto;
}

.vtuk-toolbar #vtukAdd {
  min-width: 190px;
}

.vtuk-summary.vtuk-summary-inline {
  margin-bottom: 14px;
}

.vtuk-summary-inline .vtuk-summary-item {
  min-height: 58px;
  padding: 11px 18px;
}

.vtuk-summary-inline .vtuk-summary-item strong {
  font-size: 22px;
}

.vtuk-card {
  border-color: #e4e7ec;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .035);
}

.vtuk-card-header {
  align-items: center;
  padding: 16px 20px;
  background: #ffffff;
}

.vtuk-card-header h2 {
  margin-bottom: 3px;
  font-size: 17px;
}

.vtuk-card-header p {
  font-size: 12.5px;
}

.vtuk-result-count {
  min-width: 68px;
  justify-content: center;
}

.vtuk-table th {
  padding-top: 11px;
  padding-bottom: 11px;
  background: #f8fafc;
}

.vtuk-table td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.vtuk-pagination {
  padding: 12px 18px;
  background: #fcfcfd;
}

/* Input pencarian asesor tetap sejajar dengan Jabatan dan Hapus. */
.vtuk-assessor-grid .vtuk-field:first-child {
  min-width: 0;
}

.vtuk-assessor-grid [data-assessor-search] {
  width: 100%;
}

.vtuk-assessor-grid .vtuk-repeat-action .vtuk-button {
  min-width: 78px;
}

/* Datalist/search fields terasa konsisten sebagai master selector. */
#vtukProvinsiSearch,
#vtukKabupatenSearch,
#vtukSkemaSearch,
[data-assessor-search] {
  background-image:
    linear-gradient(45deg, transparent 50%, #667085 50%),
    linear-gradient(135deg, #667085 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 18px,
    calc(100% - 12px) 18px;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

@media (max-width: 980px) {
  .vtuk-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .vtuk-toolbar-left {
    width: 100%;
    flex-wrap: wrap;
  }

  .vtuk-toolbar-right {
    width: 100%;
    margin-left: 0;
  }

  .vtuk-toolbar .vtuk-search-wrap {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }

  .vtuk-toolbar #vtukStatus {
    flex: 1 1 220px;
    width: auto;
  }

  .vtuk-toolbar #vtukAdd {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .vtuk-toolbar {
    padding: 12px;
  }

  .vtuk-toolbar-left {
    flex-direction: column;
  }

  .vtuk-toolbar #vtukStatus,
  .vtuk-toolbar #vtukRefresh {
    width: 100%;
    flex: 1 1 auto;
  }

  .vtuk-summary.vtuk-summary-inline {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================
   VTUK UI v1.3.0 - DOKUMEN + SURAT PINJAM ASESOR
========================================================= */

.vtuk-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vtuk-dialog.is-medium {
  width: min(820px, 100%);
}

.vtuk-documents-body {
  max-height: calc(100vh - 190px);
  padding: 18px 22px 22px;
  overflow-y: auto;
  background: #f9fafb;
}

.vtuk-document-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  padding: 14px 15px;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  background: #ffffff;
}

.vtuk-document-item:last-child {
  margin-bottom: 0;
}

.vtuk-document-item strong {
  display: block;
  margin-bottom: 4px;
  color: #101828;
  font-size: 14px;
}

.vtuk-document-item small {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
}

.vtuk-document-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.vtuk-document-actions .vtuk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 760px) {
  .vtuk-toolbar-right {
    flex-direction: column;
  }

  .vtuk-toolbar-right .vtuk-button {
    width: 100%;
  }

  .vtuk-document-item {
    align-items: stretch;
    flex-direction: column;
  }

  .vtuk-document-actions {
    width: 100%;
  }

  .vtuk-document-actions .vtuk-button {
    flex: 1 1 0;
  }
}


/* =========================================================
   VTUK UI v1.4.0 - MULTI SELECT SURAT PINJAM ASESOR
========================================================= */

.vtuk-loan-history-card {
  margin-top: 18px;
}

.vtuk-loan-history-table {
  min-width: 980px;
}

.vtuk-multiselect-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vtuk-multiselect-toolbar .vtuk-input {
  flex: 1 1 auto;
}

.vtuk-check-all {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #ffffff;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.vtuk-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-height: 320px;
  padding: 2px;
  overflow-y: auto;
}

.vtuk-check-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #eaecf0;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
}

.vtuk-check-option:hover {
  border-color: #b2ccff;
  background: #f9fbff;
}

.vtuk-check-option input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.vtuk-check-option span {
  min-width: 0;
}

.vtuk-check-option strong {
  display: block;
  color: #101828;
  font-size: 13px;
  line-height: 1.35;
}

.vtuk-check-option small {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 11px;
  line-height: 1.35;
}

.vtuk-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-bottom: 18px;
}

.vtuk-detail-grid > div {
  padding: 11px 12px;
  border: 1px solid #eaecf0;
  border-radius: 10px;
  background: #ffffff;
}

.vtuk-detail-grid > div.is-wide {
  grid-column: 1 / -1;
}

.vtuk-detail-grid span {
  display: block;
  margin-bottom: 4px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.vtuk-detail-grid strong {
  display: block;
  color: #101828;
  font-size: 13px;
  line-height: 1.45;
}

.vtuk-detail-section {
  margin-top: 14px;
}

.vtuk-detail-section h3 {
  margin: 0 0 8px;
  color: #101828;
  font-size: 14px;
}

.vtuk-detail-list {
  display: grid;
  gap: 8px;
}

.vtuk-detail-list > div {
  padding: 10px 12px;
  border: 1px solid #eaecf0;
  border-radius: 9px;
  background: #ffffff;
}

.vtuk-detail-list strong,
.vtuk-detail-list small {
  display: block;
}

.vtuk-detail-list strong {
  color: #101828;
  font-size: 13px;
}

.vtuk-detail-list small {
  margin-top: 3px;
  color: #667085;
  font-size: 11px;
}

.vtuk-detail-file-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

@media (max-width: 760px) {
  .vtuk-multiselect-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .vtuk-check-all {
    width: 100%;
  }

  .vtuk-check-grid,
  .vtuk-detail-grid {
    grid-template-columns: 1fr;
  }

  .vtuk-detail-grid > div.is-wide {
    grid-column: auto;
  }
}

/**
 * =========================================================
 * SISFO LSP APMP
 * FINANCE - DASHBOARD
 * APP.CSS ADDITION
 * =========================================================
 *
 * APPEND KE:
 * /assets/css/app.css
 *
 * Sumber:
 * /assets/css/finance-dashboard.css
 * =========================================================
 */

.finance-dashboard-page {
  display: grid;
  gap: 22px;
}

.finance-dashboard-hero,
.finance-dashboard-panel,
.finance-dashboard-summary-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.finance-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-radius: 18px;
}

.finance-dashboard-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.finance-dashboard-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.finance-dashboard-hero p,
.finance-dashboard-heading p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.finance-dashboard-refresh {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 16px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.finance-dashboard-refresh:hover {
  background: #f8fafc;
}

.finance-dashboard-refresh:disabled {
  cursor: wait;
  opacity: .65;
}

.finance-dashboard-alert {
  padding: 13px 15px;
  color: #991b1b;
  font-size: 13px;
  line-height: 1.55;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fef2f2;
}

.finance-dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.finance-dashboard-summary-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 7px;
  min-height: 126px;
  padding: 20px;
  border-radius: 16px;
}

.finance-dashboard-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: #94a3b8;
}

.finance-dashboard-summary-card.is-cash::before {
  background: #0f172a;
}

.finance-dashboard-summary-card.is-income::before {
  background: #16a34a;
}

.finance-dashboard-summary-card.is-expense::before {
  background: #dc2626;
}

.finance-dashboard-summary-card.is-result::before {
  background: #2563eb;
}

.finance-dashboard-summary-card.is-loss::before {
  background: #b91c1c;
}

.finance-dashboard-summary-card.is-receivable::before {
  background: #d97706;
}

.finance-dashboard-summary-card.is-tax::before {
  background: #7c3aed;
}

.finance-dashboard-summary-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.finance-dashboard-summary-value {
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
}

.finance-dashboard-summary-card small {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
}

.finance-dashboard-panel {
  padding: 24px;
  border-radius: 18px;
}

.finance-dashboard-heading {
  margin-bottom: 16px;
}

.finance-dashboard-heading h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.finance-dashboard-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
}

/* =========================================================
   JADWAL KEGIATAN
   ========================================================= */

.finance-dashboard-schedule-panel {
  padding: 0;
  overflow: hidden;
}

.finance-dashboard-schedule-heading {
  margin-bottom: 0;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.finance-dashboard-schedule-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.finance-dashboard-schedule-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  table-layout: fixed;
}

.finance-dashboard-schedule-table th,
.finance-dashboard-schedule-table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e8eef3;
  font-size: 13px;
  line-height: 1.45;
}

.finance-dashboard-schedule-table th {
  color: #475569;
  background: #f8fafc;
  font-weight: 800;
  white-space: nowrap;
}

.finance-dashboard-schedule-table td {
  color: #0f172a;
  overflow-wrap: anywhere;
}

.finance-dashboard-schedule-table tbody tr:hover {
  background: #fbfdff;
}

.finance-dashboard-schedule-table tbody tr:last-child td {
  border-bottom: 0;
}

.finance-dashboard-schedule-table th:nth-child(1),
.finance-dashboard-schedule-table td:nth-child(1) {
  width: 4%;
}

.finance-dashboard-schedule-table th:nth-child(2),
.finance-dashboard-schedule-table td:nth-child(2) {
  width: 15%;
}

.finance-dashboard-schedule-table th:nth-child(3),
.finance-dashboard-schedule-table td:nth-child(3) {
  width: 15%;
}

.finance-dashboard-schedule-table th:nth-child(4),
.finance-dashboard-schedule-table td:nth-child(4) {
  width: 15%;
}

.finance-dashboard-schedule-table th:nth-child(5),
.finance-dashboard-schedule-table td:nth-child(5) {
  width: 15%;
}

.finance-dashboard-schedule-table th:nth-child(6),
.finance-dashboard-schedule-table td:nth-child(6) {
  width: 16%;
}

.finance-dashboard-schedule-table th:nth-child(7),
.finance-dashboard-schedule-table td:nth-child(7) {
  width: 14%;
}

.finance-dashboard-schedule-table th:nth-child(8),
.finance-dashboard-schedule-table td:nth-child(8) {
  width: 6%;
}

.finance-dashboard-schedule-table .is-number,
.finance-dashboard-schedule-table .is-participant {
  text-align: center;
}

.finance-dashboard-schedule-table .is-participant strong {
  display: inline-flex;
  min-width: 34px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  color: #07578f;
  background: #eaf5fc;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.finance-dashboard-table-primary {
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.finance-dashboard-table-secondary {
  margin-top: 3px;
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.4;
}

.finance-dashboard-table-name-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.finance-dashboard-table-name-list span {
  display: block;
  position: relative;
  padding-left: 13px;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}

.finance-dashboard-table-name-list span::before {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 4px;
  height: 4px;
  background: #94a3b8;
  border-radius: 50%;
  content: "";
}

.finance-dashboard-table-empty-value {
  color: #94a3b8;
}

.finance-dashboard-schedule-panel > .finance-dashboard-empty {
  min-height: 90px;
  margin: 0;
  border-top: 1px solid #e8eef3;
}

/* =========================================================
   CASHFLOW
   ========================================================= */

.finance-dashboard-cashflow {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 128px;
}

.finance-dashboard-flow-node {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.finance-dashboard-flow-node span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.finance-dashboard-flow-node strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.finance-dashboard-flow-node.is-income {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.finance-dashboard-flow-node.is-expense {
  border-color: #fecaca;
  background: #fef2f2;
}

.finance-dashboard-flow-node.is-result {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.finance-dashboard-flow-node.is-loss {
  border-color: #fecaca;
  background: #fff1f2;
}

.finance-dashboard-flow-arrow {
  color: #94a3b8;
  font-size: 22px;
  font-weight: 800;
}

/* =========================================================
   TRANSAKSI TERBARU
   ========================================================= */

.finance-dashboard-recent {
  display: grid;
  gap: 8px;
}

.finance-dashboard-recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
}

.finance-dashboard-recent-item:last-child {
  border-bottom: 0;
}

.finance-dashboard-recent-item:hover
.finance-dashboard-recent-title strong {
  text-decoration: underline;
}

.finance-dashboard-recent-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.finance-dashboard-recent-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.finance-dashboard-recent-title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.finance-dashboard-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
}

.finance-dashboard-badge.is-income {
  color: #166534;
  background: #dcfce7;
}

.finance-dashboard-badge.is-expense {
  color: #991b1b;
  background: #fee2e2;
}

.finance-dashboard-recent-description {
  overflow: hidden;
  color: #475569;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finance-dashboard-recent-main small {
  color: #94a3b8;
  font-size: 11px;
}

.finance-dashboard-recent-total {
  flex: 0 0 auto;
  font-size: 13px;
}

.finance-dashboard-empty {
  display: grid;
  place-items: center;
  min-height: 110px;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1100px) {
  .finance-dashboard-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-dashboard-two-column {
    grid-template-columns: 1fr;
  }

  .finance-dashboard-schedule-table {
    min-width: 1080px;
  }
}

@media (max-width: 700px) {
  .finance-dashboard-cashflow {
    grid-template-columns: 1fr;
  }

  .finance-dashboard-flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .finance-dashboard-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-dashboard-refresh {
    width: 100%;
  }

  .finance-dashboard-hero,
  .finance-dashboard-panel {
    padding: 18px;
    border-radius: 14px;
  }

  .finance-dashboard-schedule-panel {
    padding: 0;
  }

  .finance-dashboard-schedule-heading {
    padding: 18px;
  }

  .finance-dashboard-summary-grid {
    grid-template-columns: 1fr;
  }

  .finance-dashboard-recent-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .finance-dashboard-recent-total {
    width: 100%;
    text-align: right;
  }
}

/**
 * =========================================================
 * SISFO LSP APMP
 * FINANCE - TARIF
 * APP.CSS ADDITION
 * =========================================================
 *
 * APPEND KE:
 * /assets/css/app.css
 *
 * Sumber:
 * /assets/css/finance-tarif.css
 * =========================================================
 */

.finance-tarif-page {
  display: grid;
  gap: 20px;
}

.finance-tarif-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.finance-tarif-toolbar-left {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 10px;
}

.finance-tarif-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.finance-tarif-toolbar input,
.finance-tarif-toolbar select {
  min-height: 42px;
  padding: 0 12px;
  color: #0f172a;
  font: inherit;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  outline: none;
}

.finance-tarif-toolbar input {
  width: min(380px, 100%);
  flex: 1 1 280px;
}

.finance-tarif-toolbar select {
  min-width: 170px;
}

.finance-tarif-toolbar input:focus,
.finance-tarif-toolbar select:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.16);
}

.finance-tarif-button,
.finance-tarif-action {
  min-height: 40px;
  padding: 0 14px;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

.finance-tarif-button:hover,
.finance-tarif-action:hover {
  background: #f8fafc;
}

.finance-tarif-button.is-primary {
  color: #fff;
  background: #0f4c75;
  border-color: #0f4c75;
}

.finance-tarif-button.is-primary:hover {
  background: #0b3c5d;
  border-color: #0b3c5d;
}

.finance-tarif-button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.finance-tarif-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.finance-tarif-stat {
  padding: 17px 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.finance-tarif-stat span,
.finance-tarif-stat strong {
  display: block;
}

.finance-tarif-stat span {
  margin-bottom: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.finance-tarif-stat strong {
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
}

.finance-tarif-stat.is-income {
  border-top: 3px solid #16a34a;
}

.finance-tarif-stat.is-expense {
  border-top: 3px solid #dc2626;
}

.finance-tarif-stat.is-active {
  border-top: 3px solid #2563eb;
}

.finance-tarif-alert {
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.finance-tarif-alert.is-error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.finance-tarif-alert.is-success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.finance-tarif-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.finance-tarif-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.finance-tarif-card-head h2 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 18px;
}

.finance-tarif-card-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.finance-tarif-card-head > span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.finance-tarif-table-wrap {
  overflow-x: auto;
}

.finance-tarif-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  table-layout: fixed;
}

.finance-tarif-table th,
.finance-tarif-table td {
  padding: 12px 10px;
  vertical-align: middle;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
}

.finance-tarif-table th {
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #f8fafc;
}

.finance-tarif-table td {
  color: #334155;
  font-size: 13px;
}

.finance-tarif-table tbody tr:hover {
  background: #fbfdff;
}


@media (min-width: 981px) {
  .finance-tarif-table th:nth-child(1),
  .finance-tarif-table td:nth-child(1) {
    width: 8%;
  }

  .finance-tarif-table th:nth-child(2),
  .finance-tarif-table td:nth-child(2) {
    width: 11%;
  }

  .finance-tarif-table th:nth-child(3),
  .finance-tarif-table td:nth-child(3) {
    width: 28%;
  }

  .finance-tarif-table th:nth-child(4),
  .finance-tarif-table td:nth-child(4) {
    width: 10%;
  }

  .finance-tarif-table th:nth-child(5),
  .finance-tarif-table td:nth-child(5) {
    width: 6%;
    text-align: center;
  }

  .finance-tarif-table th:nth-child(6),
  .finance-tarif-table td:nth-child(6) {
    width: 8%;
    text-align: center;
  }

  .finance-tarif-table th:nth-child(7),
  .finance-tarif-table td:nth-child(7) {
    width: 7%;
    text-align: center;
  }

  .finance-tarif-table th:nth-child(8),
  .finance-tarif-table td:nth-child(8) {
    width: 22%;
  }

  .finance-tarif-table td:nth-child(1),
  .finance-tarif-table td:nth-child(2),
  .finance-tarif-table td:nth-child(4),
  .finance-tarif-table td:nth-child(5),
  .finance-tarif-table td:nth-child(6),
  .finance-tarif-table td:nth-child(7) {
    white-space: nowrap;
  }

  .finance-tarif-name strong {
    display: block;
    line-height: 1.35;
  }
}

.finance-tarif-table td.is-number {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.finance-tarif-name strong,
.finance-tarif-name small {
  display: block;
}

.finance-tarif-name strong {
  color: #0f172a;
}

.finance-tarif-name small {
  max-width: 100%;
  margin-top: 3px;
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finance-tarif-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  background: #f1f5f9;
  border-radius: 999px;
}

.finance-tarif-badge.is-income {
  color: #166534;
  background: #dcfce7;
}

.finance-tarif-badge.is-expense {
  color: #991b1b;
  background: #fee2e2;
}

.finance-tarif-badge.is-active {
  color: #1d4ed8;
  background: #dbeafe;
}

.finance-tarif-badge.is-inactive {
  color: #475569;
  background: #e2e8f0;
}

.finance-tarif-row-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
}

.finance-tarif-action {
  min-height: 31px;
  padding: 0 8px;
  font-size: 11px;
  white-space: nowrap;
}

.finance-tarif-action.is-status {
  color: #0f4c75;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.finance-tarif-action.is-status:hover {
  background: #dbeafe;
}

.finance-tarif-action.is-danger {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fff;
}

.finance-tarif-action.is-danger:hover {
  background: #fef2f2;
}

.finance-tarif-empty {
  padding: 34px !important;
  color: #64748b !important;
  text-align: center !important;
}

.finance-tarif-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-top: 1px solid #e5e7eb;
}

.finance-tarif-pagination-info {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.finance-tarif-pagination-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.finance-tarif-pagination-nav {
  min-height: 34px;
  padding: 0 12px;
  color: #0f172a;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
}

.finance-tarif-pagination-nav:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.finance-tarif-pagination-nav:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  background: #f8fafc;
  opacity: .75;
}

.finance-tarif-pagination-current {
  min-width: 24px;
  color: #0f4c75;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.finance-tarif-modal[hidden] {
  display: none;
}

.finance-tarif-modal {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.finance-tarif-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
}

.finance-tarif-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .25);
}

.finance-tarif-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid #e5e7eb;
}

.finance-tarif-modal-head span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.finance-tarif-modal-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 19px;
}

.finance-tarif-modal-close {
  width: 36px;
  height: 36px;
  color: #475569;
  font-size: 24px;
  cursor: pointer;
  background: #f8fafc;
  border: 0;
  border-radius: 10px;
}

.finance-tarif-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 22px 24px;
}

.finance-tarif-detail-item {
  min-width: 0;
  padding: 13px 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 11px;
}

.finance-tarif-detail-item.is-full {
  grid-column: 1 / -1;
}

.finance-tarif-detail-item span,
.finance-tarif-detail-item strong {
  display: block;
}

.finance-tarif-detail-item span {
  margin-bottom: 5px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.finance-tarif-detail-item strong {
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.5;
}

.finance-tarif-modal-open {
  overflow: hidden;
}


.finance-tarif-modal-dialog.is-form {
  width: min(820px, 100%);
}

.finance-tarif-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: 20px 22px;
}

.finance-tarif-field {
  display: block;
  min-width: 0;
}

.finance-tarif-field.is-full {
  grid-column: 1 / -1;
}

.finance-tarif-field > span {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.finance-tarif-field > span b {
  color: #dc2626;
}

.finance-tarif-field input,
.finance-tarif-field select,
.finance-tarif-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
}

.finance-tarif-field textarea {
  min-height: 80px;
  resize: vertical;
}

.finance-tarif-field input:focus,
.finance-tarif-field select:focus,
.finance-tarif-field textarea:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, .16);
}

.finance-tarif-field input:disabled,
.finance-tarif-field select:disabled {
  color: #64748b;
  cursor: not-allowed;
  background: #f1f5f9;
}

.finance-tarif-field small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
}

.finance-tarif-name-preview {
  min-height: 42px;
  padding: 10px 11px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow-wrap: anywhere;
}

.finance-tarif-form-alert {
  margin: 0 22px 18px;
  padding: 12px 14px;
  color: #991b1b;
  font-size: 12px;
  line-height: 1.5;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
}

.finance-tarif-form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 22px 20px;
  border-top: 1px solid #e5e7eb;
}


@media (min-width: 981px) and (max-width: 1200px) {
  .finance-tarif-table {
    min-width: 1040px;
  }

  .finance-tarif-table th,
  .finance-tarif-table td {
    padding-left: 8px;
    padding-right: 8px;
  }

  .finance-tarif-action {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 10.5px;
  }
}

@media (max-width: 980px) {
  .finance-tarif-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-tarif-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-tarif-toolbar-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 620px) {
  .finance-tarif-stats {
    grid-template-columns: 1fr;
  }

  .finance-tarif-toolbar-left {
    flex-direction: column;
  }

  .finance-tarif-toolbar input,
  .finance-tarif-toolbar select {
    width: 100%;
    min-width: 0;
  }

  .finance-tarif-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .finance-tarif-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .finance-tarif-pagination-controls {
    justify-content: flex-start;
    width: 100%;
  }

  .finance-tarif-detail-grid,
  .finance-tarif-form-grid {
    grid-template-columns: 1fr;
  }

  .finance-tarif-detail-item.is-full,
  .finance-tarif-field.is-full {
    grid-column: auto;
  }

  .finance-tarif-toolbar-actions {
    width: 100%;
  }

  .finance-tarif-toolbar-actions .finance-tarif-button {
    flex: 1;
  }
}

/**
 * =========================================================
 * SISFO LSP APMP
 * FINANCE - INPUT KEUANGAN / TRANSAKSI
 * APP.CSS ADDITION
 * =========================================================
 *
 * APPEND KE:
 * /assets/css/app.css
 *
 * Sumber:
 * /assets/css/finance-transaksi.css
 * =========================================================
 */

.finance-transaksi-page {
  display: grid;
  gap: 20px;
}

.finance-transaksi-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.finance-transaksi-toolbar-left {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}

.finance-transaksi-toolbar input,
.finance-transaksi-toolbar select {
  min-height: 42px;
  padding: 0 12px;
  color: #0f172a;
  font: inherit;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  outline: none;
}

.finance-transaksi-toolbar > .finance-transaksi-toolbar-left > input[type="search"] {
  width: min(360px, 100%);
  flex: 1 1 280px;
}

.finance-transaksi-toolbar select {
  min-width: 170px;
}

.finance-transaksi-toolbar input:focus,
.finance-transaksi-toolbar select:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.16);
}

.finance-transaksi-date-field {
  display: grid;
  gap: 5px;
}

.finance-transaksi-date-field span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.finance-transaksi-button,
.finance-transaksi-action,
.finance-transaksi-pagination-nav,
.finance-transaksi-modal-close {
  font: inherit;
  cursor: pointer;
}

.finance-transaksi-button,
.finance-transaksi-action {
  min-height: 40px;
  padding: 0 14px;
  color: #0f172a;
  font-weight: 700;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

.finance-transaksi-button:hover,
.finance-transaksi-action:hover {
  background: #f8fafc;
}

.finance-transaksi-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.finance-transaksi-stat {
  padding: 17px 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.finance-transaksi-stat span,
.finance-transaksi-stat strong,
.finance-transaksi-stat small {
  display: block;
}

.finance-transaksi-stat span {
  margin-bottom: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.finance-transaksi-stat strong {
  color: #0f172a;
  font-size: 23px;
  line-height: 1.15;
}

.finance-transaksi-stat small {
  margin-top: 7px;
  color: #64748b;
  font-size: 11px;
}

.finance-transaksi-stat.is-income {
  border-top: 3px solid #16a34a;
}

.finance-transaksi-stat.is-expense {
  border-top: 3px solid #dc2626;
}

.finance-transaksi-stat.is-balance {
  border-top: 3px solid #2563eb;
}

.finance-transaksi-alert {
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.finance-transaksi-alert.is-error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.finance-transaksi-alert.is-success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.finance-transaksi-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.finance-transaksi-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.finance-transaksi-card-head h2 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 18px;
}

.finance-transaksi-card-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.finance-transaksi-card-head > span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.finance-transaksi-table-wrap,
.finance-transaksi-detail-table-wrap {
  overflow-x: auto;
}

.finance-transaksi-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
}

.finance-transaksi-table th,
.finance-transaksi-table td,
.finance-transaksi-detail-table th,
.finance-transaksi-detail-table td {
  padding: 13px 14px;
  vertical-align: middle;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
}

.finance-transaksi-table th,
.finance-transaksi-detail-table th {
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #f8fafc;
}

.finance-transaksi-table td,
.finance-transaksi-detail-table td {
  color: #334155;
  font-size: 13px;
}

.finance-transaksi-table tbody tr:hover,
.finance-transaksi-detail-table tbody tr:hover {
  background: #fbfdff;
}

.finance-transaksi-table td.is-number,
.finance-transaksi-detail-table td.is-number {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.finance-transaksi-table td.is-date {
  white-space: nowrap;
}

.finance-transaksi-description strong,
.finance-transaksi-description small,
.finance-transaksi-detail-table td > strong,
.finance-transaksi-detail-table td > small,
.finance-transaksi-category-detail {
  display: block;
}

.finance-transaksi-description strong {
  max-width: 320px;
  color: #0f172a;
}

.finance-transaksi-description small,
.finance-transaksi-category-detail,
.finance-transaksi-detail-table td > small {
  margin-top: 4px;
  color: #64748b;
  font-size: 11px;
}

.finance-transaksi-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  background: #f1f5f9;
  border-radius: 999px;
}

.finance-transaksi-badge.is-income {
  color: #166534;
  background: #dcfce7;
}

.finance-transaksi-badge.is-expense {
  color: #991b1b;
  background: #fee2e2;
}

.finance-transaksi-badge.is-active {
  color: #1d4ed8;
  background: #dbeafe;
}

.finance-transaksi-badge.is-muted {
  color: #475569;
  background: #e2e8f0;
}

.finance-transaksi-action {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  white-space: nowrap;
}

.finance-transaksi-empty {
  padding: 34px !important;
  color: #64748b !important;
  text-align: center !important;
}

.finance-transaksi-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 12px 18px;
  border-top: 1px solid #e5e7eb;
}

.finance-transaksi-pagination-info {
  color: #64748b;
  font-size: 13px;
}

.finance-transaksi-pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.finance-transaksi-pagination-nav {
  min-height: 36px;
  padding: 0 12px;
  color: #334155;
  font-weight: 700;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
}

.finance-transaksi-pagination-nav:hover:not(:disabled) {
  background: #f8fafc;
}

.finance-transaksi-pagination-nav:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.finance-transaksi-pagination-current {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: #0f4c75;
  border-radius: 8px;
}

.finance-transaksi-modal[hidden] {
  display: none;
}

.finance-transaksi-modal {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.finance-transaksi-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .58);
}

.finance-transaksi-modal-card {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .28);
}

.finance-transaksi-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.finance-transaksi-modal-head span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.finance-transaksi-modal-head h2 {
  margin: 3px 0 0;
  color: #0f172a;
  font-size: 19px;
}

.finance-transaksi-modal-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #475569;
  font-size: 25px;
  line-height: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.finance-transaksi-modal-close:hover {
  background: #f8fafc;
}

.finance-transaksi-modal-body {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 20px;
}

.finance-transaksi-detail-grid,
.finance-transaksi-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.finance-transaksi-detail-field {
  padding: 13px 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 10px;
}

.finance-transaksi-detail-field.is-wide {
  grid-column: 1 / -1;
}

.finance-transaksi-detail-field > span,
.finance-transaksi-detail-field > strong {
  display: block;
}

.finance-transaksi-detail-field > span {
  margin-bottom: 5px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.finance-transaksi-detail-field > strong {
  color: #0f172a;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.finance-transaksi-detail-items {
  margin-top: 20px;
}

.finance-transaksi-detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.finance-transaksi-detail-section-head h3 {
  margin: 0 0 3px;
  color: #0f172a;
  font-size: 16px;
}

.finance-transaksi-detail-section-head p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.finance-transaksi-detail-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  border: 1px solid #e5e7eb;
}

.finance-transaksi-detail-total {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.finance-transaksi-detail-total > div {
  padding: 13px 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.finance-transaksi-detail-total span,
.finance-transaksi-detail-total strong {
  display: block;
}

.finance-transaksi-detail-total span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.finance-transaksi-detail-total strong {
  margin-top: 5px;
  color: #0f172a;
  font-size: 15px;
}

.finance-transaksi-detail-total .is-grand-total {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.finance-transaksi-detail-total .is-grand-total strong {
  color: #0f4c75;
}

.finance-transaksi-detail-meta {
  margin-top: 18px;
}

.finance-transaksi-detail-loading,
.finance-transaksi-detail-error {
  padding: 36px 20px;
  text-align: center;
}

.finance-transaksi-detail-loading {
  color: #64748b;
}

.finance-transaksi-detail-error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
}

body.finance-transaksi-modal-open {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .finance-transaksi-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-transaksi-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-transaksi-button {
    align-self: flex-end;
  }

  .finance-transaksi-detail-total {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .finance-transaksi-stats,
  .finance-transaksi-detail-grid,
  .finance-transaksi-detail-meta,
  .finance-transaksi-detail-total {
    grid-template-columns: 1fr;
  }

  .finance-transaksi-detail-field.is-wide {
    grid-column: auto;
  }

  .finance-transaksi-toolbar-left {
    display: grid;
    grid-template-columns: 1fr;
  }

  .finance-transaksi-toolbar > .finance-transaksi-toolbar-left > input[type="search"],
  .finance-transaksi-toolbar select,
  .finance-transaksi-date-field input {
    width: 100%;
  }

  .finance-transaksi-button {
    width: 100%;
  }

  .finance-transaksi-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-transaksi-pagination-controls {
    justify-content: flex-end;
  }

  .finance-transaksi-modal {
    padding: 10px;
  }

  .finance-transaksi-modal-card {
    max-height: calc(100vh - 20px);
  }

  .finance-transaksi-modal-body {
    max-height: calc(100vh - 98px);
    padding: 14px;
  }
}


/* =========================================================
   INPUT KEUANGAN - FORM TAMBAH TRANSAKSI
========================================================= */

.finance-transaksi-button-primary {
  color: #fff;
  background: #0f4c75;
  border-color: #0f4c75;
}

.finance-transaksi-button-primary:hover {
  color: #fff;
  background: #0b3d60;
}

.finance-transaksi-form-card {
  width: min(1180px, 100%);
}

.finance-transaksi-form {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 120px);
}

.finance-transaksi-form-body {
  overflow-y: auto;
  padding: 20px;
}

.finance-transaksi-form-section {
  margin-bottom: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.finance-transaksi-form-section h3 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 16px;
}

.finance-transaksi-form-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.finance-transaksi-form-section-head h3 {
  margin: 0 0 3px;
}

.finance-transaksi-form-section-head p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.finance-transaksi-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.finance-transaksi-form-grid label {
  display: grid;
  gap: 6px;
}

.finance-transaksi-form-grid label.is-wide {
  grid-column: 1 / -1;
}

.finance-transaksi-form-grid label > span,
.finance-transaksi-item-total > span {
  color: #475569;
  font-size: 11px;
  font-weight: 800;
}

.finance-transaksi-form-grid input,
.finance-transaksi-form-grid select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  color: #0f172a;
  font: inherit;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 9px;
  outline: none;
}

.finance-transaksi-form-grid input:focus,
.finance-transaksi-form-grid select:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, .15);
}

.finance-transaksi-form-items {
  display: grid;
  gap: 12px;
}

.finance-transaksi-form-item {
  padding: 15px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.finance-transaksi-form-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.finance-transaksi-form-item-head strong {
  color: #0f172a;
}

.finance-transaksi-item-remove {
  padding: 0;
  color: #b91c1c;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.finance-transaksi-item-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 9px;
}

.finance-transaksi-item-total strong {
  margin-top: 5px;
  color: #0f4c75;
  font-size: 16px;
}

.finance-transaksi-form-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.finance-transaksi-form-summary > div {
  padding: 13px 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.finance-transaksi-form-summary span,
.finance-transaksi-form-summary strong {
  display: block;
}

.finance-transaksi-form-summary span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.finance-transaksi-form-summary strong {
  margin-top: 5px;
  color: #0f172a;
  font-size: 16px;
}

.finance-transaksi-form-summary .is-grand-total {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.finance-transaksi-form-summary .is-grand-total strong {
  color: #0f4c75;
}

.finance-transaksi-form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 20px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 700px) {
  .finance-transaksi-form-grid,
  .finance-transaksi-form-summary {
    grid-template-columns: 1fr;
  }

  .finance-transaksi-form-grid label.is-wide {
    grid-column: auto;
  }

  .finance-transaksi-form-section-head {
    align-items: stretch;
    flex-direction: column;
  }
}


.finance-transaksi-row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}


/* =========================================================
   INPUT KEUANGAN - ITEM FORM HORIZONTAL TABLE
========================================================= */

.finance-transaksi-form-items-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.finance-transaksi-form-items-table {
  width: 100%;
  min-width: 1560px;
  border-collapse: collapse;
  background: #fff;
}

.finance-transaksi-form-items-table th,
.finance-transaksi-form-items-table td {
  padding: 10px;
  vertical-align: middle;
  border-right: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}

.finance-transaksi-form-items-table th:last-child,
.finance-transaksi-form-items-table td:last-child {
  border-right: 0;
}

.finance-transaksi-form-items-table tbody tr:last-child td {
  border-bottom: 0;
}

.finance-transaksi-form-items-table th {
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: left;
  white-space: nowrap;
  text-transform: uppercase;
  background: #f8fafc;
}

.finance-transaksi-form-items-table td {
  background: #fff;
}

.finance-transaksi-form-items-table tbody tr:hover td {
  background: #fbfdff;
}

.finance-transaksi-form-item {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.finance-transaksi-form-item-head {
  display: none;
}

.finance-transaksi-form-items-table input,
.finance-transaksi-form-items-table select {
  width: 100%;
  min-height: 40px;
  padding: 0 9px;
  color: #0f172a;
  font: inherit;
  font-size: 12px;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  outline: none;
}

.finance-transaksi-form-items-table input:focus,
.finance-transaksi-form-items-table select:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, .15);
}

.finance-transaksi-item-number {
  width: 48px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.finance-transaksi-cell-tarif {
  width: 250px;
  min-width: 250px;
}

.finance-transaksi-cell-skema {
  width: 230px;
  min-width: 230px;
}

.finance-transaksi-cell-uraian {
  width: 270px;
  min-width: 270px;
}

.finance-transaksi-cell-qty {
  width: 90px;
  min-width: 90px;
}

.finance-transaksi-cell-satuan {
  width: 140px;
  min-width: 140px;
}

.finance-transaksi-cell-harga {
  width: 150px;
  min-width: 150px;
}

.finance-transaksi-cell-taxable {
  width: 115px;
  min-width: 115px;
}

.finance-transaksi-cell-pajak {
  width: 95px;
  min-width: 95px;
}

.finance-transaksi-cell-total {
  width: 150px;
  min-width: 150px;
  text-align: right;
  white-space: nowrap;
}

.finance-transaksi-cell-total .tx-item-total {
  color: #0f4c75;
  font-size: 13px;
}

.finance-transaksi-cell-action {
  width: 78px;
  min-width: 78px;
  text-align: center;
}

.finance-transaksi-item-remove {
  min-height: 34px;
  padding: 0 10px;
  color: #b91c1c;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 8px;
  cursor: pointer;
}

.finance-transaksi-item-remove:hover {
  background: #fef2f2;
}

.finance-transaksi-item-total {
  display: block;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.finance-transaksi-item-total > span {
  display: none;
}

@media (max-width: 700px) {
  .finance-transaksi-form-items-table {
    min-width: 1500px;
  }
}


/* =========================================================
   INPUT KEUANGAN - ITEM TABLE TANPA HORIZONTAL SCROLL
========================================================= */

.finance-transaksi-form-items-table-wrap {
  overflow-x: visible;
}

.finance-transaksi-form-items-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.finance-transaksi-form-items-table th,
.finance-transaksi-form-items-table td {
  padding: 7px 5px;
}

.finance-transaksi-form-items-table th {
  font-size: 9px;
  white-space: normal;
  line-height: 1.25;
}

.finance-transaksi-item-number {
  width: 4%;
}

.finance-transaksi-cell-tarif {
  width: 16%;
  min-width: 0;
}

.finance-transaksi-cell-skema {
  width: 14%;
  min-width: 0;
}

.finance-transaksi-cell-uraian {
  width: 17%;
  min-width: 0;
}

.finance-transaksi-cell-qty {
  width: 6%;
  min-width: 0;
}

.finance-transaksi-cell-satuan {
  width: 9%;
  min-width: 0;
}

.finance-transaksi-cell-harga {
  width: 10%;
  min-width: 0;
}

.finance-transaksi-cell-taxable {
  width: 7%;
  min-width: 0;
}

.finance-transaksi-cell-pajak {
  width: 6%;
  min-width: 0;
}

.finance-transaksi-cell-total {
  width: 9%;
  min-width: 0;
}

.finance-transaksi-cell-action {
  width: 7%;
  min-width: 0;
}

.finance-transaksi-form-items-table input,
.finance-transaksi-form-items-table select {
  min-width: 0;
  min-height: 38px;
  padding: 0 6px;
  font-size: 11px;
}

.finance-transaksi-form-items-table select {
  text-overflow: ellipsis;
}

.finance-transaksi-cell-total {
  white-space: normal;
}

.finance-transaksi-cell-total .tx-item-total {
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.25;
}

.finance-transaksi-item-remove {
  width: 100%;
  min-height: 32px;
  padding: 0 4px;
  font-size: 10px;
}

@media (max-width: 700px) {
  .finance-transaksi-form-items-table {
    min-width: 0;
  }
}


/* =========================================================
   INPUT KEUANGAN - PERKECIL KOLOM NO.
========================================================= */

.finance-transaksi-form-items-table th:first-child,
.finance-transaksi-form-items-table td:first-child,
.finance-transaksi-item-number {
  width: 28px;
  min-width: 28px;
  max-width: 28px;
  padding-left: 3px;
  padding-right: 3px;
  text-align: center;
}


/* =========================================================
   INPUT KEUANGAN - TOMBOL HAPUS
========================================================= */

.finance-transaksi-action.is-danger {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fff;
}

.finance-transaksi-action.is-danger:hover {
  color: #991b1b;
  border-color: #fca5a5;
  background: #fef2f2;
}


/* =========================================================
   INPUT KEUANGAN - MULTI PERSONIL / ASESOR
========================================================= */

#txPersonil,
#txAsesor {
  min-height: 112px;
  padding: 5px;
}

#txPersonil option,
#txAsesor option {
  padding: 6px 8px;
}

.finance-transaksi-multi-hint {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.4;
}


/* =========================================================
   INPUT KEUANGAN - SEARCHABLE MULTI PERSONIL / ASESOR
========================================================= */

.finance-transaksi-native-multi {
  display: none !important;
}

.finance-transaksi-multi-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.finance-transaksi-multi-field > span {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.finance-transaksi-multi-picker {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.finance-transaksi-multi-selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
}

.finance-transaksi-multi-empty {
  color: #94a3b8;
  font-size: 11px;
}

.finance-transaksi-multi-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 5px 6px 5px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 11px;
  line-height: 1.2;
}

.finance-transaksi-multi-chip > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finance-transaksi-multi-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #64748b;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.finance-transaksi-multi-chip button:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.finance-transaksi-multi-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}

.finance-transaksi-multi-search {
  width: 100%;
  min-width: 0;
}

.finance-transaksi-multi-clear {
  padding: 0 9px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.finance-transaksi-multi-clear:hover {
  background: #f8fafc;
  color: #334155;
}

.finance-transaksi-multi-results {
  max-height: 190px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.finance-transaksi-multi-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  color: #334155;
  text-align: left;
  cursor: pointer;
}

.finance-transaksi-multi-result:last-child {
  border-bottom: 0;
}

.finance-transaksi-multi-result:hover {
  background: #f8fafc;
}

.finance-transaksi-multi-result > span {
  min-width: 0;
}

.finance-transaksi-multi-result strong,
.finance-transaksi-multi-result small {
  display: block;
}

.finance-transaksi-multi-result strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finance-transaksi-multi-result small {
  margin-top: 2px;
  color: #64748b;
  font-size: 10px;
}

.finance-transaksi-multi-result b {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 10px;
  white-space: nowrap;
}

.finance-transaksi-multi-result-empty {
  padding: 10px;
  color: #94a3b8;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 760px) {
  .finance-transaksi-multi-search-row {
    grid-template-columns: 1fr;
  }

  .finance-transaksi-multi-clear {
    min-height: 34px;
  }
}


/* =========================================================
   INPUT KEUANGAN - MULTI PICKER COMPACT DROPDOWN
========================================================= */

/*
 * Override style lama agar select tersembunyi tidak ikut
 * mendapat tinggi 112px.
 */
#txPersonil.finance-transaksi-native-multi,
#txAsesor.finance-transaksi-native-multi {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.finance-transaksi-multi-field {
  position: relative;
  align-self: start;
  width: 100%;
}

.finance-transaksi-multi-selected {
  min-height: 38px;
}

.finance-transaksi-multi-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.finance-transaksi-multi-toggle:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.finance-transaksi-multi-toggle b {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.15s ease;
}

.finance-transaksi-multi-toggle[aria-expanded="true"] b {
  transform: rotate(180deg);
}

.finance-transaksi-multi-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  padding: 7px;
  border: 1px solid #dbe3ec;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.finance-transaksi-multi-dropdown[hidden] {
  display: none !important;
}

.finance-transaksi-multi-dropdown .finance-transaksi-multi-results {
  margin-top: 7px;
  max-height: 180px;
}

/*
 * Rapikan grid Relasi.
 * Semua field, termasuk Mitra, kembali mengikuti tinggi kontennya
 * dan tidak ikut meregang mengikuti picker Personil.
 */
.finance-transaksi-form-section .finance-transaksi-form-grid {
  align-items: start;
}

.finance-transaksi-form-section .finance-transaksi-form-grid > label,
.finance-transaksi-form-section .finance-transaksi-form-grid > .finance-transaksi-multi-field {
  align-self: start;
  min-height: 0;
}

#txMitra {
  min-height: 40px;
  height: 40px;
}


/* =========================================================
   INPUT KEUANGAN - LIST PERSONIL / ASESOR + URAIAN BERNOMOR
========================================================= */

.finance-transaksi-numbered-list {
  margin: 0;
  padding-left: 18px;
}

.finance-transaksi-numbered-list li {
  margin: 0 0 3px;
  line-height: 1.35;
}

.finance-transaksi-numbered-list li:last-child {
  margin-bottom: 0;
}

.finance-transaksi-people {
  min-width: 130px;
}

.finance-transaksi-people-group + .finance-transaksi-people-group {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid #eef2f7;
}

.finance-transaksi-people-group > small {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.finance-transaksi-people-group .finance-transaksi-numbered-list {
  font-size: 11px;
}

.finance-transaksi-description > .finance-transaksi-numbered-list {
  font-weight: 700;
}

/* Satuan sekarang berupa select */
.finance-transaksi-cell-satuan .tx-item-satuan {
  width: 100%;
  min-width: 0;
}


/* =========================================================
   INPUT KEUANGAN - HEADER DATA TRANSAKSI + TABEL
   Penyesuaian setelah:
   - Muat Ulang dan Tambah Transaksi dipindah ke header tabel;
   - Uraian diganti menjadi Sub Kategori;
   - Kategori hanya menampilkan badge.
   ========================================================= */

.finance-transaksi-card-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.finance-transaksi-card-head-actions > span {
  margin-right: 4px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

#financeTransaksiPrimaryAction {
  display: flex;
  align-items: center;
}

.finance-transaksi-card-head-actions .finance-transaksi-button {
  min-height: 38px;
  padding: 0 13px;
  font-size: 12px;
  white-space: nowrap;
}

/* Filter atas sekarang hanya berisi pencarian, kategori, dan rentang tanggal. */
.finance-transaksi-toolbar {
  justify-content: flex-start;
}

.finance-transaksi-toolbar-left {
  width: 100%;
}

/* Tabel utama dibuat pas dengan 9 kolom yang sekarang digunakan. */
@media (min-width: 1001px) {
  .finance-transaksi-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .finance-transaksi-table th,
  .finance-transaksi-table td {
    padding: 12px 10px;
  }

  .finance-transaksi-table th:nth-child(1),
  .finance-transaksi-table td:nth-child(1) {
    width: 10%;
  }

  .finance-transaksi-table th:nth-child(2),
  .finance-transaksi-table td:nth-child(2) {
    width: 11%;
  }

  .finance-transaksi-table th:nth-child(3),
  .finance-transaksi-table td:nth-child(3) {
    width: 17%;
  }

  .finance-transaksi-table th:nth-child(4),
  .finance-transaksi-table td:nth-child(4) {
    width: 9%;
  }

  .finance-transaksi-table th:nth-child(5),
  .finance-transaksi-table td:nth-child(5) {
    width: 20%;
  }

  .finance-transaksi-table th:nth-child(6),
  .finance-transaksi-table td:nth-child(6) {
    width: 5%;
    text-align: center;
  }

  .finance-transaksi-table th:nth-child(7),
  .finance-transaksi-table td:nth-child(7) {
    width: 10%;
  }

  .finance-transaksi-table th:nth-child(8),
  .finance-transaksi-table td:nth-child(8) {
    width: 7%;
    text-align: center;
  }

  .finance-transaksi-table th:nth-child(9),
  .finance-transaksi-table td:nth-child(9) {
    width: 11%;
  }

  .finance-transaksi-table td:nth-child(1),
  .finance-transaksi-table td:nth-child(2),
  .finance-transaksi-table td:nth-child(6),
  .finance-transaksi-table td:nth-child(7),
  .finance-transaksi-table td:nth-child(8) {
    white-space: nowrap;
  }

  .finance-transaksi-description strong {
    max-width: none;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }

  .finance-transaksi-row-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
  }

  .finance-transaksi-action {
    min-height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }
}

@media (max-width: 1000px) {
  .finance-transaksi-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .finance-transaksi-card-head-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .finance-transaksi-table {
    min-width: 1080px;
  }
}

@media (max-width: 640px) {
  .finance-transaksi-card-head-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .finance-transaksi-card-head-actions > span {
    grid-column: 1 / -1;
    margin-right: 0;
  }

  #financeTransaksiPrimaryAction {
    display: contents;
  }

  .finance-transaksi-card-head-actions .finance-transaksi-button {
    width: 100%;
  }
}

/* =========================================================
   FINANCE - INVOICE
   Dipindahkan dari /assets/css/finance-invoice.css
   Tambahkan blok ini ke bagian paling bawah /assets/css/app.css
========================================================= */

/* =========================================================
   FINANCE - INVOICE
========================================================= */

.finance-invoice-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.finance-invoice-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.finance-invoice-toolbar-left {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.finance-invoice-toolbar input,
.finance-invoice-toolbar select {
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

#financeInvoiceSearch {
  flex: 1 1 280px;
  min-width: 220px;
}

#financeInvoiceStatus {
  min-width: 150px;
}

.finance-invoice-date-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.finance-invoice-date-field span {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.finance-invoice-button,
.finance-invoice-action,
.finance-invoice-pagination-nav,
.finance-invoice-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.finance-invoice-button:hover,
.finance-invoice-action:hover,
.finance-invoice-pagination-nav:hover:not(:disabled),
.finance-invoice-link:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.finance-invoice-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.finance-invoice-stat {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.finance-invoice-stat > span {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.finance-invoice-stat > strong {
  display: block;
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
}

.finance-invoice-stat > small {
  display: block;
  margin-top: 7px;
  color: #94a3b8;
  font-size: 10px;
}

.finance-invoice-stat.is-draft {
  border-top: 3px solid #f59e0b;
}

.finance-invoice-stat.is-issued {
  border-top: 3px solid #2563eb;
}

.finance-invoice-stat.is-completed {
  border-top: 3px solid #16a34a;
}

.finance-invoice-alert {
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 12px;
}

.finance-invoice-alert.is-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.finance-invoice-alert.is-success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.finance-invoice-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.finance-invoice-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.finance-invoice-card-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
}

.finance-invoice-card-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 11px;
}

.finance-invoice-card-head > span {
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.finance-invoice-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.finance-invoice-table,
.finance-invoice-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.finance-invoice-table {
  min-width: 1050px;
}

.finance-invoice-table th,
.finance-invoice-table td,
.finance-invoice-detail-table th,
.finance-invoice-detail-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
  text-align: left;
}

.finance-invoice-table th,
.finance-invoice-detail-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.finance-invoice-table td,
.finance-invoice-detail-table td {
  color: #334155;
  font-size: 12px;
}

.finance-invoice-table td > small,
.finance-invoice-description small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 10px;
}

.finance-invoice-table .is-number,
.finance-invoice-detail-table .is-number {
  white-space: nowrap;
}

.finance-invoice-description strong {
  color: #0f172a;
}

.finance-invoice-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.finance-invoice-badge.is-draft {
  background: #fef3c7;
  color: #92400e;
}

.finance-invoice-badge.is-issued {
  background: #dbeafe;
  color: #1d4ed8;
}

.finance-invoice-badge.is-completed {
  background: #dcfce7;
  color: #166534;
}

.finance-invoice-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.finance-invoice-link {
  min-height: 30px;
  padding: 0 8px;
  font-size: 10px;
}

.finance-invoice-empty {
  padding: 30px !important;
  color: #94a3b8 !important;
  text-align: center !important;
}

.finance-invoice-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
}

.finance-invoice-pagination-info {
  color: #64748b;
  font-size: 11px;
}

.finance-invoice-pagination-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.finance-invoice-pagination-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border-radius: 8px;
  background: #075985;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.finance-invoice-pagination-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.finance-invoice-modal[hidden] {
  display: none !important;
}

.finance-invoice-modal {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.finance-invoice-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
}

.finance-invoice-modal-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1050px, 96vw);
  max-height: 90vh;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
}

.finance-invoice-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.finance-invoice-modal-head span {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

.finance-invoice-modal-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.finance-invoice-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid #dbe3ec;
  border-radius: 9px;
  background: #fff;
  color: #475569;
  font-size: 23px;
  cursor: pointer;
}

.finance-invoice-modal-body {
  overflow-y: auto;
  padding: 18px 20px 22px;
}

.finance-invoice-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.finance-invoice-detail-field {
  padding: 11px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #f8fafc;
}

.finance-invoice-detail-field > span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.finance-invoice-detail-field > strong {
  color: #0f172a;
  font-size: 12px;
}

.finance-invoice-detail-section {
  margin-top: 16px;
}

.finance-invoice-detail-section h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 14px;
}

.finance-invoice-detail-table {
  min-width: 760px;
  border: 1px solid #e2e8f0;
}

.finance-invoice-totals {
  width: min(410px, 100%);
  margin: 14px 0 0 auto;
}

.finance-invoice-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0;
  border-bottom: 1px solid #edf2f7;
  font-size: 12px;
}

.finance-invoice-totals .is-grand {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.finance-invoice-detail-documents {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.finance-invoice-detail-documents a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  background: #075985;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.finance-invoice-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .finance-invoice-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-invoice-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .finance-invoice-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-invoice-toolbar-left {
    flex-direction: column;
    align-items: stretch;
  }

  #financeInvoiceSearch,
  #financeInvoiceStatus {
    width: 100%;
    min-width: 0;
  }

  .finance-invoice-stats,
  .finance-invoice-detail-grid {
    grid-template-columns: 1fr;
  }

  .finance-invoice-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================================
   FINANCE INVOICE - GENERATE
========================================================= */

.finance-invoice-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.finance-invoice-action-primary {
  border-color: #075985;
  background: #075985;
  color: #fff;
}

.finance-invoice-action-primary:hover:not(:disabled) {
  border-color: #0c4a6e;
  background: #0c4a6e;
}

.finance-invoice-action:disabled {
  opacity: 0.55;
  cursor: wait;
}


/* =========================================================
   FINANCE INVOICE - MANUAL NUMBER / DATE / DELETE
========================================================= */

.finance-invoice-action-danger {
  border-color: #fecaca;
  background: #fff;
  color: #b91c1c;
}

.finance-invoice-action-danger:hover:not(:disabled) {
  border-color: #ef4444;
  background: #fef2f2;
}

.finance-invoice-generate-card {
  width: min(560px, 96vw);
}

.finance-invoice-generate-form {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.finance-invoice-generate-body {
  display: grid;
  gap: 15px;
  overflow-y: auto;
  padding: 18px 20px;
}

.finance-invoice-generate-info {
  padding: 11px 12px;
  border: 1px solid #bae6fd;
  border-radius: 9px;
  background: #f0f9ff;
  color: #0c4a6e;
  font-size: 12px;
  line-height: 1.55;
}

.finance-invoice-generate-field {
  display: grid;
  gap: 6px;
}

.finance-invoice-generate-field > span,
.finance-invoice-generate-preview > span {
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}

.finance-invoice-generate-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  box-sizing: border-box;
}

.finance-invoice-generate-field small {
  color: #64748b;
  font-size: 10px;
  line-height: 1.5;
}

.finance-invoice-generate-preview {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 9px;
  background: #f8fafc;
}

.finance-invoice-generate-preview strong {
  color: #0f172a;
  font-size: 13px;
}

.finance-invoice-generate-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}


/* =========================================================
   FINANCE INVOICE - TABLE ACTIONS & PAGINATION POLISH
========================================================= */

.finance-invoice-table {
  min-width: 1180px;
}

.finance-invoice-links,
.finance-invoice-row-actions {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.finance-invoice-row-actions {
  align-items: center;
}

.finance-invoice-table th:last-child,
.finance-invoice-table td:last-child {
  width: 1%;
  white-space: nowrap;
}

.finance-invoice-table th:nth-last-child(2),
.finance-invoice-table td:nth-last-child(2) {
  width: 1%;
  white-space: nowrap;
}

.finance-invoice-pagination {
  min-height: 58px;
  padding: 10px 16px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.finance-invoice-pagination-info {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

.finance-invoice-pagination-controls {
  gap: 6px;
}

.finance-invoice-pagination-nav {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 8px;
}

.finance-invoice-pagination-current {
  min-width: 34px;
  min-height: 34px;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .finance-invoice-pagination {
    gap: 10px;
  }

  .finance-invoice-pagination-controls {
    width: 100%;
    justify-content: flex-end;
  }
}

/* =========================================================
   FINANCE - KWITANSI (MIGRATED TO GLOBAL APP.CSS)
   ========================================================= */

/* =========================================================
   FINANCE - KWITANSI
========================================================= */

.finance-kwitansi-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.finance-kwitansi-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.finance-kwitansi-toolbar-left {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.finance-kwitansi-toolbar input,
.finance-kwitansi-toolbar select {
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

#financeInvoiceSearch {
  flex: 1 1 280px;
  min-width: 220px;
}

#financeInvoiceStatus {
  min-width: 150px;
}

.finance-kwitansi-date-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.finance-kwitansi-date-field span {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.finance-kwitansi-button,
.finance-kwitansi-action,
.finance-kwitansi-pagination-nav,
.finance-kwitansi-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.finance-kwitansi-button:hover,
.finance-kwitansi-action:hover,
.finance-kwitansi-pagination-nav:hover:not(:disabled),
.finance-kwitansi-link:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.finance-kwitansi-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.finance-kwitansi-stat {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.finance-kwitansi-stat > span {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.finance-kwitansi-stat > strong {
  display: block;
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
}

.finance-kwitansi-stat > small {
  display: block;
  margin-top: 7px;
  color: #94a3b8;
  font-size: 10px;
}

.finance-kwitansi-stat.is-draft {
  border-top: 3px solid #f59e0b;
}

.finance-kwitansi-stat.is-issued {
  border-top: 3px solid #2563eb;
}

.finance-kwitansi-stat.is-completed {
  border-top: 3px solid #16a34a;
}

.finance-kwitansi-alert {
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 12px;
}

.finance-kwitansi-alert.is-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.finance-kwitansi-alert.is-success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.finance-kwitansi-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.finance-kwitansi-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.finance-kwitansi-card-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
}

.finance-kwitansi-card-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 11px;
}

.finance-kwitansi-card-head > span {
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.finance-kwitansi-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.finance-kwitansi-table,
.finance-kwitansi-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.finance-kwitansi-table {
  min-width: 1050px;
}

.finance-kwitansi-table th,
.finance-kwitansi-table td,
.finance-kwitansi-detail-table th,
.finance-kwitansi-detail-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
  text-align: left;
}

.finance-kwitansi-table th,
.finance-kwitansi-detail-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.finance-kwitansi-table td,
.finance-kwitansi-detail-table td {
  color: #334155;
  font-size: 12px;
}

.finance-kwitansi-table td > small,
.finance-kwitansi-description small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 10px;
}

.finance-kwitansi-table .is-number,
.finance-kwitansi-detail-table .is-number {
  white-space: nowrap;
}

.finance-kwitansi-description strong {
  color: #0f172a;
}

.finance-kwitansi-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.finance-kwitansi-badge.is-draft {
  background: #fef3c7;
  color: #92400e;
}

.finance-kwitansi-badge.is-issued {
  background: #dbeafe;
  color: #1d4ed8;
}

.finance-kwitansi-badge.is-completed {
  background: #dcfce7;
  color: #166534;
}

.finance-kwitansi-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.finance-kwitansi-link {
  min-height: 30px;
  padding: 0 8px;
  font-size: 10px;
}

.finance-kwitansi-empty {
  padding: 30px !important;
  color: #94a3b8 !important;
  text-align: center !important;
}

.finance-kwitansi-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
}

.finance-kwitansi-pagination-info {
  color: #64748b;
  font-size: 11px;
}

.finance-kwitansi-pagination-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.finance-kwitansi-pagination-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border-radius: 8px;
  background: #075985;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.finance-kwitansi-pagination-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.finance-kwitansi-modal[hidden] {
  display: none !important;
}

.finance-kwitansi-modal {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.finance-kwitansi-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
}

.finance-kwitansi-modal-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1050px, 96vw);
  max-height: 90vh;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
}

.finance-kwitansi-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.finance-kwitansi-modal-head span {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}

.finance-kwitansi-modal-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.finance-kwitansi-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid #dbe3ec;
  border-radius: 9px;
  background: #fff;
  color: #475569;
  font-size: 23px;
  cursor: pointer;
}

.finance-kwitansi-modal-body {
  overflow-y: auto;
  padding: 18px 20px 22px;
}

.finance-kwitansi-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.finance-kwitansi-detail-field {
  padding: 11px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #f8fafc;
}

.finance-kwitansi-detail-field > span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.finance-kwitansi-detail-field > strong {
  color: #0f172a;
  font-size: 12px;
}

.finance-kwitansi-detail-section {
  margin-top: 16px;
}

.finance-kwitansi-detail-section h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 14px;
}

.finance-kwitansi-detail-table {
  min-width: 760px;
  border: 1px solid #e2e8f0;
}

.finance-kwitansi-totals {
  width: min(410px, 100%);
  margin: 14px 0 0 auto;
}

.finance-kwitansi-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0;
  border-bottom: 1px solid #edf2f7;
  font-size: 12px;
}

.finance-kwitansi-totals .is-grand {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.finance-kwitansi-detail-documents {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.finance-kwitansi-detail-documents a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  background: #075985;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.finance-kwitansi-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .finance-kwitansi-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-kwitansi-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .finance-kwitansi-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-kwitansi-toolbar-left {
    flex-direction: column;
    align-items: stretch;
  }

  #financeInvoiceSearch,
  #financeInvoiceStatus {
    width: 100%;
    min-width: 0;
  }

  .finance-kwitansi-stats,
  .finance-kwitansi-detail-grid {
    grid-template-columns: 1fr;
  }

  .finance-kwitansi-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================================
   FINANCE KWITANSI - GENERATE
========================================================= */

.finance-kwitansi-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.finance-kwitansi-action-primary {
  border-color: #075985;
  background: #075985;
  color: #fff;
}

.finance-kwitansi-action-primary:hover:not(:disabled) {
  border-color: #0c4a6e;
  background: #0c4a6e;
}

.finance-kwitansi-action:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* =========================================================
   FINANCE KWITANSI - STAGE 1
========================================================= */

.finance-kwitansi-description {
  max-width: 360px;
}

.finance-kwitansi-invoice-ref strong,
.finance-kwitansi-description strong {
  display: block;
  color: #0f172a;
}

.finance-kwitansi-invoice-ref small,
.finance-kwitansi-description small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 10px;
}


/* =========================================================
   FINANCE KWITANSI - GENERATE / REGENERATE
========================================================= */

.finance-kwitansi-row-actions,
.finance-kwitansi-links {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.finance-kwitansi-table {
  min-width: 1180px;
}

.finance-kwitansi-table th:last-child,
.finance-kwitansi-table td:last-child,
.finance-kwitansi-table th:nth-last-child(2),
.finance-kwitansi-table td:nth-last-child(2) {
  width: 1%;
  white-space: nowrap;
}

.finance-kwitansi-generate-card {
  width: min(560px, 96vw);
}

.finance-kwitansi-generate-form {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.finance-kwitansi-generate-body {
  display: grid;
  gap: 15px;
  overflow-y: auto;
  padding: 18px 20px;
}

.finance-kwitansi-generate-info {
  padding: 11px 12px;
  border: 1px solid #bae6fd;
  border-radius: 9px;
  background: #f0f9ff;
  color: #0c4a6e;
  font-size: 12px;
  line-height: 1.55;
}

.finance-kwitansi-generate-field {
  display: grid;
  gap: 6px;
}

.finance-kwitansi-generate-field > span,
.finance-kwitansi-generate-preview > span {
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}

.finance-kwitansi-generate-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  box-sizing: border-box;
}

.finance-kwitansi-generate-field small {
  color: #64748b;
  font-size: 10px;
  line-height: 1.5;
}

.finance-kwitansi-generate-preview {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 9px;
  background: #f8fafc;
}

.finance-kwitansi-generate-preview strong {
  color: #0f172a;
  font-size: 13px;
}

.finance-kwitansi-generate-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}


/* =========================================================
   FINANCE KWITANSI - DELETE
========================================================= */

.finance-kwitansi-action-danger {
  border-color: #fecaca;
  background: #fff;
  color: #b91c1c;
}

.finance-kwitansi-action-danger:hover:not(:disabled) {
  border-color: #ef4444;
  background: #fef2f2;
}

/* =========================================================
   FINANCE - HONOR
   Pindahkan/tambahkan blok ini ke bagian paling bawah:
   /assets/css/app.css
   ========================================================= */

/* =========================================================
   FINANCE - HONOR
========================================================= */

.finance-honor-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.finance-honor-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.finance-honor-toolbar-left {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.finance-honor-toolbar input,
.finance-honor-toolbar select {
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

#financeHonorSearch {
  flex: 1 1 280px;
  min-width: 220px;
}

#financeHonorStatus {
  min-width: 150px;
}

.finance-honor-date-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.finance-honor-date-field span {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.finance-honor-button,
.finance-honor-action,
.finance-honor-pagination-nav,
.finance-honor-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.finance-honor-button:hover,
.finance-honor-action:hover,
.finance-honor-pagination-nav:hover:not(:disabled),
.finance-honor-link:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.finance-honor-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.finance-honor-stat {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.finance-honor-stat > span {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.finance-honor-stat > strong {
  display: block;
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
}

.finance-honor-stat > small {
  display: block;
  margin-top: 7px;
  color: #94a3b8;
  font-size: 10px;
}

.finance-honor-stat.is-draft {
  border-top: 3px solid #f59e0b;
}

.finance-honor-stat.is-issued {
  border-top: 3px solid #2563eb;
}

.finance-honor-stat.is-value {
  border-top: 3px solid #16a34a;
}

.finance-honor-alert {
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 12px;
}

.finance-honor-alert.is-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.finance-honor-alert.is-success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.finance-honor-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.finance-honor-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.finance-honor-card-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
}

.finance-honor-card-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
}

#financeHonorResultCount {
  color: #64748b;
  font-size: 12px;
  white-space: nowrap;
}

.finance-honor-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.finance-honor-table,
.finance-honor-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.finance-honor-table {
  min-width: 1180px;
}

.finance-honor-table th,
.finance-honor-table td,
.finance-honor-detail-table th,
.finance-honor-detail-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
}

.finance-honor-table th,
.finance-honor-detail-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.finance-honor-table td > strong,
.finance-honor-description > strong {
  display: block;
  color: #0f172a;
}

.finance-honor-table td > small,
.finance-honor-description > small,
.finance-honor-detail-table td > small {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 10px;
}

.finance-honor-table .is-number,
.finance-honor-detail-table .is-number {
  text-align: right;
  white-space: nowrap;
}

.finance-honor-table .is-date {
  white-space: nowrap;
}

.finance-honor-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.finance-honor-badge.is-draft {
  background: #fff7ed;
  color: #c2410c;
}

.finance-honor-badge.is-issued {
  background: #eff6ff;
  color: #1d4ed8;
}

.finance-honor-links,
.finance-honor-row-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

.finance-honor-empty {
  padding: 24px !important;
  color: #94a3b8;
  text-align: center !important;
}

.finance-honor-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
}

.finance-honor-pagination-info {
  color: #64748b;
  font-size: 11px;
}

.finance-honor-pagination-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.finance-honor-pagination-current {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.finance-honor-pagination-nav:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.finance-honor-modal[hidden] {
  display: none;
}

.finance-honor-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 18px;
  overflow-y: auto;
}

.finance-honor-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .58);
}

.finance-honor-modal-card {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
}

.finance-honor-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.finance-honor-modal-head span {
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.finance-honor-modal-head h2 {
  margin: 3px 0 0;
  color: #0f172a;
  font-size: 19px;
}

.finance-honor-modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid #dbe3ec;
  border-radius: 9px;
  background: #fff;
  color: #334155;
  font-size: 22px;
  cursor: pointer;
}

.finance-honor-modal-body {
  padding: 20px;
}

.finance-honor-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.finance-honor-detail-field {
  padding: 11px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.finance-honor-detail-field > span {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.finance-honor-detail-field > strong {
  color: #0f172a;
  font-size: 12px;
}

.finance-honor-detail-section {
  margin-top: 18px;
}

.finance-honor-detail-section h3 {
  margin: 0 0 9px;
  color: #0f172a;
  font-size: 13px;
}

.finance-honor-detail-section p {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.6;
}

.finance-honor-total-box {
  width: min(420px, 100%);
  margin: 18px 0 0 auto;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.finance-honor-total-box > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 5px 0;
  color: #475569;
  font-size: 12px;
}

.finance-honor-total-box > div.is-grand {
  margin-top: 5px;
  padding-top: 10px;
  border-top: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 14px;
}

.finance-honor-total-box p {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.finance-honor-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .finance-honor-stats,
  .finance-honor-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .finance-honor-toolbar,
  .finance-honor-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-honor-stats,
  .finance-honor-detail-grid {
    grid-template-columns: 1fr;
  }

  .finance-honor-toolbar-left {
    flex-direction: column;
    align-items: stretch;
  }

  #financeHonorSearch,
  #financeHonorStatus {
    width: 100%;
    min-width: 0;
  }
}
/* =========================================================
   FINANCE HONOR - GENERATE / REGENERATE
========================================================= */

.finance-honor-action-primary,
.finance-honor-button-primary {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}

.finance-honor-action-primary:hover,
.finance-honor-button-primary:hover {
  border-color: #1e293b;
  background: #1e293b;
}

.finance-honor-action:disabled,
.finance-honor-button:disabled {
  cursor: wait;
  opacity: .55;
}

.finance-honor-row-actions,
.finance-honor-links {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.finance-honor-table th:last-child,
.finance-honor-table td:last-child,
.finance-honor-table th:nth-last-child(2),
.finance-honor-table td:nth-last-child(2) {
  width: 1%;
  white-space: nowrap;
}

.finance-honor-generate-card {
  width: min(560px, 96vw);
}

.finance-honor-generate-form {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.finance-honor-generate-body {
  display: grid;
  gap: 15px;
  overflow-y: auto;
  padding: 18px 20px;
}

.finance-honor-generate-info {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid #bae6fd;
  border-radius: 9px;
  background: #f0f9ff;
  color: #0c4a6e;
  font-size: 12px;
  line-height: 1.55;
}

.finance-honor-generate-info > strong {
  color: #0c4a6e;
  font-size: 13px;
}

.finance-honor-generate-info > span {
  display: block;
}

.finance-honor-generate-field {
  display: grid;
  gap: 6px;
}

.finance-honor-generate-field > span,
.finance-honor-generate-preview > span {
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}

.finance-honor-generate-field input {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 11px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.finance-honor-generate-field small {
  color: #64748b;
  font-size: 10px;
  line-height: 1.5;
}

.finance-honor-generate-preview {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 9px;
  background: #f8fafc;
}

.finance-honor-generate-preview strong {
  color: #0f172a;
  font-size: 13px;
}

.finance-honor-generate-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.finance-honor-action-danger {
  border-color: #fecaca;
  background: #fff;
  color: #b91c1c;
}

.finance-honor-action-danger:hover {
  border-color: #ef4444;
  background: #fef2f2;
  color: #991b1b;
}

.finance-honor-proof {
  display: grid;
  gap: 16px;
}

.finance-honor-proof-existing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: #f8fafc;
}

.finance-honor-proof-existing > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.finance-honor-proof-existing span,
.finance-honor-proof-upload small,
.finance-honor-proof-empty {
  color: #64748b;
  font-size: 13px;
}

.finance-honor-proof-existing strong {
  overflow-wrap: anywhere;
}

.finance-honor-proof-existing-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.finance-honor-proof-upload {
  display: grid;
  gap: 9px;
}

.finance-honor-proof-upload label {
  font-weight: 700;
  color: #1e293b;
}

.finance-honor-proof-upload input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #334155;
}

.finance-honor-proof-upload .finance-honor-button {
  justify-self: start;
}

.finance-honor-button-primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.finance-honor-button-primary:hover {
  border-color: #1d4ed8;
  background: #1d4ed8;
}

.finance-honor-button-danger {
  border-color: #fecaca;
  background: #fff;
  color: #b91c1c;
}

.finance-honor-button-danger:hover {
  border-color: #ef4444;
  background: #fef2f2;
  color: #991b1b;
}

.finance-honor-proof-alert {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.finance-honor-proof-alert.is-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.finance-honor-proof-alert.is-success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

@media (max-width: 640px) {
  .finance-honor-proof-existing {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-honor-proof-existing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-honor-proof-existing-actions .finance-honor-link,
  .finance-honor-proof-existing-actions .finance-honor-button,
  .finance-honor-proof-upload .finance-honor-button {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
 * FINANCE - CASHFLOW
 * Tambahkan ke bagian paling bawah /assets/css/app.css
 * Sumber: finance-cashflow.css v1.2.0
 * ========================================================= */

.cashflow-page {
  display: grid;
  gap: 18px;
}

.cashflow-panel,
.cashflow-summary-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.cashflow-panel {
  padding: 22px;
  border-radius: 18px;
}

.cashflow-heading,
.cashflow-table-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cashflow-heading {
  margin-bottom: 18px;
}

.cashflow-heading h2,
.cashflow-table-heading h3 {
  margin: 0;
  color: #0f172a;
}

.cashflow-heading h2 {
  margin-top: 4px;
  font-size: 26px;
}

.cashflow-heading p,
.cashflow-table-heading p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.cashflow-eyebrow {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
}

.cashflow-filter-grid {
  display: grid;
  grid-template-columns:
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    auto;
  align-items: end;
  gap: 12px;
}

.cashflow-field {
  display: grid;
  gap: 7px;
}

.cashflow-field span {
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.cashflow-field input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: #0f172a;
  font: inherit;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

.cashflow-field input:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, .15);
}

.cashflow-button {
  min-height: 42px;
  padding: 9px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
}

.cashflow-button.is-primary {
  color: #fff;
  background: #0f4c75;
}

.cashflow-button.is-primary:hover {
  background: #0b4165;
}

.cashflow-button:disabled {
  cursor: wait;
  opacity: .6;
}

.cashflow-alert {
  margin-top: 14px;
  padding: 11px 13px;
  color: #991b1b;
  font-size: 13px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fef2f2;
}

.cashflow-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cashflow-summary-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-height: 108px;
  padding: 18px;
  border-radius: 15px;
}

.cashflow-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #94a3b8;
}

.cashflow-summary-card.is-opening::before { background: #475569; }
.cashflow-summary-card.is-income::before { background: #16a34a; }
.cashflow-summary-card.is-expense::before,
.cashflow-summary-card.is-loss::before { background: #dc2626; }
.cashflow-summary-card.is-tax::before { background: #7c3aed; }
.cashflow-summary-card.is-net::before { background: #2563eb; }
.cashflow-summary-card.is-closing::before { background: #0f766e; }

.cashflow-summary-card span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.cashflow-summary-card strong {
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.25;
}

.cashflow-table-heading {
  margin-bottom: 14px;
}

.cashflow-table-heading h3 {
  font-size: 18px;
}

.cashflow-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  background: #f1f5f9;
}

.cashflow-table-wrap {
  width: 100%;
  overflow-x: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.cashflow-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}

.cashflow-table th,
.cashflow-table td {
  padding: 10px 7px;
  vertical-align: top;
  border-bottom: 1px solid #eef2f7;
}

.cashflow-table th {
  color: #334155;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
  background: #f8fafc;
}

.cashflow-table td {
  color: #334155;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.cashflow-table tbody tr:last-child td {
  border-bottom: 0;
}

.cashflow-table tbody tr:hover td {
  background: #fafcff;
}

.cashflow-table .is-center {
  text-align: center;
}

.cashflow-table .is-money {
  text-align: right;
  white-space: nowrap;
}

.cashflow-table .is-date {
  white-space: normal;
}

.cashflow-table th:nth-child(1),
.cashflow-table td:nth-child(1) { width: 4%; text-align: center; }

.cashflow-table th:nth-child(2),
.cashflow-table td:nth-child(2) { width: 10%; }

.cashflow-table th:nth-child(3),
.cashflow-table td:nth-child(3) { width: 10%; }

.cashflow-table th:nth-child(4),
.cashflow-table td:nth-child(4) { width: 23%; }

.cashflow-table th:nth-child(5),
.cashflow-table td:nth-child(5) { width: 10%; }

.cashflow-table th:nth-child(6),
.cashflow-table td:nth-child(6) { width: 6%; }

.cashflow-table th:nth-child(7),
.cashflow-table td:nth-child(7) { width: 10%; }

.cashflow-table th:nth-child(8),
.cashflow-table td:nth-child(8) { width: 10%; }

.cashflow-table th:nth-child(9),
.cashflow-table td:nth-child(9) { width: 7%; }

.cashflow-table th:nth-child(10),
.cashflow-table td:nth-child(10) { width: 10%; }

.cashflow-description {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cashflow-description strong {
  color: #0f172a;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cashflow-description small,
.cashflow-unit {
  color: #94a3b8;
  font-size: 9px;
}

.cashflow-unit {
  display: block;
  margin-top: 2px;
}

.cashflow-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  max-width: 100%;
  padding: 3px 6px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
  border-radius: 7px;
}

.cashflow-badge.is-income {
  color: #166534;
  background: #dcfce7;
}

.cashflow-badge.is-expense {
  color: #991b1b;
  background: #fee2e2;
}

.is-income-value { color: #166534 !important; }
.is-expense-value { color: #991b1b !important; }

.cashflow-empty {
  padding: 32px 15px !important;
  color: #94a3b8 !important;
  text-align: center !important;
}

.cashflow-filter-action {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cashflow-button.is-secondary {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #fff;
}

.cashflow-button.is-secondary:hover {
  background: #f8fafc;
}

.cashflow-generate-result {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  background: #f0fdf4;
}

.cashflow-generate-result-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cashflow-generate-result-main > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cashflow-generate-result strong {
  color: #166534;
  font-size: 13px;
}

.cashflow-generate-result small {
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cashflow-document-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.cashflow-document-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  color: #0f4c75;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  background: #f0f9ff;
  box-sizing: border-box;
}

.cashflow-document-link.is-pdf {
  color: #991b1b;
  border-color: #fecaca;
  background: #fef2f2;
}

.cashflow-document-link.is-delete {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fff;
  cursor: pointer;
}

.cashflow-document-link.is-delete:hover {
  color: #991b1b;
  border-color: #fca5a5;
  background: #fef2f2;
}

.cashflow-document-link.is-delete:disabled {
  cursor: wait;
  opacity: .6;
}

.cashflow-document-link:hover {
  filter: brightness(.98);
}

.cashflow-history {
  min-height: 76px;
}

.cashflow-history-list {
  display: grid;
  gap: 10px;
}

.cashflow-history-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.cashflow-history-main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.cashflow-history-main > strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cashflow-history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: #64748b;
  font-size: 11px;
}

.cashflow-history-meta b {
  color: #334155;
  font-weight: 700;
}

.cashflow-history-error {
  padding: 14px;
  color: #991b1b;
  font-size: 12px;
  text-align: center;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fef2f2;
}

@media (max-width: 980px) {
  .cashflow-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cashflow-table-wrap {
    overflow-x: auto;
  }

  .cashflow-table {
    min-width: 980px;
  }
}

@media (max-width: 720px) {
  .cashflow-filter-grid {
    grid-template-columns: 1fr;
  }

  .cashflow-filter-action,
  .cashflow-filter-action .cashflow-button {
    width: 100%;
  }

  .cashflow-filter-action {
    flex-direction: column;
  }

  .cashflow-summary-grid {
    grid-template-columns: 1fr;
  }

  .cashflow-table-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .cashflow-generate-result-main {
    align-items: stretch;
    flex-direction: column;
  }

  .cashflow-document-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .cashflow-document-link {
    flex: 1 1 120px;
    justify-content: center;
  }

  .cashflow-history-card {
    align-items: stretch;
    flex-direction: column;
  }

  .cashflow-history-card .cashflow-document-actions {
    width: 100%;
  }
}

.profit-loss-page {
  display: grid;
  gap: 18px;
}

.profit-loss-panel {
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.profit-loss-heading {
  margin-bottom: 18px;
}

.profit-loss-heading h2 {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 26px;
}

.profit-loss-heading p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.profit-loss-eyebrow {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
}

.profit-loss-filter-grid {
  display: grid;
  grid-template-columns:
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    auto;
  align-items: end;
  gap: 12px;
}

.profit-loss-field {
  display: grid;
  gap: 7px;
}

.profit-loss-field span {
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.profit-loss-field input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: #0f172a;
  font: inherit;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

.profit-loss-field input:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, .15);
}

.profit-loss-filter-action {
  display: flex;
  align-items: center;
}

.profit-loss-button {
  min-height: 42px;
  padding: 9px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
}

.profit-loss-button.is-primary {
  color: #fff;
  background: #0f4c75;
}

.profit-loss-button.is-primary:hover {
  background: #0b4165;
}

.profit-loss-button:disabled {
  cursor: wait;
  opacity: .6;
}

.profit-loss-alert {
  margin-top: 14px;
  padding: 11px 13px;
  color: #991b1b;
  font-size: 13px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fef2f2;
}

.profit-loss-document {
  padding: 24px;
}

.profit-loss-document-title {
  margin-bottom: 16px;
  text-align: center;
}

.profit-loss-document-title h3 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  text-decoration: underline;
}

.profit-loss-document-title p {
  margin: 5px 0 0;
  color: #475569;
  font-size: 12px;
}

.profit-loss-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.profit-loss-report-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  table-layout: fixed;
}

.profit-loss-report-table th,
.profit-loss-report-table td {
  padding: 10px 12px;
  color: #111827;
  font-size: 12px;
  line-height: 1.35;
  border: 1px solid #64748b;
}

.profit-loss-report-table thead th {
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  background: #dbeafe;
}

.profit-loss-report-table th:first-child,
.profit-loss-report-table td:first-child {
  width: 70%;
}

.profit-loss-report-table th:last-child,
.profit-loss-report-table td:last-child {
  width: 30%;
}

.profit-loss-report-table .is-money {
  text-align: right;
  white-space: nowrap;
}

.profit-loss-report-table thead .is-money {
  text-align: center;
}

.profit-loss-section-row th {
  text-align: left;
  font-weight: 800;
  background: #f8fafc;
}

.profit-loss-total-row th,
.profit-loss-result-row th,
.profit-loss-final-row th {
  font-weight: 800;
}

.profit-loss-total-row th {
  background: #f8fafc;
}

.profit-loss-result-row th {
  background: #fff;
}

.profit-loss-final-row th {
  background: #eff6ff;
}

.profit-loss-empty {
  padding: 28px !important;
  color: #94a3b8 !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  .profit-loss-panel {
    padding: 16px;
    border-radius: 14px;
  }

  .profit-loss-filter-grid {
    grid-template-columns: 1fr;
  }

  .profit-loss-filter-action,
  .profit-loss-button {
    width: 100%;
  }

  .profit-loss-document {
    padding: 14px;
  }
}


.profit-loss-filter-action {
  gap: 8px;
}

.profit-loss-button.is-secondary {
  color: #0f172a;
  border-color: #cbd5e1;
  background: #fff;
}

.profit-loss-button.is-secondary:hover {
  background: #f8fafc;
}

.profit-loss-generate-result {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  background: #f0fdf4;
}

.profit-loss-generate-result-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.profit-loss-generate-result-main > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.profit-loss-generate-result strong {
  color: #166534;
  font-size: 13px;
}

.profit-loss-generate-result small {
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profit-loss-document-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.profit-loss-document-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  color: #0f4c75;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  background: #f0f9ff;
  box-sizing: border-box;
}

.profit-loss-document-link.is-pdf {
  color: #991b1b;
  border-color: #fecaca;
  background: #fef2f2;
}

.profit-loss-document-link.is-delete {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fff;
  cursor: pointer;
}

.profit-loss-document-link.is-delete:hover {
  color: #991b1b;
  border-color: #fca5a5;
  background: #fef2f2;
}

.profit-loss-document-link.is-delete:disabled {
  cursor: wait;
  opacity: .6;
}

@media (max-width: 760px) {
  .profit-loss-filter-action {
    flex-direction: column;
  }

  .profit-loss-generate-result-main {
    align-items: stretch;
    flex-direction: column;
  }

  .profit-loss-document-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .profit-loss-document-link {
    flex: 1 1 120px;
    justify-content: center;
  }
}


.profit-loss-history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.profit-loss-history-heading h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.profit-loss-history-heading p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.profit-loss-history-list {
  display: grid;
  gap: 10px;
}

.profit-loss-history-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.profit-loss-history-main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.profit-loss-history-main > strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profit-loss-history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: #64748b;
  font-size: 11px;
}

.profit-loss-history-meta b {
  color: #334155;
  font-weight: 700;
}

.profit-loss-history-error {
  padding: 14px;
  color: #991b1b;
  font-size: 12px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fef2f2;
}

@media (max-width: 760px) {
  .profit-loss-history-heading,
  .profit-loss-history-card {
    align-items: stretch;
    flex-direction: column;
  }

  .profit-loss-history-card .profit-loss-document-actions {
    width: 100%;
  }
}

/* =========================================================
   FINANCE TRANSAKSI — AKSI 1 BARIS + STATUS REALISASI
   Append di bagian PALING BAWAH /assets/css/app.css
   VERSION 1.1.0
   ========================================================= */

.finance-transaksi-table th:last-child,
.finance-transaksi-table td.finance-transaksi-action-cell {
  width: 190px;
  min-width: 190px;
}

.finance-transaksi-row-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  white-space: nowrap;
}

.finance-transaksi-row-actions .finance-transaksi-action {
  flex: 0 0 auto;
}

.finance-transaksi-badge.is-partial {
  color: #92400e;
  background: #fef3c7;
}

/* =========================================================
   INPUT KEUANGAN — RELASI MITRA/TUK, PERSONIL, ASESOR
   Append di bagian PALING BAWAH /assets/css/app.css
   VERSION 1.1.0
   ========================================================= */

#txMitra.finance-transaksi-native-multi,
#txPersonil.finance-transaksi-native-multi,
#txAsesor.finance-transaksi-native-multi {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.finance-transaksi-form-section .finance-transaksi-form-grid {
  align-items: start;
}

/* Data transaksi: 4 field tanggal/kategori tetap 2 kolom,
   tiga field relasi dibuat satu baris penuh. */
.finance-transaksi-relation-field {
  min-width: 0;
}

@media (min-width: 901px) {
  .finance-transaksi-form-section .finance-transaksi-form-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .finance-transaksi-form-section .finance-transaksi-form-grid > label {
    grid-column: span 3;
  }

  .finance-transaksi-form-section .finance-transaksi-form-grid >
  .finance-transaksi-relation-field {
    grid-column: span 2;
  }
}

.finance-transaksi-relation-field .finance-transaksi-multi-picker {
  width: 100%;
}

.finance-transaksi-relation-field .finance-transaksi-multi-selected {
  min-height: 38px;
}

.finance-transaksi-relation-field .finance-transaksi-multi-toggle {
  width: 100%;
}

.finance-transaksi-relation-field .finance-transaksi-multi-dropdown {
  z-index: 60;
}

@media (max-width: 900px) {
  .finance-transaksi-relation-field {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   FINANCE KWITANSI - PEMBAYARAN SEBAGIAN v2.0.0
   Tambahkan di PALING BAWAH /assets/css/app.css
   ========================================================= */

.finance-kwitansi-payment-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 2px;
}

.finance-kwitansi-payment-summary > div {
  padding: 14px 16px;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  background: #fff;
}

.finance-kwitansi-payment-summary span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #6b7280;
}

.finance-kwitansi-payment-summary strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .finance-kwitansi-payment-summary {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FINANCE KWITANSI - RIWAYAT PEMBAYARAN v2.0.1
   Tambahkan di PALING BAWAH /assets/css/app.css
   ========================================================= */

.finance-kwitansi-detail-section .finance-kwitansi-detail-table th:last-child,
.finance-kwitansi-detail-section .finance-kwitansi-detail-table td:last-child {
  width: 92px;
  min-width: 92px;
  white-space: nowrap;
}

.finance-kwitansi-detail-section .finance-kwitansi-detail-table td.is-number {
  white-space: nowrap;
}

.finance-kwitansi-detail-section .finance-kwitansi-links {
  flex-wrap: nowrap;
}

/* =========================================================
 * FINANCE KWITANSI + TRANSAKSI
 * Pembayaran bertahap / input nominal
 * Append ke bagian paling bawah /assets/css/app.css
 * ========================================================= */

/* Hilangkan tombol spinner atas/bawah pada input angka Kwitansi. */
#financeKwitansiGenerateForm input[type="number"]::-webkit-outer-spin-button,
#financeKwitansiGenerateForm input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#financeKwitansiGenerateForm input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Keterangan jumlah pembayaran pada tabel Kwitansi. */
.finance-kwitansi-payment-count,
.finance-transaksi-realization {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: #64748b;
  white-space: nowrap;
}

/*
 * =========================================================
 * SISFO LSP APMP
 * FINANCE - TRANSAKSI TABLE SPACING
 * VERSION 1.0.2
 * =========================================================
 *
 * GANTI VERSION 1.0.1 DENGAN BLOK INI.
 * Jangan dipasang bersamaan dengan v1.0.0 / v1.0.1.
 *
 * Tujuan:
 * - Personil / Asesor dipersempit.
 * - Item dan Status bergeser ke kiri.
 * - Total diperlebar agar nominal + Terbayar lebih lega.
 * - Tombol Detail / Edit / Hapus memiliki tinggi dan alignment konsisten.
 */

.finance-transaksi-table {
    width: 100%;
    table-layout: auto;
}

/* PERSONIL / ASESOR */
.finance-transaksi-table th:nth-child(6),
.finance-transaksi-table td:nth-child(6) {
    width: 190px;
    max-width: 190px;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
}

/* ITEM */
.finance-transaksi-table th:nth-child(7),
.finance-transaksi-table td:nth-child(7) {
    width: 54px;
    min-width: 54px;
    padding-left: 6px;
    padding-right: 6px;
    text-align: center;
}

/* TOTAL */
.finance-transaksi-table th:nth-child(8),
.finance-transaksi-table td:nth-child(8) {
    width: 175px;
    min-width: 175px;
    padding-left: 10px;
    padding-right: 10px;
}

/* STATUS */
.finance-transaksi-table th:nth-child(9),
.finance-transaksi-table td:nth-child(9) {
    width: 125px;
    min-width: 125px;
    padding-left: 6px;
    padding-right: 6px;
}

/* AKSI */
.finance-transaksi-table th:nth-child(10),
.finance-transaksi-table td:nth-child(10),
.finance-transaksi-action-cell {
    width: 190px;
    min-width: 190px;
    padding-left: 6px;
    padding-right: 10px;
}

.finance-transaksi-action {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    white-space: nowrap;
}

.finance-transaksi-action .btn,
.finance-transaksi-action button,
.finance-transaksi-action a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    height: 34px;
    padding: 0 10px;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
}

/* =========================================================
   PUBLIC - VERIFIKASI KWITANSI
   Tambahkan di PALING BAWAH /assets/css/app.css
   ========================================================= */

.public-verify-page {
  min-height: 100vh;
  margin: 0;
  background: #f6f7f9;
}

.public-verify-shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.public-verify-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, .08);
}

.public-verify-header {
  padding: 32px;
  text-align: center;
  border-bottom: 1px solid #eceff2;
}

.public-verify-logo {
  display: block;
  width: 170px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 18px;
}

.public-verify-header h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.public-verify-header p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 14px;
}

.public-verify-loading,
.public-verify-error,
.public-verify-result {
  padding: 28px 32px 32px;
}

.public-verify-loading {
  text-align: center;
  color: #667085;
}

.public-verify-error {
  text-align: center;
}

.public-verify-error strong {
  display: block;
  color: #b42335;
  font-size: 17px;
}

.public-verify-error p {
  margin: 8px 0 0;
  color: #667085;
}

.public-verify-badge {
  width: fit-content;
  margin: 0 auto 24px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}

.public-verify-badge.is-valid {
  color: #067647;
  background: #ecfdf3;
  border: 1px solid #abefc6;
}

.public-verify-badge.is-invalid {
  color: #b42335;
  background: #fff1f3;
  border: 1px solid #fecdd6;
}

.public-verify-invalid-note {
  margin: -10px auto 24px;
  max-width: 560px;
  color: #b42335;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
}

.public-verify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #eaecf0;
  border-left: 1px solid #eaecf0;
}

.public-verify-grid > div {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid #eaecf0;
  border-bottom: 1px solid #eaecf0;
}

.public-verify-grid span {
  display: block;
  margin-bottom: 5px;
  color: #667085;
  font-size: 12px;
}

.public-verify-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: #101828;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .public-verify-shell {
    width: min(100% - 20px, 760px);
    padding: 20px 0;
  }

  .public-verify-header,
  .public-verify-loading,
  .public-verify-error,
  .public-verify-result {
    padding-left: 20px;
    padding-right: 20px;
  }

  .public-verify-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PUBLIC - VERIFIKASI KWITANSI v1.1.0
   Tambahkan di PALING BAWAH /assets/css/app.css
   ========================================================= */

body.public-verify-page {
  min-height: 100vh;
  margin: 0;
  background: #f4f6f8;
  color: #1f2937;
  font-family: Arial, Helvetica, sans-serif;
}

.public-verify-page .public-verify-shell {
  box-sizing: border-box;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.public-verify-page .public-verify-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .09);
}

.public-verify-page .public-verify-header {
  padding: 30px 32px 26px;
  text-align: center;
  border-bottom: 4px solid #b42335;
  background: #ffffff;
}

.public-verify-page .public-verify-logo {
  display: block;
  width: 155px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 18px;
}

.public-verify-page .public-verify-header h1 {
  margin: 0;
  color: #111827;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
}

.public-verify-page .public-verify-header p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.public-verify-page .public-verify-loading,
.public-verify-page .public-verify-error,
.public-verify-page .public-verify-result {
  padding: 28px 32px 32px;
}

.public-verify-page .public-verify-loading {
  text-align: center;
  color: #667085;
  font-size: 14px;
}

.public-verify-page .public-verify-error {
  text-align: center;
}

.public-verify-page .public-verify-error strong {
  display: block;
  color: #b42335;
  font-size: 17px;
}

.public-verify-page .public-verify-error p {
  margin: 8px 0 0;
  color: #667085;
  line-height: 1.5;
}

.public-verify-page .public-verify-badge {
  box-sizing: border-box;
  width: fit-content;
  margin: 0 auto 26px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
}

.public-verify-page .public-verify-badge.is-valid {
  color: #067647;
  background: #ecfdf3;
  border: 1px solid #abefc6;
}

.public-verify-page .public-verify-badge.is-invalid {
  color: #b42335;
  background: #fff1f3;
  border: 1px solid #fecdd6;
}

.public-verify-page .public-verify-invalid-note {
  max-width: 560px;
  margin: -10px auto 24px;
  color: #b42335;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
}

.public-verify-page .public-verify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
}

.public-verify-page .public-verify-grid > div {
  box-sizing: border-box;
  min-width: 0;
  padding: 15px 17px;
  border-bottom: 1px solid #e5e7eb;
}

.public-verify-page .public-verify-grid > div:nth-child(odd) {
  border-right: 1px solid #e5e7eb;
}

.public-verify-page .public-verify-grid > div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.public-verify-page .public-verify-grid span {
  display: block;
  margin: 0 0 5px;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.public-verify-page .public-verify-grid strong {
  display: block;
  margin: 0;
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.public-verify-page #verifyAmount,
.public-verify-page #verifyInvoiceTotal,
.public-verify-page #verifyPaid,
.public-verify-page #verifyRemaining {
  color: #b42335;
}

@media (max-width: 640px) {
  .public-verify-page .public-verify-shell {
    width: min(100% - 20px, 760px);
    padding: 20px 0;
  }

  .public-verify-page .public-verify-card {
    border-radius: 14px;
  }

  .public-verify-page .public-verify-header {
    padding: 24px 20px 22px;
  }

  .public-verify-page .public-verify-logo {
    width: 140px;
    margin-bottom: 15px;
  }

  .public-verify-page .public-verify-header h1 {
    font-size: 22px;
  }

  .public-verify-page .public-verify-loading,
  .public-verify-page .public-verify-error,
  .public-verify-page .public-verify-result {
    padding: 22px 18px 24px;
  }

  .public-verify-page .public-verify-grid {
    grid-template-columns: 1fr;
  }

  .public-verify-page .public-verify-grid > div,
  .public-verify-page .public-verify-grid > div:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .public-verify-page .public-verify-grid > div:nth-last-child(2) {
    border-bottom: 1px solid #e5e7eb;
  }

  .public-verify-page .public-verify-grid > div:last-child {
    border-bottom: 0;
  }
}

/* =========================================================
   FINANCE TRANSAKSI - RELASI 4 KOLOM
   Mitra / TUK | Personil | Asesor | Peserta
   Tambahkan di bagian paling bawah /assets/css/app.css
   ========================================================= */

@media (min-width: 1100px) {
  #financeTransaksiFormModal .finance-transaksi-form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #financeTransaksiFormModal .finance-transaksi-relation-field {
    min-width: 0;
  }
}

@media (min-width: 700px) and (max-width: 1099px) {
  #financeTransaksiFormModal .finance-transaksi-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  #financeTransaksiFormModal .finance-transaksi-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   FINANCE TRANSAKSI - DATA TRANSAKSI + 4 RELASI SEJAJAR
   VERSION 1.0.1

   Tambahkan di PALING BAWAH /assets/css/app.css.
   Blok ini menggantikan override "FINANCE TRANSAKSI - RELASI 4 KOLOM"
   sebelumnya tanpa mengubah susunan field Data Transaksi.
   ========================================================= */

/* Native select milik picker tidak boleh tampil. */
#txMitra.finance-transaksi-native-multi,
#txPersonil.finance-transaksi-native-multi,
#txAsesor.finance-transaksi-native-multi,
#txPeserta.finance-transaksi-native-multi {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

/*
 * Desktop:
 * - Tanggal + Kategori                 = 2 kolom
 * - Pelaksanaan Mulai + Berakhir      = 2 kolom
 * - Mitra | Personil | Asesor | Peserta = 1 baris, 4 kolom
 */
@media (min-width: 1100px) {
  #financeTransaksiFormModal
  .finance-transaksi-form-section
  .finance-transaksi-form-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }

  #financeTransaksiFormModal
  .finance-transaksi-form-section
  .finance-transaksi-form-grid > label {
    grid-column: span 6;
  }

  #financeTransaksiFormModal
  .finance-transaksi-form-section
  .finance-transaksi-form-grid >
  .finance-transaksi-relation-field {
    grid-column: span 3;
    min-width: 0;
    align-self: start;
  }
}

/*
 * Tablet:
 * Pertahankan bentuk 2 kolom agar field tetap nyaman dibaca.
 */
@media (min-width: 701px) and (max-width: 1099px) {
  #financeTransaksiFormModal
  .finance-transaksi-form-section
  .finance-transaksi-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  #financeTransaksiFormModal
  .finance-transaksi-form-section
  .finance-transaksi-form-grid > label,
  #financeTransaksiFormModal
  .finance-transaksi-form-section
  .finance-transaksi-form-grid >
  .finance-transaksi-relation-field {
    grid-column: auto;
    min-width: 0;
  }
}

/* Mobile tetap 1 kolom. */
@media (max-width: 700px) {
  #financeTransaksiFormModal
  .finance-transaksi-form-section
  .finance-transaksi-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #financeTransaksiFormModal
  .finance-transaksi-form-section
  .finance-transaksi-form-grid > label,
  #financeTransaksiFormModal
  .finance-transaksi-form-section
  .finance-transaksi-form-grid >
  .finance-transaksi-relation-field {
    grid-column: auto;
    min-width: 0;
  }
}

/* =========================================================
   ASESOR - SERTIFIKAT
   Tampilan Sertifikat Asesor & Kompetensi per Skema
========================================================= */

.asesor-certificate-list {
  display: grid;
  gap: 12px;
}

.asesor-certificate-card {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) minmax(180px, 1fr) minmax(160px, .9fr) minmax(110px, .7fr) minmax(210px, auto);
  gap: 14px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  background: #fff;
}

.asesor-certificate-scheme,
.asesor-certificate-field,
.asesor-certificate-file {
  min-width: 0;
}

.asesor-certificate-scheme {
  align-self: center;
}

.asesor-certificate-scheme strong {
  display: block;
  line-height: 1.35;
}

.asesor-certificate-scheme small,
.asesor-certificate-file span,
.asesor-certificate-field label {
  display: block;
  margin-bottom: 5px;
  color: #6b7280;
  font-size: 12px;
}

.asesor-certificate-scheme small {
  margin-top: 4px;
  margin-bottom: 0;
}

.asesor-certificate-field input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
}

.asesor-certificate-file {
  align-self: center;
}

.asesor-certificate-file strong {
  display: block;
  font-size: 13px;
}

.asesor-certificate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.asesor-certificate-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.asesor-certificate-main .asesor-detail-item {
  min-width: 0;
}

.asesor-certificate-main .asesor-actions {
  margin-top: 10px;
}

@media (max-width: 1100px) {
  .asesor-certificate-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asesor-certificate-actions {
    grid-column: 1 / -1;
  }

  .asesor-certificate-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .asesor-certificate-card,
  .asesor-certificate-main {
    grid-template-columns: 1fr;
  }

  .asesor-certificate-actions {
    grid-column: auto;
  }
}

/* =========================================================
   ASESOR - SERTIFIKAT KOMPETENSI
   Hilangkan horizontal scrollbar + lebarkan kolom skema
   Tambahkan di PALING BAWAH app.css
========================================================= */

.asesor-form-section {
  min-width: 0;
}

.asesor-certificate-list {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.asesor-certificate-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;

  /* Nama skema dibuat paling lebar */
  grid-template-columns:
    minmax(260px, 1.8fr)
    minmax(150px, 1fr)
    minmax(150px, .9fr)
    minmax(105px, .65fr)
    minmax(90px, auto);

  gap: 12px;
}

.asesor-certificate-scheme {
  min-width: 0;
}

.asesor-certificate-scheme strong,
.asesor-certificate-scheme small {
  white-space: normal;
  overflow-wrap: anywhere;
}

.asesor-certificate-field {
  min-width: 0;
}

.asesor-certificate-field input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.asesor-certificate-actions {
  min-width: 0;
}

/* Modal detail jangan membuat isi lebih lebar dari modal */
#asesorDetailBody,
#asesorDetailModal .asesor-modal-body,
#asesorDetailModal .asesor-modal-content {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 1100px) {
  .asesor-certificate-card {
    grid-template-columns:
      minmax(230px, 1.6fr)
      minmax(145px, 1fr)
      minmax(145px, 1fr);
  }

  .asesor-certificate-file,
  .asesor-certificate-actions {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .asesor-certificate-card {
    grid-template-columns: 1fr;
  }

  .asesor-certificate-file,
  .asesor-certificate-actions {
    grid-column: auto;
  }
}

/* =========================================================
   ASESOR - TOOLBAR 7 GRID SATU BARIS
   GANTI CSS toolbar/filter Asesor sebelumnya dengan blok ini.
========================================================= */

.asesor-toolbar {
  display: grid !important;
  grid-template-columns:
    minmax(220px, 1.55fr)
    minmax(130px, .95fr)
    minmax(130px, .95fr)
    minmax(130px, .95fr)
    minmax(125px, .85fr)
    minmax(175px, 1.15fr)
    minmax(175px, auto) !important;
  gap: 12px !important;
  align-items: center !important;
  width: 100% !important;
}

/*
 * Wrapper filter dibuat "transparan" terhadap grid parent,
 * sehingga 6 elemen di dalamnya menjadi item grid langsung.
 */
.asesor-toolbar-left {
  display: contents !important;
}

.asesor-toolbar-left > * {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Kolom 1 */
.asesor-toolbar #asesorSearch {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

/* Kolom 2 */
.asesor-toolbar #asesorFilterSkema {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

/* Kolom 3 */
.asesor-toolbar #asesorFilterHomebase {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

/* Kolom 4 */
.asesor-toolbar #asesorFilterAsalLsp {
  grid-column: 4 !important;
  grid-row: 1 !important;
}

/* Kolom 5 */
.asesor-toolbar #asesorFilterStatus {
  grid-column: 5 !important;
  grid-row: 1 !important;
}

/* Kolom 6 */
.asesor-toolbar #asesorFilterCertificate {
  grid-column: 6 !important;
  grid-row: 1 !important;
}

/* Kolom 7 */
.asesor-toolbar #asesorAdd {
  grid-column: 7 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 175px !important;
  height: 46px !important;
  margin: 0 !important;
  position: static !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

/* Summary tetap 5 grid satu baris */
.asesor-stats {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
}

.asesor-stat {
  min-width: 0 !important;
}

/* Tablet */
@media (max-width: 1250px) {
  .asesor-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .asesor-toolbar-left {
    display: contents !important;
  }

  .asesor-toolbar #asesorSearch,
  .asesor-toolbar #asesorFilterSkema,
  .asesor-toolbar #asesorFilterHomebase,
  .asesor-toolbar #asesorFilterAsalLsp,
  .asesor-toolbar #asesorFilterStatus,
  .asesor-toolbar #asesorFilterCertificate,
  .asesor-toolbar #asesorAdd {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .asesor-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .asesor-toolbar,
  .asesor-stats {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   ASESOR - FILE SERTIFIKAT KOMPETENSI
   Tombol Lihat ditempatkan pada kolom File Sertifikat.
   Tambahkan di PALING BAWAH app.css
========================================================= */

.asesor-certificate-file-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  margin-top: 2px;
  padding: 6px 11px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.asesor-certificate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* =========================================================
   SISFO LSP APMP
   PENDAFTARAN ASESOR - ADMIN REVIEW
   APP.CSS APPEND
   VERSION 1.0.0

   Tambahkan SELURUH blok ini di PALING BAWAH:
   /assets/css/app.css

   Tujuan:
   - Mengisolasi toolbar Pendaftaran Asesor dari toolbar
     Master Asesor 7-grid.
   - Search + Status + Muat Ulang tetap rapi satu baris.
   - Summary Pendaftaran Asesor tetap 4 kolom.
   - Kolom aksi tidak mengikuti lebar 310px Master Asesor.
   - Detail / modal validasi tetap responsif.
   ========================================================= */


/* =========================================================
   TOOLBAR PENDAFTARAN ASESOR
   ========================================================= */

.asesor-registration-toolbar {
  display: grid !important;
  grid-template-columns:
    minmax(280px, 1fr)
    minmax(160px, 220px)
    minmax(120px, auto) !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

.asesor-registration-toolbar .asesor-toolbar-left {
  display: contents !important;
}

.asesor-registration-toolbar
  .asesor-toolbar-left > * {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.asesor-registration-toolbar
  #asesorRegistrationSearch {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.asesor-registration-toolbar
  #asesorRegistrationStatus {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.asesor-registration-toolbar
  #asesorRegistrationRefresh {
  grid-column: 3 !important;
  grid-row: 1 !important;

  width: 100% !important;
  min-width: 120px !important;
  height: 46px !important;

  margin: 0 !important;
  position: static !important;

  white-space: nowrap !important;
  box-sizing: border-box !important;
}


/* =========================================================
   SUMMARY PENDAFTARAN ASESOR
   ========================================================= */

.asesor-registration-stats {
  display: grid !important;
  grid-template-columns:
    repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
}

.asesor-registration-stats
  .asesor-stat {
  min-width: 0 !important;
}

/* Menunggu */
.asesor-registration-stats
  .asesor-stat:nth-child(2) {
  background:
    var(--asesor-warning-soft);
}

/* Diterima */
.asesor-registration-stats
  .asesor-stat:nth-child(3) {
  background:
    var(--asesor-success-soft);
}

/* Ditolak */
.asesor-registration-stats
  .asesor-stat:nth-child(4) {
  background:
    var(--asesor-danger-soft);
}


/* =========================================================
   TABEL PENDAFTARAN ASESOR
   ========================================================= */

.asesor-registration-toolbar
  + .asesor-registration-stats
  + .asesor-card
  .asesor-table {
  min-width: 1040px;
}

/*
 * Master Asesor memakai kolom aksi 310px.
 * Pendaftaran hanya membutuhkan tombol Detail,
 * sehingga lebarnya dibuat lebih proporsional.
 */
.asesor-registration-toolbar
  + .asesor-registration-stats
  + .asesor-card
  .asesor-table th:last-child,
.asesor-registration-toolbar
  + .asesor-registration-stats
  + .asesor-card
  .asesor-table td:last-child {
  width: 110px !important;
  min-width: 110px !important;
  white-space: nowrap;
}

.asesor-registration-toolbar
  + .asesor-registration-stats
  + .asesor-card
  .asesor-actions {
  justify-content: flex-start;
}


/* =========================================================
   DETAIL PENDAFTARAN
   ========================================================= */

#asesorRegistrationDetailModal
  .asesor-modal-dialog {
  width:
    min(980px, calc(100vw - 28px));
}

#asesorRegistrationDetailModal
  .asesor-modal-body,
#asesorRegistrationDetailBody {
  min-width: 0;
  max-width: 100%;
}

#asesorRegistrationDetailBody
  .asesor-detail-grid {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

#asesorRegistrationDetailBody
  .asesor-detail-item {
  min-width: 0;
}

#asesorRegistrationDetailBody
  .asesor-detail-item strong {
  overflow-wrap: anywhere;
  word-break: break-word;
}

#asesorRegistrationDetailBody
  .asesor-documents {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

#asesorRegistrationDetailBody
  .asesor-document {
  min-width: 0;
}


/* =========================================================
   AKSI VALIDASI
   ========================================================= */

#asesorRegistrationDetailActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

#asesorRegistrationDetailActions[hidden] {
  display: none !important;
}

#asesorRegistrationApprove {
  background:
    var(--asesor-success);
  color: #ffffff;
  border:
    1px solid var(--asesor-success);
}

#asesorRegistrationApprove:hover:not(:disabled) {
  background: #116b34;
  border-color: #116b34;
}

#asesorRegistrationReject {
  background:
    #ffffff;
  color:
    var(--asesor-danger);
  border:
    1px solid #efc3c0;
}

#asesorRegistrationReject:hover:not(:disabled) {
  background:
    var(--asesor-danger-soft);
  border-color:
    var(--asesor-danger);
}


/* =========================================================
   MODAL PENOLAKAN
   ========================================================= */

#asesorRegistrationRejectModal
  .asesor-modal-dialog {
  width:
    min(520px, calc(100vw - 28px));
}

#asesorRegistrationRejectModal
  textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;

  padding: 11px 12px;

  color:
    var(--asesor-text);
  background: #ffffff;

  border:
    1px solid var(--asesor-border);
  border-radius: 10px;

  outline: none;

  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}

#asesorRegistrationRejectModal
  textarea:focus {
  border-color:
    var(--sisfo-primary);

  box-shadow:
    0 0 0 3px
    rgba(199, 32, 50, .10);
}

#asesorRegistrationRejectAlert {
  margin-top: 12px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

  .asesor-registration-toolbar {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(150px, 200px) !important;
  }

  .asesor-registration-toolbar
    #asesorRegistrationSearch {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .asesor-registration-toolbar
    #asesorRegistrationStatus {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .asesor-registration-toolbar
    #asesorRegistrationRefresh {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
  }

  .asesor-registration-stats {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
  }

  #asesorRegistrationDetailBody
    .asesor-detail-grid,
  #asesorRegistrationDetailBody
    .asesor-documents {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 620px) {

  .asesor-registration-toolbar {
    grid-template-columns:
      1fr !important;
  }

  .asesor-registration-toolbar
    #asesorRegistrationSearch,
  .asesor-registration-toolbar
    #asesorRegistrationStatus,
  .asesor-registration-toolbar
    #asesorRegistrationRefresh {
    grid-column:
      1 !important;
    grid-row:
      auto !important;

    width:
      100% !important;
    min-width:
      0 !important;
  }

  .asesor-registration-stats {
    grid-template-columns:
      1fr !important;
  }

  #asesorRegistrationDetailBody
    .asesor-detail-grid,
  #asesorRegistrationDetailBody
    .asesor-documents {
    grid-template-columns:
      1fr;
  }

  #asesorRegistrationDetailActions {
    align-items:
      stretch;
    flex-direction:
      column;
  }

  #asesorRegistrationDetailActions
    .asesor-btn {
    width:
      100%;
  }
}

/* =========================================================
   SISFO APMP - GLOBAL UI NORMALIZATION
   VERSION 3.0.0
   Catatan:
   - Menormalkan warna, tipografi, tombol, tabel, pagination.
   - Memperbaiki stacking/pointer mobile navigation tanpa
     z-index ekstrem.
   - Diletakkan paling akhir agar menjadi sumber visual final.
   ========================================================= */

:root {
  --sisfo-primary: #c72032;
  --sisfo-primary-dark: #a91827;
  --sisfo-primary-deep: #7f111c;
  --sisfo-primary-soft: #fff1f2;

  --sisfo-success: #178554;
  --sisfo-warning: #b86b00;
  --sisfo-danger: #c72032;

  --sisfo-background: #f7f7f8;
  --sisfo-surface: #ffffff;
  --sisfo-surface-soft: #fafafa;

  --sisfo-text: #292929;
  --sisfo-text-secondary: #525252;
  --sisfo-text-soft: #737373;
  --sisfo-border: #e7e5e4;

  --sisfo-radius-sm: 7px;
  --sisfo-radius-md: 9px;
  --sisfo-radius-lg: 12px;

  --sisfo-font-xs: 11px;
  --sisfo-font-sm: 12px;
  --sisfo-font-md: 13px;
  --sisfo-font-lg: 16px;

  --sisfo-weight-normal: 400;
  --sisfo-weight-medium: 600;
  --sisfo-weight-bold: 700;
  --sisfo-weight-heavy: 800;
}

html,
body {
  color: var(--sisfo-text);
  background: var(--sisfo-background);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Form controls ---------- */

.form-control,
input.form-control,
select.form-control,
textarea.form-control {
  color: var(--sisfo-text);
  background: var(--sisfo-surface);
  border-color: var(--sisfo-border);
  border-radius: var(--sisfo-radius-md);
  font-size: var(--sisfo-font-md);
  font-weight: var(--sisfo-weight-normal);
}

.form-control:focus,
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  border-color: var(--sisfo-primary);
  box-shadow: 0 0 0 3px rgba(199, 32, 50, .09);
}

/* ---------- Buttons ---------- */

.button,
.btn {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--sisfo-radius-md);
  font-family: inherit;
  font-size: var(--sisfo-font-sm);
  font-weight: var(--sisfo-weight-bold);
  line-height: 1.2;
}

.button-primary,
.btn-primary {
  color: #ffffff;
  background: var(--sisfo-primary);
  border-color: var(--sisfo-primary);
}

.button-primary:hover:not(:disabled),
.btn-primary:hover:not(:disabled) {
  color: #ffffff;
  background: var(--sisfo-primary-dark);
  border-color: var(--sisfo-primary-dark);
}

.button-secondary,
.btn-secondary {
  color: var(--sisfo-text-secondary);
  background: #ffffff;
  border: 1px solid var(--sisfo-border);
}

.button-secondary:hover:not(:disabled),
.btn-secondary:hover:not(:disabled) {
  color: var(--sisfo-primary);
  background: var(--sisfo-primary-soft);
  border-color: #efc7cc;
}

.button-danger,
.btn-danger {
  color: #ffffff;
  background: var(--sisfo-danger);
  border-color: var(--sisfo-danger);
}

.button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: .5;
}

/* ---------- Cards ---------- */

.data-card,
.card {
  background: var(--sisfo-surface);
  border-color: var(--sisfo-border);
  border-radius: var(--sisfo-radius-lg);
  box-shadow: 0 3px 14px rgba(40, 20, 20, .04);
}

.data-card-header h2 {
  color: var(--sisfo-text);
  font-size: var(--sisfo-font-lg);
  font-weight: var(--sisfo-weight-heavy);
}

.data-card-header p {
  color: var(--sisfo-text-soft);
  font-size: var(--sisfo-font-sm);
  font-weight: var(--sisfo-weight-normal);
}

/* ---------- Tables ---------- */

.data-table {
  color: var(--sisfo-text);
  font-size: var(--sisfo-font-md);
}

.data-table th {
  padding: 11px 13px;
  color: var(--sisfo-text-secondary);
  background: #fafafa;
  border-bottom: 1px solid var(--sisfo-border);
  font-size: var(--sisfo-font-xs);
  font-weight: var(--sisfo-weight-heavy);
  letter-spacing: .2px;
  line-height: 1.35;
}

.data-table td {
  padding: 11px 13px;
  color: var(--sisfo-text-secondary);
  border-bottom: 1px solid #eeeeee;
  font-size: var(--sisfo-font-md);
  font-weight: var(--sisfo-weight-normal);
  line-height: 1.45;
}

.data-table tbody tr:hover {
  background: #fffafa;
}

.data-table strong,
.participant-name strong {
  color: var(--sisfo-text);
  font-size: inherit;
  font-weight: var(--sisfo-weight-bold);
}

.data-table small,
.participant-name small,
.contact-cell small {
  color: var(--sisfo-text-soft);
  font-size: var(--sisfo-font-xs);
  font-weight: var(--sisfo-weight-normal);
}

.table-number {
  text-align: center !important;
  font-variant-numeric: tabular-nums;
}

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

.table-action-buttons {
  gap: 6px;
}

.action-button {
  min-height: 30px;
  padding: 5px 9px;
  border-color: var(--sisfo-border);
  border-radius: var(--sisfo-radius-sm);
  font-size: var(--sisfo-font-xs);
  font-weight: var(--sisfo-weight-bold);
}

.action-detail {
  color: var(--sisfo-primary);
}

.action-detail:hover {
  background: var(--sisfo-primary-soft);
}

/* Angka/nominal yang memang diberi class numerik */
.is-number,
.text-number,
.amount,
.currency,
.nominal {
  font-variant-numeric: tabular-nums;
}

/* ---------- Pagination ---------- */

.data-card-footer {
  min-height: 60px;
  gap: 14px;
  padding: 11px 18px;
  background: #fcfcfc;
  border-top-color: var(--sisfo-border);
}

.pagination-info,
.pagination-page {
  color: var(--sisfo-text-soft);
  font-size: var(--sisfo-font-sm);
  font-weight: var(--sisfo-weight-medium);
}

.pagination-page {
  min-width: 92px;
  color: var(--sisfo-text-secondary);
  font-weight: var(--sisfo-weight-bold);
}

.pagination-actions {
  gap: 8px;
}

.pagination-actions .button,
.pagination-actions .btn {
  min-height: 34px;
  padding: 6px 11px;
  font-size: var(--sisfo-font-xs);
}

/* ---------- Header navigation ---------- */

.sisfo-header {
  z-index: 1000;
  background: rgba(255,255,255,.98);
  border-bottom-color: var(--sisfo-border);
}

.header-nav-link,
.header-dropdown-toggle {
  color: var(--sisfo-text-secondary);
  font-size: var(--sisfo-font-sm);
  font-weight: var(--sisfo-weight-bold);
}

.header-nav-link:hover,
.header-dropdown-toggle:hover,
.header-nav-link.active,
.header-dropdown.active > .header-dropdown-toggle {
  color: var(--sisfo-primary);
  background: var(--sisfo-primary-soft);
}

.header-dropdown-item {
  color: var(--sisfo-text-secondary);
  font-size: var(--sisfo-font-sm);
  font-weight: var(--sisfo-weight-medium);
}

.header-dropdown-item:hover,
.header-dropdown-item.active {
  color: var(--sisfo-primary);
  background: var(--sisfo-primary-soft);
}

/* =========================================================
   MOBILE NAVIGATION
   Overlay < Drawer < Toggle.
   Tidak membuat stacking-context tambahan pada header-main.
   ========================================================= */

@media (max-width: 1100px) {
  .sisfo-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .sisfo-header-main {
    position: relative;
    z-index: auto;
  }

  .sisfo-mobile-overlay.active {
    position: fixed;
    inset: 68px 0 0;
    z-index: 1001;
    display: block;
    background: rgba(30, 20, 20, .42);
    pointer-events: auto;
  }

  .sisfo-main-navigation {
    position: fixed;
    top: 68px;
    right: 0;
    z-index: 1002;
    display: none;
    width: min(360px, 90vw);
    max-height: calc(100dvh - 68px);
    overflow-x: hidden;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    background: #ffffff;
    border-left: 1px solid var(--sisfo-border);
    box-shadow: -12px 20px 35px rgba(40, 20, 20, .14);
    pointer-events: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .sisfo-main-navigation.open {
    display: flex;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .sisfo-menu-toggle {
    position: relative;
    z-index: 1003;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .sisfo-main-navigation .header-nav-link,
  .sisfo-main-navigation .header-dropdown-toggle,
  .sisfo-main-navigation .header-dropdown-item {
    position: relative;
    width: 100%;
    min-height: 42px;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .sisfo-main-navigation .header-nav-link,
  .sisfo-main-navigation .header-dropdown-toggle {
    justify-content: space-between;
    padding: 10px 11px;
    font-size: 13px;
  }

  .sisfo-main-navigation .header-dropdown {
    position: relative;
    width: 100%;
    pointer-events: auto;
  }

  .sisfo-main-navigation .header-dropdown-menu {
    position: static;
    z-index: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-top: 3px;
    padding: 4px 0 4px 10px;
    background: #fafafa;
    border: 0;
    box-shadow: none;
    pointer-events: auto;
  }

  .sisfo-main-navigation .header-dropdown.open > .header-dropdown-menu {
    display: block;
  }

  body.sisfo-mobile-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 700px) {
  .sisfo-mobile-overlay.active {
    inset: 62px 0 0;
  }

  .sisfo-main-navigation {
    top: 62px;
    width: min(340px, 94vw);
    max-height: calc(100dvh - 62px);
  }

  .data-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-actions {
    width: 100%;
    justify-content: space-between;
  }

  .pagination-actions .button,
  .pagination-actions .btn {
    flex: 1 1 0;
  }

  .data-table th {
    font-size: 10.5px;
  }

  .data-table td {
    font-size: 12px;
  }
}

