/* ============================================================
   11. RUANG UJIAN (CBT) & SOAL (SISWA & GURU)
   ============================================================ */
.cbt-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.cbt-main-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.cbt-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-body);
}

.cbt-question-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 25px;
    font-weight: 500;
}

.cbt-option-label {
    display: flex; 
    align-items: flex-start; 
    gap: 14px; 
    padding: 16px 20px; 
    margin-bottom: 12px; 
    background: #ffffff;
    border: 2px solid var(--border-color); 
    border-radius: var(--radius-md); 
    cursor: pointer; 
    transition: all 0.2s ease; 
    width: 100%; 
    box-sizing: border-box;
}

.cbt-option-label:hover { 
    border-color: #cbd5e1; 
    background: #f8fafc; 
}

.cbt-option-label input[type="radio"], 
.cbt-option-label input[type="checkbox"] { 
    margin: 0; 
    margin-top: 3px; 
    width: 20px; 
    height: 20px; 
    flex-shrink: 0; 
    cursor: pointer; 
    accent-color: var(--primary); 
}

.cbt-option-label div { 
    flex: 1; 
    font-size: 15px; 
    line-height: 1.6; 
    color: #1e293b; 
}

.cbt-option-label:has(input:checked) { 
    border-color: var(--primary); 
    background: var(--primary-light); 
}

.cbt-image-wrapper { 
    text-align: center; 
    margin-bottom: 20px; 
    background: #f8fafc; 
    padding: 15px; 
    border-radius: 12px; 
    border: 1px dashed #cbd5e1; 
}

.cbt-image-wrapper img { 
    max-width: 100%; 
    max-height: 280px; 
    border-radius: 8px; 
    object-fit: contain; 
}

.cbt-sidebar-nav {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.cbt-grid-numbers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.cbt-num-btn {
    width: 100% !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    background: var(--bg-body) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: none !important;
    font-weight: 700 !important;
}

.cbt-num-btn.answered { background: var(--primary) !important; color: white !important; }
.cbt-num-btn.active { border: 2px solid var(--primary) !important; }

/* Timer Badge */
.cbt-timer {
    background: var(--warning-light);
    color: #b45309;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid #fde68a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

