body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background-color: #f4f4f9; 
    margin: 0; 
    padding: 0; 
}
.container { 
    max-width: 800px; 
    margin: 50px auto; 
    background: #fff; 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
}
h1, h2 { 
    text-align: center; 
    color: #333; 
}
.btn { 
    display: inline-block; 
    background: #007bff; 
    color: #fff; 
    padding: 10px 20px; 
    text-decoration: none; 
    border-radius: 5px; 
    border: none; 
    cursor: pointer; 
}
.btn:hover { 
    background: #0056b3; 
}
.btn-danger { 
    background: #dc3545; 
}
.disclaimer { 
    background: #fff3cd; 
    color: #856404; 
    padding: 15px; 
    border-radius: 5px; 
    border: 1px solid #ffeeba; 
    margin-bottom: 20px; 
}
.question-item { 
    margin-bottom: 30px; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 20px; 
}
.question-item img { 
    max-width: 300px; 
    display: block; 
    margin: 10px auto; 
    border-radius: 5px; 
}
.options label { 
    display: block; 
    margin: 5px 0; 
    cursor: pointer; 
}
table { width: 100%; 
    border-collapse: collapse; 
    margin-top: 20px; 
}
th, td { 
    border: 1px solid #ddd; 
    padding: 8px; 
    text-align: left; 
}
th { 
    background-color: #f2f2f2; 
}
input[type="text"], input[type="number"], textarea { width: 100%; padding: 8px; margin: 5px 0; box-sizing: border-box; }

/* --- untuk Accordion --- */
/* Container utama item soal */
.accordion-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Bagian Header (Tombol Klik) */
.accordion-header {
    background-color: #f8f9fa;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent;
}

.accordion-header:hover {
    background-color: #e2e6ea;
}

/* Menambahkan ikon panah simpel dengan CSS */
.accordion-header::after {
    content: '+'; /* Simbol plus saat tertutup */
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
}

/* Bagian Body (Pertanyaan & Jawaban) - Default Hidden */
.accordion-body {
    display: none; /* Disembunyikan */
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

/* Gambar dalam soal */
.accordion-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid #ddd;
}

/* --- State Aktif (Ketika dibuka) --- */
.accordion-item.active {
    border-color: #007bff; /* Highlight border biru saat aktif */
}

.accordion-item.active .accordion-header {
    background-color: #007bff;
    color: white;
}

.accordion-item.active .accordion-header::after {
    content: '-'; /* Berubah jadi minus */
    color: white;
}

.accordion-item.active .accordion-body {
    display: block; /* Tampilan isi */
}

/* Pilihan Jawaban  */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.radio-group label {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
}

.radio-group label:hover {
    background-color: #f1f1f1;
}

.radio-group input {
    margin-right: 10px;
}

/* --- Dashboard Admin Style --- */
/* --- Dashboard Admin: Header & Widgets (Bagian Atas) --- */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.dashboard-widgets {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.widget {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 5px solid #007bff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.widget:hover {
    transform: translateY(-5px);
}

.widget.green { border-left-color: #28a745; }
.widget.orange { border-left-color: #fd7e14; }

.widget-info h3 {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
    text-transform: uppercase;
}

.widget-info p {
    margin: 5px 0 0;
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.widget-icon {
    font-size: 35px;
    color: #ddd;
}

/* FOOTER STYLE */
.main-footer {
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    color: #888;
    font-size: 13px;
}
.main-footer strong {
    color: #555;
}

img {
    max-width: 100%;
    height: auto;
}