.setting-item{
  padding:10px;
  cursor:pointer;
  border-radius:6px;
  margin-bottom:4px;
}
.setting-item:hover{
  background:#374151;
}

.setting-subitem{
  padding:8px;
  font-size:13px;
  cursor:pointer;
  border-radius:6px;
  color:#c7d2fe;
}
.setting-subitem:hover{
  background:#1e293b;
}

textarea{
  width:100%;
  padding:8px;
  border:1px solid #ddd;
  border-radius:6px;
  resize:vertical;
  margin-bottom:6px;
  font-family:'Segoe UI',sans-serif;
}

.withdraw-table td{
  padding: 8px 10px;
  line-height: 1.3;
}
.table-wrap{
  width:100%;
  overflow-x:auto;
}
/* ===== FIX TABLE CELL WRAP ===== */
.withdraw-table td,
.withdraw-table th{
  white-space: nowrap;
  vertical-align: middle;
}

/* ===== RESPONSIVE FIX ===== */
@media (max-width: 768px){
  .layout{
    flex-direction: column;
  }

  .sidebar{
    position: relative;
    width: 100%;
  }

  .content{
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 768px){

  /* card jangan maksa lebar */
  .card{
    padding:15px;
  }

  /* input & select full */
  input, select, button{
    width:100%;
    margin-bottom:8px;
  }

  /* summary card turun ke bawah */
  .summary-cards{
    flex-direction:column;
  }

  /* table aman */
  table{
    display:block;
    width:100%;
    overflow-x:auto;
  }
}

*{box-sizing:border-box;font-family:'Segoe UI',sans-serif;margin:0;padding:0;}
body{background:#f4f6f9;color:#111;transition:0.3s;}
.login-body{display:flex;height:100vh;justify-content:center;align-items:center;}
.login-card{background:white;padding:30px;width:320px;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.1);text-align:center;}
.login-card input{width:100%;margin:10px 0;padding:12px;border:1px solid #ddd;border-radius:6px;}
.login-card button{width:100%;padding:12px;background:#4f46e5;border:none;color:white;border-radius:8px;cursor:pointer;}
.login-card button:hover{background:#4338ca;}
.layout{display:flex;height:100vh;}
.sidebar h2{color:white;font-weight:bold;text-align:center;margin-bottom:20px;}
.sidebar ul{list-style:none;padding:0;}
.sidebar li{padding:10px;margin-bottom:5px;cursor:pointer;border-radius:6px;transition:0.2s;}
.sidebar li.active,.sidebar li:hover{background:#4f46e5;}

.content{margin-left:220px;padding:20px;flex:1;overflow:auto;}
.card{
  background:#ffffff;
  padding:22px;
  border-radius:16px;
  margin-bottom:24px;
  border:1px solid #eef2f7;
  box-shadow:0 8px 25px rgba(15,23,42,.05);
}

.badge{padding:4px 10px;border-radius:6px;font-size:12px;}
.badge.progress{background:#f87171;color:white;}
.badge.selesai{background:#22c55e;color:white;}
table{width:100%;border-collapse:collapse;margin-top:10px;}
th,td{padding:10px;border-bottom:1px solid #ddd;text-align:left;}
input,select,button{margin-bottom:5px;padding:8px 12px;border-radius:6px;border:1px solid #ddd;}
button{background:#4f46e5;color:white;border:none;border-radius:6px;cursor:pointer;}
button:hover{background:#4338ca;}
.summary-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-bottom:25px;
}

.summary-card{
  background:#ffffff;
  border-radius:16px;
  padding:22px;
  border:1px solid #eef2f7;
  box-shadow:0 8px 25px rgba(15,23,42,.05);
  transition:.2s;
}

.summary-card:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(15,23,42,.08);
}

.summary-card h3{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.7px;
  color:#64748b;
  margin-bottom:8px;
}

.summary-card span{
  font-size:30px;
  font-weight:700;
  color:#0f172a;
}

@media(max-width:768px){.layout{flex-direction:column;}.sidebar{width:100%;height:auto;position:relative;}.content{margin-left:0;}}
.print-card{max-width:300px;margin:auto;text-align:center;padding:15px;border:2px solid #4f46e5;border-radius:12px;background:#fef3c7;box-shadow:0 4px 15px rgba(0,0,0,.2);}
.print-card h2{margin-bottom:5px;font-weight:bold;}
.print-card h3{margin-bottom:10px;}
.print-card table{width:100%;text-align:left;margin-top:10px;}
.print-card p{margin-top:10px;font-size:12px;color:#64748b;}
/* ===== SETTING UI ===== */
.setting-section{
  margin-bottom: 30px;
}

.setting-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}

.setting-header h3{
  margin:0;
  font-size:16px;
  font-weight:600;
  color:#111827;
}

.setting-form{
  display:grid;
  grid-template-columns: 1fr;
  gap:8px;
  margin-bottom:12px;
}

.setting-table th{
  background:#f9fafb;
  font-size:12px;
  text-transform:uppercase;
  color:#374151;
}

.setting-table td{
  font-size:13px;
  vertical-align:top;
}

.setting-table tr:hover{
  background:#f9fafb;
}

.setting-info{
  white-space:pre-wrap;
  font-size:12px;
  color:#374151;
}

.btn-danger{
  background:#ef4444;
}
.btn-danger:hover{
  background:#dc2626;
}
/* WARNA TOMBOL SELESAI & HAPUS */
.btn-selesai{
  background:#22c55e !important;
}
.btn-selesai:hover{
  background:#16a34a !important;
}

.btn-hapus{
  background:#ef4444 !important;
}
.btn-hapus:hover{
  background:#dc2626 !important;
}
/* ===== BANK STYLE : WITHDRAW ===== */

.withdraw-title{
  font-weight:700;
  color:#1f2937;
}

.withdraw-card{
  border:1px solid #e5e7eb;
  background:#ffffff;
}

.withdraw-table th{
  background:#f3f4f6;
  font-size:12px;
  text-transform:uppercase;
  color:#374151;
}

.withdraw-table td{
  font-size:13px;
}

.withdraw-nominal{
  font-weight:700;
  color:#065f46;
}

.badge.process{
  background:#fde68a;
  color:#92400e;
}

.badge.success{
  background:#bbf7d0;
  color:#065f46;
}
.sidebar-logo{
  text-align: center;
  margin-bottom: 16px;
}

.sidebar-logo img{
  max-width: 100%;
  max-height: 60px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
/* ===== CLEAN STATUS BADGE ===== */

.badge-bank{
  display:inline-block;
  padding:6px 14px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.4px;
  border-radius:999px;
  text-align:center;
  min-width:90px;
  border:1px solid transparent;
}

/* SUCCESS / SELESAI */
.badge-success{
  background:#ecfdf5;
  color:#047857;
  border-color:#a7f3d0;
}

/* PROCESS / PROGRESS */
.badge-process{
  background:#f1f5f9;
  color:#334155;
  border-color:#cbd5e1;
}

/* ERROR / REFUND / TOLAK */
.badge-danger{
  background:#fef2f2;
  color:#b91c1c;
  border-color:#fecaca;
}

/* OTHER STATUS */
.badge-default{
  background:#eef2ff;
  color:#3730a3;
  border-color:#c7d2fe;
}

/* ===== JARAK JUDUL DASHBOARD & MENU ===== */
h2{
  margin-bottom:32px; /* spacing */
}

h3{
  margin-top:32px;   /* jarak dari atas */
  margin-bottom:24px;
}

/* jarak antar card */
.card{
  margin-top:24px;
}
/* ===== STATUS DROPDOWN STYLE ===== */

.statusSelect:hover{
  border-color:#4f46e5;
  background:#eef2ff;
}

.statusSelect:focus{
  outline:none;
  border-color:#4f46e5;
  box-shadow:0 0 0 2px rgba(79,70,229,.2);
}
.page-title{
  margin-bottom:40px;
}

/* ===== STATUS DROPDOWN STYLE ===== */
.statusSelect{
  padding:6px 14px;
  border-radius:999px;
  border:1px solid #cbd5e1;
  font-size:11px;
  font-weight:700;
  letter-spacing:.5px;
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  transition:0.2s;
}

.statusSelect:hover{
  border-color:#4f46e5;
  background:#eef2ff;
}
/* ===============================
   ENTERPRISE TABLE - LAPORAN
================================ */

/* wrapper lebih clean */
#laporanTable{
  font-size:13px;
}

/* header */
#laporanTable thead tr{
  background: #f1f5f9;
}

#laporanTable thead th{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-weight:700;
  color:#334155;
  padding:12px 10px;
  border-bottom:2px solid #e2e8f0;
}

/* zebra rows */
/* cell spacing */
#laporanTable td{
  padding:11px 10px;
  border-bottom:1px solid #eef2f7;
  vertical-align:middle;
}

/* nomor kolom lebih soft */
#laporanTable td:nth-child(2){
  font-weight:600;
  color:#64748b;
}

/* checkbox column center */
#laporanTable td:first-child{
  text-align:center;
}

/* badge lebih clean */
.badge.progress{
  background:#fff7ed;
  color:#c2410c;
  font-weight:600;
}

.badge.selesai{
  background:#ecfdf5;
  color:#047857;
  font-weight:600;
}
/* ===== ZEBRA ROW LAPORAN ===== */
#laporanTable tr:nth-child(odd){
  background: #ffffff;
}

#laporanTable tr:nth-child(even){
  background: rgba(0,0,0,0.05); /* abu 5% */
}
/* ===============================
   ENTERPRISE TABLE - WITHDRAW
================================ */

.withdraw-table{
  font-size:13px;
}

/* header */
.withdraw-table thead tr{
  background:#f1f5f9;
}

.withdraw-table thead th{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-weight:700;
  color:#334155;
  padding:12px 10px;
  border-bottom:2px solid #e2e8f0;
}

/* zebra rows */
.withdraw-table tbody tr:nth-child(odd){
  background:#ffffff;
}

.withdraw-table tbody tr:nth-child(even){
  background:#f8fafc;
}

/* smooth hover */
.withdraw-table tbody tr{
  transition:background-color .18s ease, box-shadow .18s ease;
}

.withdraw-table tbody tr:hover{
  background:rgba(79,70,229,0.07) !important;
  box-shadow:inset 0 0 0 1px rgba(79,70,229,0.14);
}

/* cell spacing */
.withdraw-table td{
  padding:11px 10px;
  border-bottom:1px solid #eef2f7;
  vertical-align:middle;
}

/* nomor kolom lebih soft */
.withdraw-table td:nth-child(2){
  font-weight:600;
  color:#64748b;
}

/* checkbox center */
.withdraw-table td:first-child{
  text-align:center;
}

/* nominal lebih tegas */
.withdraw-nominal{
  font-weight:700;
  color:#0f766e;
}

/* badge withdraw lebih clean */
.badge-bank{
  font-weight:600;
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
}
#wdActionBar{
  margin-top:12px;
  padding:10px;
  background:#f1f5f9;
  border-radius:8px;
  display:flex;
  gap:10px;
}
/* ===== HEADER STYLE SEPERTI GAMBAR ===== */

#laporanTableWrap thead tr{
  background:#f3f4f6; /* abu solid */
}

#laporanTableWrap thead th{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-weight:700;
  color:#334155;
  padding:10px 12px;
  border-bottom:1px solid #d1d5db;
}

/* hilangkan garis tebal lama */
#laporanTableWrap thead th{
  border-bottom:1px solid #d1d5db !important;
}
/* ===== SETTING ALIGN FIX ===== */

.setting-wrapper h2{
  margin-bottom:24px;
}

.setting-layout{
  display:flex;
  gap:24px;
  align-items:flex-start;
}

.setting-sidebar{
  width:260px;
  background:#111827;
  color:#fff;
  padding:12px;
  border-radius:12px;
}

.setting-content{
  flex:1;
}
/* ===== SETTING PROFESSIONAL CLEAN ===== */

.setting-section{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:20px;
  margin-bottom:24px;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}

.setting-header{
  margin-bottom:16px;
  padding-bottom:10px;
  border-bottom:1px solid #f1f5f9;
}

.setting-header h3{
  font-size:15px;
  font-weight:700;
  color:#111827;
}

.setting-form{
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
  margin-bottom:18px;
}

.setting-form input,
.setting-form select,
.setting-form textarea{
  padding:10px;
  border:1px solid #d1d5db;
  border-radius:8px;
  font-size:13px;
}

.setting-form button{
  grid-column: 1 / -1;
  padding:10px;
  font-weight:600;
  border-radius:8px;
}

/* table clean */
.setting-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}

.setting-table thead{
  background:#f8fafc;
}

.setting-table th{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.5px;
  padding:10px;
  color:#475569;
  border-bottom:1px solid #e5e7eb;
}

.setting-table td{
  padding:10px;
  border-bottom:1px solid #f1f5f9;
}

.setting-table tr:hover{
  background:#f8fafc;
}
/* parent Setting biar sejajar */
#menuSetting{
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.menu-main{
  display:flex;
  align-items:center;
  gap:6px;
}

.dashboard-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.dashboard-logo{
  width:18px;
  height:18px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(148,163,184,.22);
}

.dashboard-logo svg{
  width:12px;
  height:12px;
  fill:#e2e8f0;
}

.menu-chevron{
  font-size:16px;
  line-height:1;
  color:#cbd5e1;
  opacity:.9;
}

#kendalaArrow{
  display:inline-block;
  transition:transform .25s ease;
  transform-origin:center;
}

#kendalaArrow.open{
  transform:rotate(90deg);
}
/* ===== PAGE TITLE SYSTEM ===== */

.page-subtitle{
  font-size:12px;
  font-weight:600;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.6px;
  margin-bottom:6px;
}

.page-title{
  font-size:22px;
  font-weight:700;
  color:#111827;
  margin-bottom:20px;
}

.setting-home-head{
  display:block;
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid #e2e8f0;
}

.setting-home-section h3{
  margin:0;
  color:#1f2a60;
  font-size:18px;
  font-weight:700;
}

.setting-home-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;
}

.setting-home-card{
  text-align:left;
  padding:16px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#ffffff;
  color:#0f172a;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:136px;
  transition:all .2s ease;
}

.setting-home-card:hover{
  border-color:#c7d2fe;
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(15,23,42,.08);
}

.setting-home-ico{
  width:36px;
  height:36px;
  border-radius:10px;
  background:#eef2ff;
  color:#3730a3;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
}

.setting-home-title{
  font-size:14px;
  font-weight:700;
  color:#1f2a60;
}

.setting-home-desc{
  font-size:12px;
  line-height:1.45;
  color:#334155;
}

.ipwl-wrap{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.ipwl-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.ipwl-switch{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  color:#1f2a60;
}

.ipwl-switch input{
  margin:0;
  width:16px;
  height:16px;
}

.ipwl-form{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.ipwl-form input{
  min-width:240px;
  margin:0;
}

.ipwl-form button{
  padding:8px 12px;
  font-size:13px;
}

.ipwl-note{
  margin-top:2px;
}

.totp-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}

.totp-modal{
  width:100%;
  max-width:380px;
  background:#ffffff;
  border-radius:14px;
  padding:16px;
  box-shadow:0 20px 50px rgba(15,23,42,.25);
}

.totp-modal h3{
  margin:0 0 8px;
  font-size:18px;
  color:#1f2a60;
}

.totp-modal p{
  margin:0 0 10px;
  font-size:13px;
  color:#475569;
}

.totp-qr{
  display:flex;
  justify-content:center;
  margin:8px 0 10px;
}

.totp-secret{
  font-size:12px;
  color:#334155;
  margin-bottom:10px;
  word-break:break-all;
}

.totp-modal input{
  width:100%;
  margin:0 0 10px;
}

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

.totp-actions button{
  flex:1;
}

.security-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.62);
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}

.security-modal{
  width:100%;
  max-width:360px;
  background:#ffffff;
  border-radius:14px;
  padding:16px;
  box-shadow:0 22px 55px rgba(15,23,42,.28);
}

.security-modal h3{
  margin:0 0 6px;
  font-size:18px;
  color:#1f2a60;
}

.security-modal p{
  margin:0 0 10px;
  font-size:13px;
  color:#475569;
  line-height:1.45;
}

.security-modal input{
  width:100%;
  margin:0 0 10px;
  height:40px;
  font-size:16px;
  letter-spacing:1px;
}

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

.security-actions button{
  flex:1;
}

/* ===== BANK FORM INLINE ===== */

.bank-form-inline{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:15px;
}

/* kecilkan input */
.bank-form-inline input{
  width:160px;      /* <- ukuran tetap kecil */
  padding:6px 8px;
  font-size:12px;
}

/* kecilkan tombol */
.bank-form-inline button{
  padding:6px 12px;
  font-size:12px;
  border-radius:6px;
}
/* ===== ACCOUNT FORM INLINE ===== */

.account-form-inline{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:15px;
}

/* kecilin input */
.account-form-inline input{
  width:140px;
  padding:6px 8px;
  font-size:12px;
}

/* kecilin select */
.account-form-inline select{
  width:90px;
  padding:6px;
  font-size:12px;
}

/* kecilin tombol */
.account-form-inline button{
  padding:6px 12px;
  font-size:12px;
  border-radius:6px;
}
.setting-inline{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:15px;
}

.input-sm{
  height:34px;
  padding:0 10px;
  font-size:13px;
  border-radius:6px;
  border:1px solid #d1d5db;
  background:#fff;
  box-sizing:border-box;

  display:flex;
  align-items:center;
}
select.input-sm{
  height:36px;
  padding:0 36px 0 12px;
  font-size:13px;
  border-radius:8px;
  border:1px solid #d1d5db;
  background-color:#ffffff;
  box-shadow:0 1px 2px rgba(0,0,0,0.05);
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  cursor:pointer;
  transition:all 0.2s ease;

  background-image:url("data:image/svg+xml;utf8,<svg fill='%236b7280' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7l4.5 5 4.5-5z'/></svg>");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:14px;
}
select.input-sm:focus,
.input-sm:focus{
  outline:none;
  border-color:#6366f1;
  box-shadow:0 0 0 3px rgba(99,102,241,0.15);
}
select.input-sm:hover{
  border-color:#9ca3af;
}

.role-sm{
  width:90px;
}

.btn-sm{
  height:34px;
  padding:0 12px;
  font-size:13px;
  border-radius:6px;
  cursor:pointer;
}
.lap-nama{
  width:170px;
}

.lap-info{
  width:320px;
}

.lap-info::placeholder{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.wd-nama{
  width:170px;
}

.wd-info{
  width:320px;
}

.wd-info::placeholder{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Supaya isi tabel gak turun kebawah */
.setting-table td{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sidebar{
  width:220px;
  background:#111827;
  color:white;
  padding:20px;
  padding-top:24px;
  position:fixed;
  height:100vh;
  overflow:auto;
  display:flex;
  flex-direction:column;
}

@media (max-width: 1024px){
  .layout{
    flex-direction:row;
  }

  .sidebar{
    position:fixed;
    width:220px;
    height:100vh;
  }

  .content{
    margin-left:220px;
    width:calc(100% - 220px);
  }
}

@media (max-width: 768px){
  .layout{
    flex-direction:row;
  }

  .sidebar{
    position:fixed;
    width:200px;
    height:100vh;
  }

  .content{
    margin-left:200px;
    width:calc(100% - 200px);
  }
}

.sidebar-menu{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  height:100%;
}

/* INI YANG BIKIN LOGOUT KE BAWAH */
#logout{
  margin-top:auto;
  cursor:pointer;
}
#logout{
  margin-top:auto;
  padding:12px;
  border-top:1px solid rgba(255,255,255,0.08);
  color:#f87171;
  font-weight:500;
}

#logout:hover{
  background:rgba(255,255,255,0.05);
}
.role-hide{
  display:none !important;
}
/* ===== LAPORAN - AKSI FIX CENTER ===== */
#laporanTableWrap td.lap-aksi{
  text-align:center;
  vertical-align:middle;
  white-space:nowrap;
}

#laporanTableWrap td.lap-aksi button{ 
  margin:0 3px;
}
/* ===============================
   LAPORAN TABLE STYLE (MATCH WITHDRAW)
================================ */

#laporanTableWrap{
  font-size:13px;
  border-collapse:collapse;
}

#laporanTableWrap thead{
  background:#f1f5f9;
}

#laporanTableWrap thead th{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-weight:700;
  color:#334155;
  padding:12px 10px;
  border-bottom:2px solid #e2e8f0;
  text-align:center;
}

#laporanTableWrap tbody tr:nth-child(odd){
  background:#ffffff;
}

#laporanTableWrap tbody tr:nth-child(even){
  background:#f8fafc;
}

#laporanTableWrap tbody tr{
  transition:background-color .18s ease, box-shadow .18s ease;
}

#laporanTableWrap tbody tr:hover{
  background:rgba(79,70,229,0.07);
  box-shadow:inset 0 0 0 1px rgba(79,70,229,0.14);
}

#laporanTableWrap td{
  padding:11px 10px;
  border-bottom:1px solid #eef2f7;
  vertical-align:middle;
}

/* nomor kolom */
#laporanTableWrap td:nth-child(2){
  color:#64748b;
  font-weight:600;
}
/* Kolom Keterangan FIX width */
#laporanTableWrap td:nth-child(7){
  max-width:220px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#laporanTableWrap td{
  padding:8px 10px;   /* lebih padat */
  font-size:13px;
}

#laporanTableWrap th{
  padding:10px 10px;
}
#laporanTableWrap td:nth-child(8){
  text-align:center;
}

.badge-bank{
  display:inline-block;
}
/* ===== LAPORAN - ALIGN FIX ===== */

/* Header rata kiri */
#laporanTableWrap th{
  text-align:left !important;
}

/* Kolom 2-6 rata kiri */
#laporanTableWrap td:nth-child(2),
#laporanTableWrap td:nth-child(3),
#laporanTableWrap td:nth-child(4),
#laporanTableWrap td:nth-child(5),
#laporanTableWrap td:nth-child(6){
  text-align:left !important;
}
/* ===== FORCE CENTER STATUS & AKSI ===== */

/* Header STATUS & AKSI */
#laporanTableWrap th:nth-child(8),
#laporanTableWrap th:nth-child(9){
  text-align:center !important;
}

/* Isi STATUS & AKSI */
#laporanTableWrap td:nth-child(8),
#laporanTableWrap td:nth-child(9){
  text-align:center !important;
  vertical-align:middle !important;
}

/* Flex tombol aksi paksa center */
#laporanTableWrap td:nth-child(9) > div{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:6px;
}
/* ===== FIX CHECKBOX LAPORAN ===== */

/* Kolom checkbox header & isi */
#laporanTableWrap th:first-child,
#laporanTableWrap td:first-child{
  text-align:center !important;
  vertical-align:middle !important;
  width:40px;
}

/* Biar checkbox tidak naik turun */
#laporanTableWrap input[type="checkbox"]{
  width:16px;
  height:16px;
  cursor:pointer;
}
.withdraw-table th:nth-last-child(2),
.withdraw-table th:last-child{
  text-align:center;
}

.withdraw-table td:nth-last-child(2),
.withdraw-table td:last-child{
  text-align:center;
}
.logo-box{
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:center;
}

/* ICON LEBIH BESAR */
.logo-icon{
  width:56px;
  height:56px;
  background:linear-gradient(135deg,#2563eb,#06b6d4);
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  box-shadow:
    0 6px 18px rgba(37,99,235,.45),
    0 0 25px rgba(6,182,212,.35);
  transition:.3s ease;
  animation:pulseGlow 3s ease-in-out infinite;
}

/* ICON SVG */
.logo-icon svg{
  width:26px;
  height:26px;
  fill:#ffffff;
}

/* GLOW HALO BESAR */
.logo-icon::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:18px;
  background:linear-gradient(135deg,#2563eb,#06b6d4);
  opacity:.25;
  filter:blur(18px);
  z-index:-1;
  animation:pulseHalo 3s ease-in-out infinite;
}

/* TEXT */
.logo-text .main{
  font-size:18px;     /* sedikit dibesarkan */
  font-weight:700;
  color:#ffffff;
  letter-spacing:.7px;
  text-shadow:0 0 12px rgba(56,189,248,.4);
}

.logo-text .sub{
  font-size:11px;
  font-weight:600;
  color:#38bdf8;
  letter-spacing:2px;
  opacity:.9;
}

/* === ANIMATION === */
@keyframes pulseGlow{
  0%{
    box-shadow:
      0 6px 18px rgba(37,99,235,.45),
      0 0 25px rgba(6,182,212,.35);
  }
  50%{
    box-shadow:
      0 8px 24px rgba(37,99,235,.65),
      0 0 40px rgba(6,182,212,.6);
  }
  100%{
    box-shadow:
      0 6px 18px rgba(37,99,235,.45),
      0 0 25px rgba(6,182,212,.35);
  }
}

@keyframes pulseHalo{
  0%{
    opacity:.25;
    transform:scale(1);
  }
  50%{
    opacity:.45;
    transform:scale(1.05);
  }
  100%{
    opacity:.25;
    transform:scale(1);
  }
}
.btn-sm{
  height:34px;
  padding:0 16px;
  font-size:13px;
  border-radius:6px;
  cursor:pointer;

  display:flex;              /* penting */
  align-items:center;        /* vertical center */
  justify-content:center;    /* horizontal center */
  text-align:center;
}
/* ===== PREMIUM ACTION BUTTON ===== */

.btn-action{
  height:32px;
  min-width:34px;
  padding:0 14px;
  border-radius:10px;
  border:none;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;

  font-size:12px;
  font-weight:600;

  transition:all .2s ease;
}

/* SELESAI */
.btn-action.success{
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff;
  box-shadow:0 6px 14px rgba(34,197,94,.35);
}

.btn-action.success:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(34,197,94,.45);
}

/* PRINT */
.btn-action.print{
  background:linear-gradient(135deg,#6366f1,#4f46e5);
  color:#fff;
  box-shadow:0 6px 14px rgba(79,70,229,.35);
}

.btn-action.print:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(79,70,229,.45);
}

/* HAPUS */
.btn-action.delete{
  background:linear-gradient(135deg,#ef4444,#dc2626);
  color:#fff;
  box-shadow:0 6px 14px rgba(239,68,68,.35);
}

.btn-action.delete:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(239,68,68,.45);
}
.aksi-flex{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
}
.btn-action svg{
  width:16px;
  height:16px;
  stroke:currentColor;
  stroke-width:2;
  fill:none;
}
.btn-action{
  backdrop-filter:blur(4px);
}
.page-title-left{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:22px;
  font-weight:700;
  color:#1e293b;
  margin-bottom:30px;
}

/* ===== PROFESSIONAL MOTION ===== */
:root{
  --bg-soft:#f8fbff;
  --ink-strong:#0f172a;
  --brand:#4f46e5;
}

body{
  background:
    radial-gradient(circle at 0% 0%, #e0ecff 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, #e7f6ff 0%, transparent 40%),
    var(--bg-soft);
  color:var(--ink-strong);
}

.login-card,
.card,
.summary-card,
.sidebar{
  backdrop-filter:blur(2px);
}

.sidebar li{
  border:1px solid transparent;
}

.sidebar li.active,
.sidebar li:hover{
  border-color:rgba(255,255,255,.14);
  box-shadow:0 8px 22px rgba(79,70,229,.24);
}

#contentArea.page-enter .page-subtitle,
#contentArea.page-enter .page-title,
#contentArea.page-enter .withdraw-title,
#contentArea.page-enter .summary-card,
#contentArea.page-enter .card,
#contentArea.page-enter .table-wrap{
  opacity:0;
  transform:translateY(12px);
  animation:contentRise .45s ease forwards;
  animation-delay:var(--stagger,0ms);
}

@keyframes contentRise{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media (prefers-reduced-motion: reduce){
  *{
    animation:none !important;
    transition:none !important;
  }
}



/* ===== STATUS MODAL SYSTEM ===== */
.status-modal-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(15,23,42,.55);
  backdrop-filter:blur(3px);
  animation:overlayIn .2s ease forwards;
}

.status-modal-overlay.closing{
  animation:overlayOut .18s ease forwards;
}

.status-modal{
  width:100%;
  max-width:300px;
  border-radius:14px;
  padding:20px;
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
  animation:modalInSoft .24s ease forwards;
}

.status-modal.closing{
  animation:modalOutSoft .18s ease forwards;
}

.status-modal-title{
  margin:0 0 12px 0;
  text-align:center;
  color:#1e3a8a;
  font-size:16px;
  font-weight:700;
}

.status-modal-option,
.status-modal-cancel{
  width:100%;
  border-radius:10px;
  padding:9px 10px;
  font-weight:700;
  cursor:pointer;
  transition:all .18s ease;
  margin-bottom:8px;
}

.status-modal-option{
  border:1px solid #dbe3ff;
  background:#eef2ff;
  color:#1f2937;
}

.status-modal-option:hover,
.status-modal-option:focus-visible{
  background:#4f46e5;
  color:#fff;
  outline:none;
  box-shadow:0 0 0 2px rgba(79,70,229,.18);
}

.status-modal-cancel{
  border:1px solid #ef4444;
  background:#ef4444;
  color:#fff;
  margin-bottom:0;
}

.status-modal-cancel:hover,
.status-modal-cancel:focus-visible{
  background:#dc2626;
  border-color:#dc2626;
  outline:none;
  box-shadow:0 0 0 2px rgba(239,68,68,.2);
}

.table-row-enter{
  opacity:0;
  transform:translateY(6px);
  animation:rowInSoft .22s ease forwards;
  animation-delay:var(--row-delay, 0ms);
}

@keyframes overlayIn{
  from{ opacity:0; }
  to{ opacity:1; }
}

@keyframes overlayOut{
  from{ opacity:1; }
  to{ opacity:0; }
}

@keyframes modalInSoft{
  from{
    opacity:0;
    transform:translateY(10px) scale(.98);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@keyframes modalOutSoft{
  from{
    opacity:1;
    transform:translateY(0) scale(1);
  }
  to{
    opacity:0;
    transform:translateY(8px) scale(.98);
  }
}

@keyframes rowInSoft{
  from{
    opacity:0;
    transform:translateY(6px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ===== VISUAL REFRESH + A11Y ===== */
:root{
  --brand-900:#102a43;
  --brand-700:#1f4f8a;
  --brand-500:#2f7ad6;
  --accent:#0ea5e9;
  --surface:#f5f8fc;
}

body{
  background:
    radial-gradient(1200px 580px at -10% -10%, rgba(14,165,233,.12), transparent 58%),
    radial-gradient(900px 420px at 100% 0, rgba(47,122,214,.12), transparent 54%),
    var(--surface);
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  border:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}

.login-body{
  padding:16px;
}

.login-card{
  width:min(380px, 100%);
  border:1px solid #dce8f8;
  border-radius:18px;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 20px 50px rgba(16,42,67,.12),
    0 1px 0 rgba(255,255,255,.7) inset;
}

.login-kicker{
  margin-bottom:8px;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#4b6a96;
  font-weight:700;
}

.login-card h2{
  margin-bottom:6px;
  color:var(--brand-900);
}

.login-subtitle{
  margin-bottom:14px;
  color:#486581;
  font-size:13px;
}

.login-card input{
  border:1px solid #c9d7e8;
  background:#fff;
}

.login-card input:focus-visible,
button:focus-visible,
.sidebar li:focus-visible{
  outline:2px solid rgba(14,165,233,.45);
  outline-offset:2px;
}

.login-card button{
  background:linear-gradient(135deg, var(--brand-700), var(--brand-500));
  box-shadow:0 10px 22px rgba(31,79,138,.26);
}

.login-card button:hover{
  background:linear-gradient(135deg, #1a4377, #2569b8);
}

.login-card button:disabled{
  opacity:.62;
  cursor:not-allowed;
}

.login-security-note{
  margin-top:10px;
  font-size:12px;
  color:#627d98;
}

.sidebar{
  background:linear-gradient(180deg, #0f2740 0%, #163557 100%);
  border-right:1px solid rgba(255,255,255,.08);
}

.sidebar li.active,
.sidebar li:hover{
  background:linear-gradient(90deg, rgba(47,122,214,.9), rgba(14,165,233,.75));
}

/* ===== SETTING: CENTER AKSI COLUMN ===== */
.setting-table th:last-child,
.setting-table td:last-child{
  text-align:center;
}

.setting-table td:last-child > button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 4px 4px 0;
}

.setting-table td:last-child > button:last-child{
  margin-right:0;
}

