/* styles2.css */

/* ================= */
/* Card Statistik */
/* ================= */
.wl-plugin-card {
    width: 300px; /* Atur lebar card sesuai kebutuhan */
    margin: 20px auto; /* Center card with margin auto */
    border: 2px solid rgba(0,0,0,.125);
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

.wl-plugin-card-header {
    background-color: #E9C46A;
    color: #fff;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}

.wl-plugin-card-body {
    padding: 20px;
}

.wl-plugin-card-title {
    font-size: 50px;
    margin-bottom: 20px;
    text-align: center;
}

/* ================= */
/* Tabel Statistik */
/* ================= */


/* ================= */
/* Table Styles */
/* ================= */
.wl-plugin-table-container {
    display: flex;
    gap: 20px;
}

.wl-plugin-table-container > div {
    flex: 1;
}

.wl-plugin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.wl-plugin-table th, .wl-plugin-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.wl-plugin-table th {
    background-color: #d27431;
    color: #fff;
}

.wl-plugin-table td {
    background-color: #f8f9fa;
}
/* ================= */
/* Pagination */
/* ================= */
.wl-plugin-pagination {
    margin-top: 20px;
    text-align: center;
}

.wl-plugin-pagination .wl-plugin-page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #007bff;
    border-radius: 4px;
    color: #007bff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.wl-plugin-pagination .wl-plugin-page-numbers.current {
    background-color: #007bff;
    color: #fff;
}

.wl-plugin-pagination .wl-plugin-page-numbers:hover {
    background-color: #f0f0f0;
}

/* ================= */
/* Responsif */
/* ================= */
@media (max-width: 768px) {
    .wl-plugin-table-container {
        flex-direction: column;
    }
}


/* styles2.css */
.custom-chart {
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.wrap h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
}

.chart-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.col-6 {
    width: 48%;
    position: relative;
}

.col-6 canvas {
    width: 100% !important;
    height: auto !important;
}