        body {
            font-family: Arial, sans-serif;
            margin: 10px;
            padding: 0;
            background-color: #1e2329;
            color: #fed054;
        }

        h4 {
            text-align: center;
            margin-bottom: 20px;
            margin-top: 40px;
            color: #fed054;
        }

        .input-button-group {
            display: flex;
            gap: 10px;
        }

        .column {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .input-wrapper {
            position: relative;
            flex: 1;
        }

        .input-wrapper input {
            width: 100%;
            padding: 10px 10px 10px 10px;
            border-radius: 8px;
            background-color: #3b4046;
  border: 1px solid #fed054;
            color: #fed054;
            text-align: center;
            font-size: 18px;
            font-weight: bold;
            height: 42px;
            box-sizing: border-box;
        }

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

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

        .action-btn {
            background-color: #f4b301;
            border: none;
            padding: 0 16px;
            border-radius: 5px;
            color: black;
            font-weight: bold;
            font-size: 12px;
            cursor: pointer;
            height: 42px;
            width: 120px;
        }

        .total-box {
            text-align: center;
            margin-top: 10px;
            padding: 10px;
            margin-bottom: 10px;
            position: sticky;
            top: 0;
            /* agar tetap di atas saat scroll */
            z-index: 10;
        }

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

        .input-container {
            display: flex;
            align-items: center;
        }

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

        .total-box input[type="text"] {
            text-align: center;
            font-weight: bold;
            color: #ffec85;
            margin-top: 10px;
            background-color: #1a1a1a;
            border: 1px solid #555;
            border-radius: 6px;
            height: 50px;
            width: 100%;
            box-sizing: border-box;
            font-size: 18px;
        }

        .icon-wrapper label {
            display: block;
            margin-bottom: 10px;
            text-align: center;
            color: #f5d216;
            font-weight: bold;
            font-size: 16px;
        }

    /* SweetAlert2 - Dark Mode Custom Styling */
    .swal2-popup {
      background: #3b4046 !important;
      color: #ffffff !important;
      border-radius: 12px;
      font-size: 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* Judul popup */
    .swal2-title {
      font-size: 20px;
      color: #fed054;
      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;
    }

    /* Tombol Konfirmasi (Simpan) */
    .swal2-confirm {
      background-color: #f4b301 !important;
      color: #1e2329 !important;
      border-radius: 8px;
      padding: 10px 24px;
      margin-top: 10px;
      font-weight: 600;
    }

    /* Tombol Cancel */
    .swal2-cancel {
      background-color: #2a2f35 !important;
      color: #fff !important;
      border-radius: 8px;
      padding: 10px 24px;
      margin-top: 8px;
      font-weight: 500;
    }

        .rincian {
            display: none;
        }

        .rincian-popup {
            max-width: 800px;
            /* Lebar maksimal popup */
            text-align: center;
            overflow-x: auto;
        }

        .rincian-popup table {
            width: 100%;
            border-collapse: collapse;
        }

        .rincian-popup th,
        .rincian-popup td {
            padding: 8px;
            text-align: center;
        }

        .rincian-popup th {
            background-color: #222;
            color: #fed054;
        }

        .rincian-popup td {
            background-color: #fff;
            color: #333;
        }

        .table-container {
            max-height: 60vh;
            min-height: 60vh;
            /* Tambahkan ini agar langsung terlihat */
            overflow-y: auto;
            margin-top: 20px;
            background-color: #e3e3e3;
            border: 2px solid #444;
            position: relative;
            z-index: 1
        }

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

        th {
            padding: 10px;
            border: 1px solid #333;
            text-align: center;
        }

        td {
            padding: 5px;
            border: 1px solid #333;
            text-align: center;
        }

        th {
            background-color: #333;
        }

        td {
            background-color: #e3e3e3;
            color: #000;
        }

        #modalForm {
            display: none;
            background: #222;
            padding: 20px;
            border-radius: 8px;
            width: 300px;
            position: fixed;
            top: 20%;
            left: 50%;
            transform: translateX(-50%);
            box-shadow: 0 0 10px #000;
        }

        td.nama {
            max-width: 80px;
            white-space: nowrap;
            overflow: hidden;
            text-align: left;
            text-overflow: ellipsis;
        }

        .mini-chart {
            margin-bottom: 12px;
        }

        .mini-chart .label {
            font-size: 14px;
            margin-bottom: 2px;
        }

        .mini-chart .bar {
            background: #333;
            border-radius: 6px;
            overflow: hidden;
            height: 16px;
        }

        .mini-chart .fill {
            background: red;
            height: 100%;
            text-align: right;
            padding-right: 6px;
            color: #000;
            font-weight: bold;
            font-size: 12px;
            line-height: 16px;
            border-radius: 6px;
        }