
:root {
    --primary-color: #3498db;
    --zebra-bg: #f9f9f9;
    --hover-table-bg: #f1f8fe;
    --bg-color: #f4f7f6;
    --border-color: #ddd;
}


.main-container { width: 100%; }

/* --- STYLES TAB --- */
.tabs-wrapper { display: flex; flex-wrap: wrap; border-radius: 0px; overflow: hidden; }
.tab-switch { display: none; }
.tab-label { flex: 1; padding: 15px; cursor: pointer; border: 0px solid var(--border-color); display: flex; flex-direction: column; align-items: center; transition: 0.3s; }
.tab-label img { height: 60px; filter: grayscale(100%); opacity: 0.5; transition: 0.3s; }
.tab-label span { margin-top: 5px; font-weight: bold; color: #888; text-transform: uppercase; }
.tab-label:not(:first-of-type) { border-left: none; }
.tab-content { width: 100%; order: 1; padding: 0px; display: none; box-sizing: border-box; border: 0px solid var(--border-color); border-top: none; border-bottom: 1px solid var(--border-color);  }


.tab-switch:hover + .tab-label { border-bottom: 1px solid var(--primary-color); }
.tab-switch:hover + .tab-label img { filter: grayscale(0%); opacity: 1; }

.tab-switch:checked + .tab-label { border-bottom: 4px solid var(--primary-color); }
.tab-switch:checked + .tab-label img { filter: grayscale(0%); opacity: 1; }
.tab-switch:checked + .tab-label span { color: var(--primary-color); }
.tab-switch:checked + .tab-label + .tab-content { display: block; }

/* --- STYLE TABEL HOVER --- */
.table-container { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 15px; }
.table-box { flex: 1; min-width: 280px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 10px; }
table, th, td { border: 1px solid #5e5e5e; }
th { padding: 12px 8px; text-align: center; }
td { padding: 2px 8px; color: #555; transition: 0.2s; }
tbody tr:hover { background-color: var(--hover-table-bg) !important; }
tr:nth-child(even) { background-color: #fafafa; }

tbody tr:nth-child(even) { background-color: var(--zebra-bg); }
tbody tr:nth-child(odd) { background-color: #ffffff; }



/* --- STYLE ACCORDION (DETAILS & SUMMARY) --- */
.accordion { border: 0px solid #eee; border-radius: 0px; margin-top: 15px;}

details { border-bottom: 1px solid #eee; transition: 0.3s; }
details:last-child { border-bottom: none; }

/* Menghilangkan panah bawaan browser */
summary { 
    display: flex; align-items: center; padding: 15px 20px; cursor: pointer; 
    list-style: none; font-weight: 500; transition: 0.3s; background: #f3f3f3;
    border-top: 1px solid var(--border-color);
}
summary::-webkit-details-marker { display: none; }
summary:hover { background: #fdfdfd; }

.acc-title-icon { height: 75px; margin-right: 50px;}
.acc-text { flex-grow: 1; }

/* Ikon Plus/Minus Kustom */
.acc-status-icon { width: 16px; height: 16px; position: relative; }
.acc-status-icon::before, .acc-status-icon::after { 
    content: ""; position: absolute; background-color: #999; transition: 0.3s; 
}
.acc-status-icon::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.acc-status-icon::after { width: 2px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }

/* Style saat Terbuka (Attribute [open]) */
details[open] summary { background: #e2e5e8; color: var(--primary-color); }
details[open] .acc-status-icon { transform: rotate(180deg); }
details[open] .acc-status-icon::after { opacity: 0; }
details[open] .acc-status-icon::before { background-color: var(--primary-color); }

.acc-inner-content { padding: 0px 0px; color: #666; line-height: 1.6; border-top: 1px solid #f0f0f0; }

.accordion-title {display: table-cell; vertical-align: middle;}
                           



