/* Wrapper */
#pillar-container {
    width: 100%;
    margin: auto;
    font-family: Arial, sans-serif;
}

/* Card Style */
.pillar-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

/* ===================== */
/* PILLAR */
/* ===================== */

.pillar-header {
    display: flex;
    align-items: center;
    padding: 14px;
    font-weight: 600;
    background: #f9fafb;
    font-size: 16px;
}

.pillar-header:hover {
    background: #e5e7eb;
}

.pillar-header.active {
    background: #e0f2fe;
}

/* Dashicon same style */
.toggle-icon {
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
}

/* Rotate for ALL levels */
.pillar-header.active .toggle-icon,
.chapter-row.active .toggle-icon,
.assessment-row.active .toggle-icon {
    transform: rotate(90deg);
}

/* ===================== */
/* CONTAINERS */
/* ===================== */

.chapter-container {
    display: none;
    padding: 10px;
}

.assessment-container {
    padding: 10px;
}

/* ===================== */
/* CHAPTER ROW */
/* ===================== */

.chapter-row {
    display: flex;
    align-items: center;
    padding: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-top: 8px;
    background: #fff;
    transition: 0.3s;
    font-size:16px;
}

/* Hover */
.chapter-row:hover {
    background: #f9fafb;
}

/* Active */
.chapter-row.active {
    background: #e0f2fe;
}

/* ===================== */
/* ASSESSMENT ROW */
/* ===================== */

.content-row {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-top: 6px;
    background: #f9fafb;
    border-radius: 5px;
    transition: 0.3s;
    font-size:16px;
}

.content-row.active {
    background: #dbeafe;
}


/* ===================== */
/* ANSWER ROW */
/* ===================== */

.content-quiz-row {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-top: 5px;
    background: #eef2ff;
    border-radius: 5px;
    font-size:16px;
}


.content-quiz-row.active {
    background: #dbeafe;
}

.quiz-question-row {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-top: 5px;
    background: #eef2ff;
    border-radius: 5px;
    font-size:16px;
}


.quiz-question-row.active {
    background: #dbeafe;
}

.question-answer-row {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-top: 5px;
    background: #eef2ff;
    border-radius: 5px;
    font-size:16px;
}


.question-answer-row.active {
    background: #dbeafe;
}

/* ===================== */
/* COLUMNS */
/* ===================== */

.col {
    flex: 1;
}

.col-1 {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.col-2 {
    color: #6b7280;
}

.col-3 {
    text-align: right;
}

/* ===================== */
/* ICON (MAIN CONTROL) */
/* ===================== */

.toggle-icon {
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
}

/* Rotate when active */
.chapter-row.active .toggle-icon,
.assessment-row.active .toggle-icon,
.content-quiz-row.active .toggle-icon,
.quiz-question-row.active .toggle-icon,
.question-answer-row.active .toggle-icon{
    transform: rotate(90deg);
}

/* IMPORTANT: prevent row click confusion */
.chapter-row,
.assessment-row {
    cursor: default;
}

/* ===================== */
/* WRAPPERS */
/* ===================== */

.content-wrapper {
    display: none;
    padding-left: 20px;
}

.content-quiz-wrapper {
    display: none;
    padding-left: 30px;
}

.quiz-questions-wrapper{
  display:none;
  padding-left: 30px;
}

.question-answer-wrapper{
  display:none;
  padding-left: 30px;
}

/* ===================== */
/* BUTTON */
/* ===================== */

.start-btn {
    padding: 6px 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.start-btn:hover {
    background: #005177;
}

/* ===================== */
/* LOADER */
/* ===================== */

.loader {
    padding: 10px;
    text-align: center;
    color: #555;
}
.total,.correct,.wrong{
	background: #369e2e; 
	color: #fff;
	font-size:12px;	
}
.score{
	background: #369e2e; 
	color: #fff;
	font-size:12px;
}