#changeAmount {
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    display: block;
    margin-top: 10px;
}
#changeAmount {
    color: green;
    font-weight: bold;
}
.green-text {
    color: green;
    font-weight: bold;
}

#changeAmount.error {
    color: red;
    font-weight: bold;
}
/* Gaya untuk tombol close (X) pada SweetAlert2 */

/* Gaya tombol close untuk changelog */
.changelog-close-button {
    background-color: #ff4d4d !important; /* Merah terang untuk background */
    color: white !important; /* Warna teks (X) putih */
    border: 2px solid #ff4d4d !important; /* Border merah */
    border-radius: 5px !important; /* Sedikit melengkungkan sudut kotak */
    width: 50px !important; /* Ukuran lebar tombol */
    height: 50px !important; /* Ukuran tinggi tombol */
    font-size: 30px !important; /* Ukuran font untuk X */
    display: flex !important; /* Menggunakan flexbox */
    justify-content: center; /* Pusatkan teks X */
    align-items: center; /* Pusatkan teks X secara vertikal */
}

/* Menambahkan hover effect untuk tombol close changelog */
.changelog-close-button:hover {
    background-color: #ff1a1a !important; /* Merah lebih gelap saat hover */
    border-color: #ff1a1a !important; /* Border lebih gelap saat hover */
}

/* Gaya untuk tombol 'Lanjutkan' di SweetAlert2 */
.swal2-confirm {
    font-family: 'Poppins', sans-serif !important; /* Menetapkan font Poppins */
    font-weight: 500 !important; /* Berat font (500 untuk medium) */
    background-color: #007bff !important; /* Warna biru untuk tombol */
    color: white !important; /* Warna teks putih */
    border-radius: 5px !important; /* Sudut tombol melengkung */
    padding: 10px 20px !important; /* Padding untuk tombol */
    font-size: 16px !important; /* Ukuran font */
}

/* Menambahkan hover effect untuk tombol 'Lanjutkan' */
.swal2-confirm:hover {
    background-color: #0056b3 !important; /* Biru lebih gelap saat hover */
}

/* Header Container */
.header-container {
    width: 100%;
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1); /* Efek transparan */
    backdrop-filter: blur(10px); /* Efek kaca buram */
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Logo atau Judul */
.logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1.5px;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }

    .logo {
        font-size: 24px;
    }
}




/* Styling umum untuk dropdown */
select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    border: 2px solid #6e8efb;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
}

/* Tambahkan ikon panah ke dropdown */
select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236e8efb"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 40px;
}

/* Efek hover pada dropdown */
select:hover {
    border-color: #5a78e0;
    background: #f0f5ff;
}

/* Efek saat dropdown aktif (klik) */
select:focus {
    border-color: #4a68d0;
    box-shadow: 0 0 12px rgba(110, 142, 251, 0.4);
    background: #f5faff;
}

/* Styling untuk opsi dalam dropdown */
select option {
    padding: 12px;
    background: white;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: background 0.3s ease-in-out;
}

/* Hover pada opsi dropdown (berfungsi di beberapa browser) */
select option:hover {
    background: #6e8efb;
    color: white;
}

/* Pastikan dropdown tidak tertutup elemen lain */
select {
    z-index: 10;
}

/* Efek transisi dropdown agar smooth */
select {
    transition: all 0.3s ease-in-out;
}


body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            background: linear-gradient(135deg, #4a68d0, #3a58c0);
            color: #333;
        }
        /* Menambahkan dua garis miring di pojok kanan atas */
/* Menambahkan dua garis miring panjang di pojok kanan atas */
body::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px; /* Panjang garis lebih panjang */
    height: 3px; /* Ketebalan garis */
    background-color: white; /* Warna garis */
    transform: rotate(-90deg); /* Memiringkan garis */
    margin: -10px;
    box-shadow: 0px 20px 0px white; /* Membuat dua garis lebih panjang ke bawah */
}


 
.swal2-toast {
    width: 200px !important; /* Sesuaikan ukuran */
    font-size: 13px !important; /* Ukuran font lebih pas */
    padding: 8px !important;
    border-radius: 8px !important; /* Sudut lebih halus */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1) !important; /* Efek bayangan lembut */
}



.swal2-icon {
    width: 24px !important; /* Perkecil ikon */
    height: 24px !important;
    font-size: 14px !important;
}
/* Menambahkan efek animasi pada popup */
.swal2-popup {
    animation: popupAnim 0.5s ease-in-out;
}

@keyframes popupAnim {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.no-data {
    text-align: center;
    color: gray;
    font-size: 16px;
    font-family: 'Poppins', sans-serif !important; /* Gunakan font Poppins */
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    font-weight: bold;
}


        h2 {
            text-align: center;
            margin-top: 20px;
            color: white;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
        }

        .menu-container {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
            max-width: 400px;
            margin: 20px auto;
            transition: transform 0.3s ease-in-out;
        }

        .menu-container input {
        display: block;
    width: 92%; /* Tidak terlalu penuh agar terlihat rapi */
    margin: 10px auto; /* Otomatis sejajar tengah */
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    text-align: ; /* Isi dalam input tetap berada di tengah */
}
/* Styling untuk tabel */
.order-history table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.order-history th, .order-history td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.order-history th {
    background-color: #f4f4f4;
}

/* Styling tombol hapus kecil */
.delete-btn {
    background-color: transparent;
    border: none;
    color: red;
    font-size: 14px;
    cursor: pointer;
}

.delete-btn:hover {
    color: darkred;
}


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

        select, input, button {
            display: block;
            width: 100%;
            margin-top: 10px;
            padding: 10px;
            font-size: 16px;
            border-radius: 8px;
            border: 1px solid #ccc;
            transition: all 0.3s ease-in-out;
        }

        select:focus, input:focus {
            border-color: #6e8efb;
            outline: none;
            box-shadow: 0 0 8px rgba(110, 142, 251, 0.5);
        }

 /* Gaya umum untuk semua tombol */
button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
    color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Tombol Tambah ke Pesanan */
.tambah-btn {
font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #4a68d0, #3a58c0); /* Biru ke ungu */
}

.tambah-btn:hover {
    background: linear-gradient(135deg, #4a68d0, #3a58c0);
    transform: scale(1.02);
}

/* Tombol Simpan Transaksi */
.simpan-btn {
font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #4a68d0, #3a58c0);
}

.simpan-btn:hover {
    background: linear-gradient(135deg, #3a58c0, #2a48b0);
    transform: scale(1.02);
}

/* Tombol Reset */
.reset-btn {
    background: linear-gradient(135deg, #4a68d0, #3a58c0); /* Ungu terang */
}

.reset-btn:hover {
    background: linear-gradient(135deg, #4a68d0, #3a58c0); /* Ungu terang */
    transform: scale(1.02);
}

/* Tombol Reset Riwayat (Merah) */
.reset-riwayat-btn {
font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.reset-riwayat-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: scale(1.05);
}



        .order-list {
            margin-top: 15px;
            padding: 15px;
            background: #f9f9f9;
            border-radius: 8px;
            box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
        }

        .order-list ul {
            padding-left: 20px;
        }

        .error {
            color: red;
            font-weight: bold;
        }

        .footer {
            text-align: center;
            padding: 10px;
            color: white;
            font-size: 14px;
            margin-top: 20px;
        }

        .order-history {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
            max-width: 400px;
            margin: 20px auto;
        }
       