* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    padding: 15px;
    position: relative;
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay untuk membuat konten lebih mudah dibaca */
.bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.6); /* Lebih transparan */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow-x: auto;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
    min-height: 300px;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    background-color: transparent;
    border-radius: 8px;
    padding: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
    min-width: 800px;
    background-color: transparent;
}

th, td {
    border: 1px solid rgba(221, 221, 221, 0.3); /* Border transparan */
    padding: 8px;
    text-align: center;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.2); /* Background sel transparan */
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

th {
    background-color: rgba(242, 242, 242, 0.4);
    position: sticky;
    top: 0;
    z-index: 1;
    color: #000; /* Memastikan teks header tetap terbaca */
    font-weight: bold;
    backdrop-filter: blur(8px);
}

/* Hover effect pada sel tabel */
td:hover {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

/* Custom Scrollbar */
.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0.3);
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(136, 136, 136, 0.5);
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(85, 85, 85, 0.7);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 10px;
    }

    .chart-container {
        height: 300px;
    }

    th, td {
        padding: 6px;
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .chart-container {
        height: 250px;
    }

    th, td {
        padding: 4px;
        font-size: 11px;
    }
}