/* Reset dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* BODY NYAAAAAAAAAAAAAAAAAA */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.premium-section {
    padding-top: 60px;
}
/* Judul Section */
.premium-section h2 {
    font-size: 2.5em;
    color: #0077ff;
    margin-top: 40px;
}

.premium-section p {
    font-size: 1em;
    color: #aaa;
    margin-bottom: 40px;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    height: auto; /* Pastikan tingginya bisa bertambah */
    margin-bottom: 100px; /* Atur jarak bawah */
}

/* Kartu Produk */
.product-card {
    background: #0c1016;
    padding: 0;
    text-align: left;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    word-wrap: break-word;
}

body.light-theme .product-card {
    background: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

/* Gambar Produk */
.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    display: block;
}

/* Deskripsi tambahan (default tersembunyi) */
.extra-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out;
}

/* Saat Read More ditekan */
.product-card.expanded .extra-content {
    max-height: 200px; /* Sesuaikan tinggi sesuai kebutuhan */
}

.extra-content.scrollable {
    max-height: 200px; /* Tinggi saat terbuka */
    overflow-y: auto; /* Aktifkan scrollbar */
}

.extra-content.extra-content.scrollable::-webkit-scrollbar {
    display: none;
}

.show-more {
    text-decoration: none;
    color: #0077ff;
    transition: color 0.3s ease-in-out;
    display: inline-block;
    width: fit-content;
}

.show-more:hover {
    color: #3493ff;
}

a {
    text-decoration: none !important;
}

.product-info {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

/* Info Produk */
.product-info h3 {
    font-size: 1.2em;
    color: #fff;
    margin: 10px 15px 10px;
    gap: 5px; /* Beri jarak antar elemen */
}

body.light-theme h3 {
    color: #000;
}

.product-info h4 {
    font-size: 0.9em;
    color: #bbb;
    margin: 0 15px;
    margin-bottom: 5px;
    font-weight: normal;
}

.product-info p {
    font-size: 0.9em;
    color: #bbb;
    margin: 0 15px;
}

.product-info a {
    color: #0077ff;
    text-decoration: none;
    font-size: 0.9em;
    margin: 0 15px;
    cursor: pointer;
}

.product-info a:hover {
    text-decoration: underline;
}

.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease-in-out;
}

/* Efek shadow dalam gambar */
.image-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.452), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Efek saat di-hover (Desktop) */
.image-container:hover::after,
.image-container:hover img {
    opacity: 1;
    transform: scale(1.2);
}

/* Efek saat di-klik (Mobile) */
.image-container.active::after,
.image-container.active img {
    opacity: 1;
    transform: scale(1.2);
}



/* Ikon "info" di pojok kanan bawah (tersembunyi default) */
.info-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 20px;
    width: 25px;
    height: 25px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.342);
    border-radius: 50%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: visibility 0.3s, opacity 0.3s, transform 0.3s;
    visibility: hidden;
    opacity: 0;
    z-index: 1; /*biar ga ketimpa sm effect shadow di gambar*/
    transform: scale(0.8);
}

/* Munculkan ikon saat product-card di-hover */
.product-card:hover .info-icon {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

/* Overlay untuk latar belakang gelap */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    z-index: 1000;
}

/* Pastikan popup-card tidak berubah tinggi */
.popup-card {
    background: #1f2937;
    width: 510px;
    max-width: 95%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0px;
    position: relative;
}

body.light-theme .popup-card {
    background: #fff;
}
/* Saat popup aktif */
.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.popup-overlay.active .popup-card {
    transform: scale(1);
}

/* Gambar atas */
.popup-header {
    width: 100%;
    height: 190px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Tombol Close */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.171);
    color: #fff;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.popup-close:hover {
    background: rgba(255, 0, 0, 0.26);
}

.inner-card {
    background: #374151;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    width: 95%;
    position: relative;
    z-index: 2;
    min-height: 320px; /* Tetapkan tinggi */
    
    /* Masuk ke dalam gambar header */
    margin: -25px auto 0 auto; /* Geser ke atas */
    
    /* Jarak 5px dari tombol */
    margin-bottom: 5px;
    
    display: flex;
    flex-direction: column;
}

body.light-theme .inner-card {
    background: #ffffff;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}
/* Konten utama */
.popup-content {
    padding: 10px;
    color: #fff;
    flex-grow: 1;
}

/* Judul */
.popup-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: left;
}

body.light-theme .popup-title {
color: #000;
}

/* Buat Tag & Harga sejajar dalam satu baris */
.popup-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Agar harga berada di kanan */
    width: 100%;
}

/* Tag */
.popup-tag {
    display: inline-block;
    font-size: 0.7em;
    font-weight: normal;
    color: #0077ff;
    background: #002d61;
    padding: 5px 12px;
    border-radius: 20px;
    text-align: center;
}

body.light-theme .popup-tag {
    background: #ebebeb;
    color: #0077ff;
}

/* "Mulai dari" tanpa warna khusus dan tidak bold */
.popup-price-text {
    font-size: 0.9em;
    color: rgb(168, 168, 168); /* Menggunakan warna default */
    font-weight: normal; /* Tidak bold */
    margin-left: auto; /* Agar mepet ke kanan sebelum harga */
    margin-right: 5px;
}

body.light-theme .popup-price-text {
    color: rgb(168, 168, 168);
}
/* Harga di kanan */
.popup-price {
    font-size: 0.9em;
    color: #0077ff;
    font-weight: bold;
}

/* Garis Pembatas */
.popup-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    width: 100%; /* Supaya tidak menyentuh pinggir inner-card */
    margin: 10px auto; /* Tengah otomatis */
}

body.light-theme .popup-divider {
    background: rgba(202, 202, 202, 0.596);
}

/* Subjudul */
.popup-subtitle {
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
    color: white;
    text-align: left;
}

/* Deskripsi (scrollable) */
.popup-description {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 10px;
    margin-top: 5px;
    text-align: left;
}

.popup-description p {
    margin: 5px 0; /* Atur margin atas dan bawah agar tidak terlalu besar */
    line-height: 1.4; /* Sesuaikan tinggi baris agar lebih rapat */
    word-wrap: break-word;
}

/* Custom Scrollbar */
.popup-description::-webkit-scrollbar {
    width: 5px;
}

.popup-description::-webkit-scrollbar-thumb {
    background: #0077ff;
    border-radius: 5px;
}

.popup-description::-webkit-scrollbar-track {
    background: rgb(59, 59, 59);
    border-radius: 5px;
}

/* Atur posisi tombol agar menyesuaikan lebar inner-card */
.popup-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 2.5%; /* Sesuaikan lebar dengan inner-card */
    margin-bottom: 10px; /* Jarak 10px dari inner-card */
}

/* Tombol agar lebih rapi */
.popup-buttons button {
    flex: 1; /* Supaya ukuran tombol seimbang */
    padding: 15px 15px;
    border: none;
    font-size: 1em;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s;
}

.popup-buttons .back-btn {
    background: #374151;
    color: white;
}

.popup-buttons .back-btn:hover {
    background: #666;
}

body.light-theme .popup-buttons .back-btn {
    background: #e5e7eb;
    color: #000;
}

body.light-theme .popup-buttons .back-btn:hover {
    background: #d1d5db;
}

.popup-buttons .order-btn {
    background: linear-gradient(to right, #256dd8, #503f9b);
    color: white;
}

.popup-buttons .order-btn:hover {
    background: linear-gradient(to right, #2274f0, #6753c2);
}

.tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 15px; /* Jarak dari sisi kiri & kanan */
}


.tag {
    background: #002d61;
    color: #0077ff;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 0.8em;
}

body.light-theme .tag {
    background: #ebebeb;
}

.tags .popup-price,
.tags .popup-price-text,
.tags .popup-tag {
    display: none;
}
.buy-btn {
    background: linear-gradient(to right, #256dd8, #503f9b);
    color: white;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.85em;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap; /* Supaya tulisan tidak turun */
    margin: 10px 15px; /* Jarak dari sisi kiri & kanan */
}


.buy-btn:hover {
    background: linear-gradient(to right, #2274f0, #6753c2);
    box-shadow: 0 5px 10px #2274f0b6;
}

@media (max-width: 768px) {
    .product-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Lebih kecil untuk mobile */
        gap: 10px;
    }

    .product-card {
        width: 100%;
    }

    .product-info h3 {
        font-size: 1em; /* Ukuran teks lebih kecil */
    }

    .product-info p {
        font-size: 0.85em;
    }

    .buy-btn {
        padding: 10px; /* Sedikit lebih kecil */
        font-size: 0.8em;
    }
}

.package-popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Mencegah interaksi saat tersembunyi */
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

.package-popup {
    background: linear-gradient(135deg, #374151, #2a2a3d);
    padding-top: 10px;
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 12px;
    width: 450px;
    color: white;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
    max-height: 600px; /* Sesuaikan tinggi maksimum */
    overflow-y: auto;
}

body.light-theme .package-popup {
    background: #ffffff;
}

.package-popup::-webkit-scrollbar {
    width: 6px;
}

.package-popup::-webkit-scrollbar-track {
    background: #444444;
    border-radius: 50px;
}

.package-popup::-webkit-scrollbar-thumb {
    background: #5a5a5ac2;
    border-radius: 50px;
}

body.light-theme .package-popup::-webkit-scrollbar-track {
    background: white;
}

body.light-theme .package-popup::-webkit-scrollbar-thumb {
    background: #8b8b8b;
}

/* Tambahkan kelas ini untuk menampilkan popup */
.package-show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
}

.package-show .package-popup {
    transform: scale(1);
    opacity: 1;
}

.package-close-btn {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(0, 0, 0, 0.171);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.package-close-btn:hover {
    background: rgba(255, 0, 0, 0.26);
}
.package-product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Pastikan elemen sejajar ke kiri */
}

.package-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%; /* Pastikan mengambil lebar penuh */
}

.package-header .package-title {
    font-size: 18px; /* Ubah ukuran font */
    color: #ffffff; /* Ubah warna font */
    font-weight: bold; /* Buat teks lebih tebal */
    position: relative; /* Izinkan pengaturan posisi */
    top: -10px; /* Naikkan atau turunkan title */
    text-align: left;
}

body.light-theme .package-header .package-title {
    color: #000;
}

.package-product-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    position: relative;
    top: 20px;
    border: 2px solid #333;
}

.package-badge {
    background: #002d61;
    color: #0077ff;
    font-size: 0.7em;
    font-weight: normal;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    
}

body.light-theme .package-badge {
    background: #ebebeb;
    color: #0077ff;
}

.package-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.package-option {
    background: transparent;
    padding: 15px;
    border-radius: 14px;
    border: 2px solid #4b5563;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.082);
    display: flex;
    flex-direction: row;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
}

body.light-theme .package-option {
    border: 2px solid #e5e7eb;
}

.package-option div {
    display: flex;
    flex-direction: column; /* Susun teks ke atas-bawah */
    align-items: flex-start; /* Rata kiri */
    text-align: left; /* Pastikan teks rata kiri */
    gap: 0px; /* Hapus jarak antar elemen */
}

.package-option:hover {
    transform: scale(1.03);
    border: 2px solid #0077ff;
}

body.light-theme .package-option:hover {
    border: 2px solid #0077ff;
}

.package-popular {
    border: 2px solid #0077ff; /* Warna highlight untuk paket populer */
    background: transparent;
    padding: 10px;
    border-radius: 8px;
    position: relative;
}

body.light-theme .package-popular {
    border: 2px solid #0077ff;
}

.popular-badge {
    background: #0077ff;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    position: absolute;
    top: -10px;
    left: 10px;
}

.package-duration {
    font-size: 18px;  /* Ukuran font */
    font-weight: bold; /* Membuat teks lebih tebal */
    color: #ffffff; /* Warna teks */
}

body.light-theme .package-duration {
    color: #000;
}

.package-per-day {
    font-size: 14px;
    font-style: normal; /* Membuat teks miring */
    color: #b1b1b1; /* Warna teks lebih soft */
}

.package-duration,
.package-per-day {
    margin: 0;
    padding: 0;
    line-height: 0.3; /* Kurangi tinggi baris */
}

.package-price {
    font-size: 18px;
    font-weight: bold;
    color: #007bff; /* Warna biru untuk harga */
}


.package-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.select-text {
    font-size: 12px;
    color: #b1b1b1;
    font-weight: normal;
    cursor: pointer;
}

.package-content .package-duration-text {
    display: flex;
    font-size: 14px;
    color: #b1b1b1;
    font-weight: bold;
    text-align: start;
    transform: translateY(30px);
}

.package-footer {
    text-align: center;
    margin-top: 12px;
    font-size: 10px;
    color: #bbb;
}

/* Overlay Payment PopUp */
.payment-popup-overlay {
    display: flex; /* Tetap flex tapi tersembunyi dengan opacity */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Ketika popup aktif */
.payment-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
.payment-popup {
    background: linear-gradient(135deg, #374151, #2a2a3d);
    width: 100%;
    max-width: 400px;
    max-height: 500px;
    border-radius: 15px;
    padding: 20px;
    color: white;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    overflow-y: auto;
}

.payment-popup::-webkit-scrollbar {
    display: none;
}

/* Animasi masuk */
.payment-popup-overlay.show .payment-popup {
    transform: scale(1);
    opacity: 1;
}

body.light-theme .payment-popup{
    background: white;
}


/* Tombol Close */
.payment-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    display: none;
}

/* Header */
.payment-header {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

body.light-theme .payment-header {
    border-bottom: 1px solid rgba(82, 82, 82, 0.2);
}

.payment-header img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-right: 10px;
    object-fit: cover;
}

.pay-product-info {
    text-align: start;
}
.pay-product-info h3 {
    font-size: 18px;
    margin: 0;
    transform: translateY(5px);
}

.pay-product-info p {
    font-size: 14px;
    margin: 5px 0;
    transform: translateY(1px);
}

body.light-theme .pay-product-info p {
    color: #4c6064;
}

/* Body: Form */
.payment-body {
    margin-top: 15px;
    text-align: start;
}

.payment-body label {
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

body.light-theme .payment-body label {
    color: #000;
}

.payment-body input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: 1px solid #e8e4ec48;
}

body.light-theme .payment-body input {
    border: 1px solid #e8e4ec;
    color: black;
    outline: 1px solid #e8e4ec;
}

.payment-body input::placeholder {
    color: rgba(255, 255, 255, 0.836);
}

body.light-theme .payment-body input::placeholder {
    color: rgba(82, 82, 82, 0.6);
}

.payment-body p {
    font-size: 10.5px;
}

body.light-theme .payment-body p {
    color: #4c6064;
}

/* Metode Pembayaran */
.payment-method {
    margin-top: 15px;
    text-align: start;
}

body.light-theme .payment-method {
    color: #000;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.wallet {
    background: rgba(255, 255, 255, 0.164);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}

.wallet.selected {
    background: rgba(255, 255, 255, 0.37);
}

.wallet:hover {
    outline: 1px solid rgba(255, 255, 255, 0.37);
}

.wallet.selected {
    outline: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .wallet {
    background: rgba(41, 41, 41, 0.164);
}

body.light-theme .wallet.selected {
    background: rgba(41, 41, 41, 0.37);
}

body.light-theme .wallet:hover {
    outline: 1px solid rgba(41, 41, 41, 0.37);
}

body.light-theme .wallet.selected {
    outline: 1px solid rgba(41, 41, 41, 0.37);
}

.wallet img {
    width: 80px;
    height: auto;
    margin-bottom: 0px;
}

/* Footer */
.payment-footer {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.back-button,
.checkout-btn {
    margin-top: 30px;
    margin-bottom: 10px;
    width: 48%;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.back-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

body.light-theme .back-button {
    background: rgba(41, 41, 41, 0.164);
    color: #000;
}

.checkout-btn {
    background: #ffcc00;
    color: #2a0845;
    font-weight: bold;
}

.custom-alert {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: bottom 0.4s ease, opacity 0.4s ease;
}

.custom-alert.show {
    bottom: 20px;
    opacity: 1;
}

.custom-alert.error {
    background-color: #ff4d4d;
    color: white;
}

.custom-alert.success {
    background-color: #4CAF50;
    color: white;
}

/* POPUP TRANSAKSI */
.transaction-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 4000;
}

.transaction-popup-content {
    background: #1b1d2a;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-height: 630px;
    overflow-y: auto;
}

.transaction-popup-content::-webkit-scrollbar {
    width: 6px;
}

.transaction-popup-content::-webkit-scrollbar-track {
    background: #444444;
    border-radius: 50px;
}

.transaction-popup-content::-webkit-scrollbar-thumb {
    background: #5a5a5ac2;
    border-radius: 50px;
}

body.light-theme .transaction-popup-content::-webkit-scrollbar-track {
    background: white;
}

body.light-theme .transaction-popup-content::-webkit-scrollbar-thumb {
    background: #8b8b8b;
}

body.light-theme .transaction-popup-content {
    background: white;
}

.transaction-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 15px;
}

.transaction-popup-header .header-left {
    display: flex;
    align-items: center;
    gap: 8px; /* Jarak antara ikon dan teks */
}

.transaction-popup-header .header-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.transaction-popup-header h3 {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.transaction-popup-header h4 {
    font-size: 9px;
    font-weight: normal;
    color: #b1b1b1;
}

body.light-theme .transaction-popup-header h4 {
    color: #4c6064;
}

.transaction-popup-header i {
    color: #4ade80; /* Warna ikon centang */
    background: none; /* Warna hijau latar */
    border: 12px solid #1c3634; /* Border lebih proporsional */
    border-radius: 50%;
    width: 32px; /* Ukuran ikon lebih besar */
    height: 32px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; /* Menyesuaikan ukuran dengan border */
}

body.light-theme .transaction-popup-header i {
    border: 12px solid #dcfce7;
}

.transaction-popup-close {
    position: absolute;
    top: -10px; right: -10px;
    background: rgba(0, 0, 0, 0.171);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.transaction-popup-close:hover {
    background: rgba(255, 0, 0, 0.26);
}

.transaction-popup-product {
    position: relative; /* Jadi parent untuk positioning absolute */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #1b1d2a;
    padding: 50px 15px 15px; /* Tambahkan padding atas untuk memberi ruang ke gambar */
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

body.light-theme .transaction-popup-product {
    border: 1px solid rgba(82, 82, 82, 0.2);
    background: white;
}

.transaction-popup-product img {
    position: absolute; /* Letakkan di posisi absolut terhadap parent */
    top: 10px; /* Jarak dari atas */
    left: 10px; /* Jarak dari kiri */
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.transaction-popup-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1; /* Agar teks tetap dalam satu container */
    gap: 5px;
    
}

.transaction-popup-info h4 {
    position: absolute;
    top: 10px;
    margin-left: 55px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-align: left;
    margin-bottom: 2px; /* Beri sedikit jarak dengan package duration */
}

body.light-theme .transaction-popup-info h4 {
    color: #000;
}

.transaction-package-duration {
    position: absolute;
    font-size: 12px;
    font-weight: normal;
    top: 40px;
    left: 70px;
    color: #b1b1b1;
}

body.light-theme .transaction-package-duration {
    color: #4c6064;
}

.transaction-popup-info p {
    font-size: 12px;
    color: #ffffff;
    margin: 0;
}

body.light-theme .transaction-popup-info p {
    color: #000;
}

.transaction-price-details {
    background: none;
    border: none;
    padding: 10px 0;
    width: 100%;
    margin-top: 15px;
    font-size: 13px;
    color: white;
}

body.light-theme .transaction-price-details {
    color: #4c6064;
}

.subtotal,
.biaya-layanan,
.diskon {
    color: #b1b1b1;
}

body.light-theme .subtotal,
body.light-theme .biaya-layanan,
body.light-theme .diskon {
    color: #4c6064;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
}

.price-row.total {
    font-weight: bold;
    color: #ffffff;
}

body.light-theme .price-row.total {
    color: #000;
}

.price-row.discount span:last-child {
    color: #22c55e;
}

hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

body.light-theme hr {
    border-top: 1px solid rgba(82, 82, 82, 0.2);
}

.transaction-payment {
    background: none;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Pusatkan gambar dan tombol */
    text-align: center;
}

.transaction-payment h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

body.light-theme .transaction-payment h4 {
    color: black;
}

.transaction-payment img {
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
}

.transaction-download-qr {
    background: #1d4ed8;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 10px;
}

.transaction-payment .transaction-payment-logo {
    width: 80px; /* Sesuaikan ukuran gambar */
    height: auto;
    margin-bottom: 10px; /* Beri jarak bawah */
}

.transaction-payment .no-rekening-container {
    display: flex;
    gap: 7px;
    width: 100%;
    max-width: 250px; /* Atur agar tidak melebar */
}

.transaction-payment .no-rekening {
    font-weight: bold;
    color: #687577;
}

.transaction-payment .transaction-payment-number {
    color: #4c6064;
}

.transaction-payment .warning {
    color: #67aeffbb;
    font-size: 12px;
    border-radius: 8px;
    border: 1px solid #175397;
    background: #81bcff41;
    padding: 10px 5px 10px;
}

body.light-theme .transaction-payment .warning {
    border: 1px solid #67aeff5b;
    color: #175397;
}

.transaction-popup-footer {
    display: flex;
    justify-content: space-between;
    margin-top: -40px;
    gap: 10px;
}

.transaction-cancel {
    background: red;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    flex: 1;
}

.transaction-whatsapp {
    background: #22c55e;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    flex: 1;
}

.hidden {
    display: none;
}

.fa-whatsapp {
    color: white;
}

.fa-download {
    color: white;
}

.fa-xmark {
    color: white;
}