    @media (max-width: 480px) {}

    body {
      font-family:'Segoe UI',Roboto,Arial;
      margin: 10px;
      padding: 0;
      font-weight: bold;
      background-color: #071733;
      color: #1e2329;
    }

    h4 {
      text-align: center;
      margin-bottom: 24px;
      color: #fed054;
    }

    label {
      display: block;
      margin-bottom: 10px;
      font-weight: bold;
    }

    input,
    button,
    select {
      text-align: center;
      width: 100%;
      padding: 12px;
      font-size: 16px;
      margin-bottom: 1px;
      margin-top: 1px;
      background-color: rgb(255, 255, 255);
      color: #1e2329;
      box-sizing: border-box;
    }

    input::placeholder {
      text-align: center;
      color: #aaa;
    }

    button {
      border: none;
      border-radius: 8px;
      background:linear-gradient(#ffe680,#ffcc00);
      color:#04003a;      color: #1e2329;
      font-weight: bold;
      text-align: center;
      height: 40px;
          box-shadow:
        0 6px 0 #d1a700,
        0 4px 10px rgba(0,0,0,0.18),
        inset 0 2px 4px rgba(255,255,255,0.45);
    transition:0.2s;
    }

    button:hover {
        transform:translateY(-3px);
        box-shadow:
            0 9px 0 #d1a700,
            0 6px 14px rgba(0,0,0,0.24),
            inset 0 2px 5px rgba(255,255,255,0.5);
    }

    button:active{
        transform:translateY(2px);
        box-shadow:
            0 3px 0 #d1a700,
            0 2px 6px rgba(0,0,0,0.22),
            inset 0 4px 6px rgba(0,0,0,0.25);
    }

    .table-container {
      max-height: 50vh;
      min-height: 50vh;
      overflow-y: auto;
      margin-top: 10px;
      border: 1px solid #2a2f35;
      position: relative;
      background-color: rgb(255, 255, 255);
      z-index: 1
    }

    table {
      width: 100%;
      table-layout: fixed;
      font-size: 16px;
      border-collapse: collapse;
      background-color: rgb(236, 236, 236);
    }

    thead th,
    tbody td {
      padding: 6px;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.659);
    }

    table th,
    table td {
      padding: 2px 4px;
      font-size: 12px;
      height: 30px;
      line-height: 1.2;
    }

    thead th {
      position: sticky;
      top: 0;
      background-color: #233a6a;
      color: #f5d216;
      z-index: 1;
    }

    /* Tambahkan gaya input dalam tabel agar lebih kecil */
    table td input[type="text"],
    table td input[type="number"] {
      font-size: 14px;
      padding: 3px 5px;
      height: 30px;
      box-sizing: border-box;
      text-align: center;
    }

    table button {
      font-size: 10px;
      padding: 2px 4px;
      height: 24px;
      line-height: 1;
    }

    /* Tombol hapus di dalam tabel */
    table td button {
      background-color: #d9534f;
      color: white;
      font-size: 10px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      width: 20px;
      height: 20px;
    }

    table td button:hover {
      background-color: #c9302c;
    }

    /* Kolom No */
    table th:nth-child(1),
    table td:nth-child(1) {
      width: 30px;
      max-width: 30px;
      text-align: center;
    }

    /* Kolom Hapus */
    table th:nth-child(5),
    table td:nth-child(5) {
      width: 40px;
      max-width: 40px;
      text-align: center;
    }

    /* Kolom X (Checkbox) */
    table th:nth-child(4),
    table td:nth-child(4) {
      width: 30px;
      max-width: 30px;
      text-align: center;
    }

    .total-box {
      margin-top: 20px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: stretch;
      gap: 10px;
      border: 1px solid #555;
      border-radius: 6px;
      background-color: #233a6a;
      padding: 15px;
      border-radius: 8px;
    }

    .icon-wrapper {
      position: relative;
      flex: 1 1 22%;
      min-width: 120px;
    }

    .icon-wrapper label {
      display: block;
      margin-bottom: 5px;
      text-align: center;
      color: #ffec85;
      font-size: 12px;
    }

    .input-container {
      position: relative;
    }

    .input-icon {
      position: absolute;
      left: 10px;
      padding-left: 5px;
      top: 50%;
      transform: translateY(-50%);
      color: #f5d216;
      font-size: 16px;
      pointer-events: none;
    }

    .total-box input[type="text"] {
      padding-left: 30px;
      text-align: center;
      font-weight: bold;
      color: #fed054;
      background: rgba(255,255,255,0.20);
      border: 1px solid rgba(255,255,255,0.35);
      border-radius: 6px;
      height: 40px;
      width: 100%;
      box-sizing: border-box;
      font-size: 14px;
    }

    .keyboard-open {
      transform: translateY(-200px);
      transition: transform 0.3s;
    }

    .flex-btns {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      bottom: 0;
      left: 0;
      right: 0;
      margin-bottom: 10px;
      padding: 20px;
      margin-top: 20px;
      flex-wrap: wrap;
    }

    .flex-btns button:hover {
      background-color: #f5d216;
    }

    .flex-btns button {
      cursor: pointer;
      font-size: 18px;
      transition: background-color 0.2s ease;
      border: 1px solid #fed054;
      border-radius: 8px;
      height: 60px;
      font-size: 26px;
      flex: 1;
      min-width: 50px;
      padding: 10px;
      text-align: center;
      box-sizing: border-box;
    }

    .row-inline {
      display: flex;
      gap: 10px;
      margin-top: 12px;
    }

    .row-inline .form-group {
      flex: 1;
    }

    .row-inline input,
    .row-inline select {
      width: 100%;
      padding: 10px;
      font-size: 14px;
      text-align: center;
      background: rgba(255,255,255,0.20);
      border: 3px solid rgba(255,255,255,0.35);
      color: #fed054;
      border-radius: 6px;
      box-sizing: border-box;
    }

    /* Input hanya dalam tabel */
    #tabelBody input.nama,
    #tabelBody input.ongkir {
      font-size: 14px;
      padding: 3px 5px;
      height: 35px;
      width: 100%;
      box-sizing: border-box;
      border-radius: 0px;
    }

    #tabelBody input.nama {
      text-align: center;
      height: 30px;
    }

    #tabelBody input.ongkir {
      height: 30px;
      text-align: center;
    }

    #tabelBody input.coret {
      transform: scale(1);
      display: block;
      margin: 0 auto;
      width: 18px;
      height: 18px;
    }

    .dropdown-container {
      position: relative;
    }

    #dropdownBtn {
      width: 100%;
      height: 87%;
      padding: 10px;
      font-size: 16px;
      background-color: #f5d216;
      color: black;
      border: 1px solid #666;
      border-radius: 6px;
      cursor: pointer;
      text-align: center;
    }

    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #333;
      border: 1px solid #555;
      border-radius: 4px;
      display: none;
      z-index: 10;
      width: 100%;
    }

    .dropdown-menu div {
      padding: 10px;
      cursor: pointer;
      color: #fff;
    }

    .dropdown-menu div:hover {
      background-color: #f5d216;
      color: black;
    }

    .btn-tabungan {
      height: 87%;
      background-color: #e9aa05;
      color: black;
      border: none;
      padding: 10px 16px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: bold;
      font-size: 14px;
    }

    /* Hover efek */
    #showTabunganBtn:hover {
      background-color: #f5d216;
    }

/* SweetAlert2 - Navy Glassmorphism + Margin */
.swal2-popup {
  background: rgba(30, 45, 80, 0.35) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  /* Margin agar ada jarak dari sisi layar */
  margin-left: 500px !important;
  margin-right: 500px !important;
  border: 2px solid rgba(90, 120, 180, 0.4);
  border-radius: 16px;
  color: #ffffff !important;
  font-size: 16px;
  box-shadow: 0 100px 28px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
}

    /* Judul popup */
    .swal2-title {
      font-size: 20px;
      color: #ffffffff;
      text-align: center;
    }

    /* Input fields */
    .swal2-input {
      width: 100%;
      max-width: 250px;
      margin: 8px auto;
      background-color: #1e2329 !important;
      color: #ffffff !important;
      border: 1px solid #444 !important;
      border-radius: 8px;
      padding: 10px 12px;
      box-sizing: border-box;
    }

/* Base styling untuk semua tombol SweetAlert */
.swal2-styled {
  padding: 14px 26px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow:
      0 10px 18px rgba(0, 0, 0, 0.35),
      inset 0 5px 8px rgba(255, 255, 255, 0.22),
      inset 0 -5px 8px rgba(0, 0, 0, 0.30);
  transition: 0.22s ease !important;
}

/* Hover umum */
.swal2-styled:hover {
  transform: translateY(-3px);
}

/* Active umum */
.swal2-styled:active {
  transform: translateY(3px);
}

/* --------------------------- */
/*  STAY (Hijau Glass)         */
/* --------------------------- */
.swal2-confirm {
  background: rgba(40, 150, 80, 0.45) !important; /* hijau transparan */
  border: 2px solid rgba(120, 230, 160, 0.5) !important;
  color: #fff !important;
  box-shadow:
      0 10px 18px rgba(0, 0, 0, 0.35),
      inset 0 6px 10px rgba(255, 255, 255, 0.20),
      inset 0 -6px 10px rgba(0, 0, 0, 0.35);
}

.swal2-confirm:hover {
  background: rgba(55, 180, 110, 0.55) !important;
}

/* --------------------------- */
/*  OFF (Merah Glass)          */
/* --------------------------- */
.swal2-deny {
  background: rgba(180, 40, 60, 0.45) !important; /* merah transparan */
  border: 2px solid rgba(255, 150, 150, 0.5) !important;
  color: #fff !important;
}

.swal2-deny:hover {
  background: rgba(210, 55, 80, 0.55) !important;
}

/* --------------------------- */
/*  Batal (Hitam Glass)        */
/* --------------------------- */
.swal2-cancel {
  background: rgba(20, 20, 20, 0.45) !important; /* hitam transparan */
  border: 2px solid rgba(180, 180, 180, 0.4) !important;
  color: #fff !important;
}

.swal2-cancel:hover {
  background: rgba(40, 40, 40, 0.55) !important;
}

    
/* Tombol shift 3D - Glass Navy Cembung */
.swal-shift-btn {
  padding: 16px 20px;
  min-width: 80px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;

  /* Tambahkan jarak antar tombol */
  margin: 0 6px;

  /* Glass navy */
  background: rgba(40, 60, 110, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 18px;
  border: 2px solid rgba(180, 200, 255, 0.45);

  cursor: pointer;
  transition: 0.22s ease;

  /* --- Efek 3D tonjol keluar --- */
  box-shadow:
      0 12px 18px rgba(0, 0, 0, 0.45),
      inset 0 6px 10px rgba(255, 255, 255, 0.25),
      inset 0 -6px 10px rgba(0, 0, 0, 0.35),
      0 0 14px rgba(90, 120, 200, 0.5);
}

/* Hover: makin menonjol */
.swal-shift-btn:hover {
  transform: translateY(-4px);
  box-shadow:
      0 16px 22px rgba(0, 0, 0, 0.55),
      inset 0 7px 11px rgba(255, 255, 255, 0.28),
      inset 0 -7px 11px rgba(0, 0, 0, 0.4),
      0 0 16px rgba(110, 140, 230, 0.6);
}

/* Active: ditekan */
.swal-shift-btn:active {
  transform: translateY(3px);
  box-shadow:
      0 7px 10px rgba(0, 0, 0, 0.45),
      inset 0 3px 6px rgba(255, 255, 255, 0.18),
      inset 0 -4px 7px rgba(0, 0, 0, 0.35),
      0 0 12px rgba(90, 120, 200, 0.45);
}
/* Base styling untuk semua tombol SweetAlert */
.swal2-popup .swal2-styled {
  padding: 14px 26px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow:
      0 10px 18px rgba(0, 0, 0, 0.35),
      inset 0 5px 8px rgba(255, 255, 255, 0.22),
      inset 0 -5px 8px rgba(0, 0, 0, 0.30);
  transition: 0.22s ease !important;
}

/* Hover khusus SweetAlert */
.swal2-popup .swal2-styled:hover {
  transform: translateY(-3px);
}

/* Active khusus SweetAlert */
.swal2-popup .swal2-styled:active {
  transform: translateY(3px);
}

/* STAY / OK (Hijau Glass) */
/* SweetAlert Confirm (OK) tengah sempurna */
.swal2-popup .swal2-confirm {
  background: rgba(40, 150, 80, 0.45) !important;
  border: 2px solid rgba(120, 230, 160, 0.5) !important;
  color: #fff !important;

  padding: 14px 28px !important; /* lebih seimbang */

  /* perbaikan posisi text */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  /* efek glass 3D tapi tidak membuat teks turun */
  box-shadow:
      0 6px 12px rgba(0, 0, 0, 0.35),        /* bayangan bawah dikurangi */
      inset 0 4px 7px rgba(255, 255, 255, 0.25), /* highlight atas */
      inset 0 -3px 6px rgba(0, 0, 0, 0.25);      /* shading bawah dikurangi */
}

/* OFF (Merah Glass) */
.swal2-popup .swal2-deny {
  background: rgba(180, 40, 60, 0.45) !important;
  border: 2px solid rgba(255, 150, 150, 0.5) !important;
  color: #fff !important;
}

/* Batal (Hitam Glass) */
.swal2-popup .swal2-cancel {
  background: rgba(20, 20, 20, 0.45) !important;
  border: 2px solid rgba(180, 180, 180, 0.4) !important;
  color: #fff !important;
}

/* Hilangkan garis animasi */
.swal2-success-ring,
.swal2-success-fix {
  background: none !important;
  display: none !important;
}

/* Hapus inner circle */
.swal2-success-circular-line-left,
.swal2-success-circular-line-right {
  display: none !important;
}

/* Style untuk dropdown */
#potongan {
  background: rgba(40, 60, 110, 0.45);      /* navy transparan */
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(150, 170, 220, 0.45);
  font-size: 16px;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  outline: none;
  cursor: pointer;
}

/* Saat dropdown dibuka (option list) */
#potongan option {
  background: rgba(20, 30, 60, 0.9);        /* dark navy */
  color: #fff;
}


