
/* Biar seluruh modal scroll bareng */
#confirmModal .modal-dialog {
  margin: 0 auto;
  max-width: 520px;   /* opsional */
  height: 100vh;      /* penuh layar */
}

#confirmModal .modal-content {
  max-height: 90vh;   /* biar gak lebih tinggi dari layar */
  overflow-y: auto;   /* aktifkan scroll untuk seluruh isi modal */
  -webkit-overflow-scrolling: touch;
}

#confirmModal .modal-body {
  max-height: none !important;  /* hapus batas tinggi */
  overflow: visible !important; /* jangan scroll sendiri */
  padding-bottom: 50px;         /* jarak biar footer gak nempel konten */
}

#confirmModal .modal-footer {
  position: static !important;  /* jangan sticky */
  padding-bottom: 100px; 
}

/* ===== Vars & Anim ===== */
:root { --neon:#39ff14; }
@keyframes neonSpin { to { --a:1turn; } }

/* ===== Table Glass + Neon ===== */
.table.table-bordered.table-hover{
  --a:0turn;
  position:relative;
  isolation:isolate;
  width:100%;
  border-collapse:separate;          /* perlu supaya radius kepakai */
  border-spacing:0;                  /* rapat */
  border-radius:14px;
  background:
    repeating-linear-gradient(45deg, rgba(57,255,20,.06) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, rgba(20,20,20,.88), rgba(5,5,5,.92));
  backdrop-filter:blur(6px) saturate(120%);
  -webkit-backdrop-filter:blur(6px) saturate(120%);
  border:1px solid rgba(255,255,255,.06);
  box-shadow:
    0 12px 28px rgba(0,0,0,.6),
    0 0 0 1px rgba(57,255,20,.16) inset,
    0 0 40px rgba(57,255,20,.08) inset;
  color:#e8ffe8;
  overflow:hidden;
}

/* Neon border spinning */
.table.table-bordered.table-hover::before{
  content:"";
  position:absolute; inset:0; border-radius:inherit; padding:2px;
  background:conic-gradient(from var(--a),
    var(--neon) 0 25%, transparent 25% 50%,
    var(--neon) 50% 75%, transparent 75% 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  pointer-events:none; opacity:.7; animation:neonSpin 6s linear infinite;
}
/* Outer glow */
.table.table-bordered.table-hover::after{
  content:""; position:absolute; inset:-8px; border-radius:inherit;
  background:radial-gradient(closest-side, rgba(57,255,20,.25), transparent 70%);
  filter:blur(10px); z-index:-1;
}

/* ===== Header ===== */
.table.table-bordered.table-hover thead.table-dark th{
  background:linear-gradient(180deg, rgba(0,110,60,.9), rgba(0,70,40,.95));
  color:#d9ffe0; border:0;
  padding:10px 12px; font-weight:700; letter-spacing:.3px;
  text-transform:none;
}
.table.table-bordered.table-hover thead.table-dark tr{
  border-bottom:1px solid rgba(57,255,20,.25);
}

/* ===== Body ===== */
.table.table-bordered.table-hover tbody tr{
  transition:background .25s, transform .12s;
}
.table.table-bordered.table-hover tbody td{
  background:transparent;            /* biar glass parent kebaca */
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(0,0,0,.35);
  padding:10px 12px; vertical-align:top;
  color:#e8ffe8;
  font-size:14px;
  line-height:1.25em;
}

/* Hover row */
.table.table-bordered.table-hover tbody tr:hover td{
  background:rgba(255,255,255,.04);
}

/* Garis pemisah halus ala neon */
.table.table-bordered.table-hover tbody tr+tr td{
  box-shadow:0 -1px 0 rgba(57,255,20,.12) inset;
}

/* Kolom: Tanggal, Keterangan, Jumlah */
.table.table-bordered.table-hover tbody td:first-child{
  width:120px; white-space:nowrap; color:#c9ffd0;
}
.table.table-bordered.table-hover tbody td:nth-child(2){
  color:#eaffea;
}
.table.table-bordered.table-hover tbody td:last-child{
  width:110px;
  font-weight:700;
}

/* Penegasan warna jumlah */
.table .text-end{ text-align:right; }
.table .text-danger{ color:#ff5e5e !important; text-shadow:0 0 6px rgba(255,50,50,.25); }
.table .text-success{ color:#42ff89 !important; text-shadow:0 0 6px rgba(66,255,137,.25); }

/* Biar sudut header/foot rapi */
.table.table-bordered.table-hover thead th:first-child{ border-top-left-radius:12px; }
.table.table-bordered.table-hover thead th:last-child{ border-top-right-radius:12px; }

/* Responsif kecil */
@media (max-width:480px){
  .table.table-bordered.table-hover tbody td{ padding:8px 10px; font-size:13px; }
  .table.table-bordered.table-hover tbody td:first-child{ width:96px; }
  .table.table-bordered.table-hover tbody td:last-child{ width:90px; }
}
/* Vars & anim (pakai yang sama seperti sebelumnya) */
:root { --neon:#39ff14; }
@keyframes neonSpin { to { --a:1turn; } }

/* ===== Card Glass + Neon ===== */
.card.border-info{
  --a:0turn;
  position:relative;
  isolation:isolate;
  border:1px solid rgba(255,255,255,.06) !important;
  border-radius:14px;
  background:
    repeating-linear-gradient(45deg, rgba(57,255,20,.05) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, rgba(20,20,20,.9), rgba(5,5,5,.95));
  box-shadow:
    0 12px 28px rgba(0,0,0,.6),
    0 0 0 1px rgba(57,255,20,.12) inset,
    0 0 32px rgba(57,255,20,.06) inset;
  backdrop-filter:blur(6px) saturate(120%);
  -webkit-backdrop-filter:blur(6px) saturate(120%);
  color:#eafdea;
  overflow:hidden;
}
.card.border-info::before{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:2px;
  background:conic-gradient(from var(--a),
    var(--neon) 0 25%, transparent 25% 50%,
    var(--neon) 50% 75%, transparent 75% 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  pointer-events:none; opacity:.65; animation:neonSpin 6s linear infinite;
}
.card.border-info::after{
  content:""; position:absolute; inset:-8px; border-radius:inherit;
  background:radial-gradient(closest-side, rgba(57,255,20,.22), transparent 70%);
  filter:blur(10px); z-index:-1;
}

/* ===== Header / Title ===== */
.card.border-info .card-body:first-of-type{
  padding:14px 16px 10px;
  border-bottom:1px solid rgba(57,255,20,.18);
}
.card.border-info .card-title{
  color:#eaffef;
  font-weight:800;
  letter-spacing:.4px;
  line-height:1.25;
  text-shadow:0 1px 0 rgba(0,0,0,.4), 0 0 10px rgba(57,255,20,.15);
}
.card.border-info .card-title i{
  font-weight:900;
  margin:0 1px;
  filter:drop-shadow(0 0 6px rgba(57,255,20,.18));
}

/* Meta (No/Tgl Invoice) – jelas tapi tidak terlalu mencolok */
.card.border-info .card-body:first-of-type strong{ color:#b2ffbf; }
.card.border-info .card-body:first-of-type,
.card.border-info .card-body:first-of-type p{
  font-size:14px; line-height:1.35; color:#dcffe0;
}

/* ===== Items ===== */
.card.border-info .list-group{ border-radius:0; }
.card.border-info .list-group-item{
  background:transparent;
  color:#eafdea;
  border:0;
  border-top:1px solid rgba(255,255,255,.06);
  box-shadow:0 -1px 0 rgba(57,255,20,.10) inset;
  padding:12px 16px;
}
.card.border-info .list-group-item strong{
  display:inline-block;
  color:#eaffea;
  font-weight:800;
  letter-spacing:.3px;
}

/* Badge angka – tetap kontras & rapi */
.card.border-info .badge.bg-info{
  background:linear-gradient(180deg, rgba(0,140,90,.95), rgba(0,110,70,.95)) !important;
  color:#e9ffef;
  border:1px solid rgba(57,255,20,.35);
  box-shadow:0 0 0 1px rgba(57,255,20,.15) inset, 0 4px 10px rgba(0,0,0,.35);
  font-weight:800;
}

/* Detail kecil – jangan terlalu pudar agar terbaca */
.card.border-info small.text-muted{
  color:#cfeedd !important;
  font-size:13px;
}

/* ===== Total ===== */
.card.border-info .card-body:last-of-type{
  padding:12px 16px 14px;
  border-top:1px solid rgba(57,255,20,.18);
  font-weight:700; color:#eaffea;
}
.card.border-info .card-body:last-of-type strong{
  color:#42ff89; text-shadow:0 0 6px rgba(66,255,137,.25);
}

/* ===== Hover halus ===== */
.card.border-info .list-group-item:hover{
  background:rgba(255,255,255,.035);
}

/* ===== Responsif kecil ===== */
@media (max-width:480px){
  .card.border-info .card-title{ font-size:1.15rem; }
  .card.border-info .list-group-item{ padding:10px 14px; }
  .card.border-info .badge.bg-info{ font-size:.85em; }
}

/* === Transparent Dark Table with Neon Green Lines === */
.table.table-bordered {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.6); /* hitam transparan elegan */
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  color: #eaffea; /* teks putih kehijauan */
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.6);
}

/* Header */
.table.table-bordered thead tr th {
  background: linear-gradient(180deg, rgba(0, 120, 60, 0.85), rgba(0, 80, 40, 0.95));
  color: #dfffe6;
  padding: 10px;
  font-weight: 700;
  border: none;
  text-transform: none;
  letter-spacing: .3px;
  text-shadow: 0 0 6px rgba(57,255,20,.25);
}

/* Cell dasar */
.table.table-bordered td {
  padding: 10px;
  border: none;
  color: #eaffea;
  background: rgba(0,0,0,0.3);
  font-weight: 500;
  border-bottom: 1px solid rgba(57,255,20,0.3);
}

/* Row hover */
.table.table-bordered tbody tr:hover td {
  background: rgba(57,255,20,0.08);
}

/* Garis antar kolom */
.table.table-bordered tbody td + td {
  border-left: 1px solid rgba(57,255,20,0.2);
}

/* Border radius */
.table.table-bordered thead tr:first-child th:first-child {
  border-top-left-radius: 12px;
}
.table.table-bordered thead tr:first-child th:last-child {
  border-top-right-radius: 12px;
}
.table.table-bordered tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
.table.table-bordered tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* Text center styling */
.table.table-bordered td.text-center,
.table.table-bordered th.text-center {
  text-align: center;
}

/* Responsif */
@media (max-width: 480px) {
  .table.table-bordered {
    font-size: 13px;
  }
  .table.table-bordered td,
  .table.table-bordered th {
    padding: 8px;
  }
}
