/* =====================================
BASE CONTAINER
===================================== */

.mcq-container{
max-width:900px;
margin:auto;
padding:20px;
font-family:'Quicksand',sans-serif;
}

/* =====================================
CONTEXT HEADER
===================================== */

.mcq-context{
font-size:15px;
margin-bottom:18px;
color:#444;
font-weight:600;
}

.mcq-context .sep{
margin:0 6px;
color:#999;
}

/* =====================================
QUESTION NAVIGATOR
===================================== */

.mcq-navigator{
display:flex;
flex-wrap:wrap;
gap:8px;
margin-bottom:25px;
}

.nav-item{
width:36px;
height:36px;
display:flex;
align-items:center;
justify-content:center;
border:1px solid #ddd;
border-radius:50%;
text-decoration:none;
font-size:14px;
font-weight:600;
color:#333;
}

.nav-item:hover{
background:#f5f5f5;
}

.nav-item.active{
background:#17a589;
color:#fff;
border-color:#17a589;
}

/* =====================================
QUESTION
===================================== */

.question-header{
display:flex;
gap:12px;
margin-bottom:18px;
}

.question-badge{
background:#ff4d4d;
color:#fff;
padding:6px 12px;
border-radius:8px;
font-weight:700;
}

.question-text{
font-size:20px;
font-weight:800;
line-height:1.5;
}

/* =====================================
OPTIONS
===================================== */

.mcq-option{
border:1px solid #ddd;
border-radius:10px;
padding:14px;
margin-bottom:10px;
transition:background .2s;
}

.mcq-option:hover{
background:#fafafa;
}

.option-text{
display:flex;
gap:8px;
}

/* =====================================
ANSWER BUTTON
===================================== */

.btn-solution{
margin-top:14px;
padding:10px 18px;
background:#17a589;
color:#fff;
border:none;
margin-top:14px;
border-radius:8px;
font-weight:700;
cursor:pointer;
}

/* =====================================
EXPLANATION
===================================== */

.mcq-explanation{
display:none;
margin-top:20px;
padding:18px;
border:1px solid #e5e7eb;
border-radius:10px;
background:#f9fafb;
}

/* =====================================
ADS
===================================== */

.mcq-ad{
margin:30px 0;
text-align:center;
}

/* =====================================
GRID SYSTEM (Streams / Exams / Subjects)
===================================== */

.vq-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
gap:24px;
margin:20px 0;
}

/* =====================================
CARD COMPONENT
===================================== */

.vq-card{
background:#ffffff;
border-radius:12px;
padding:20px;
border:1px solid #e5e7eb;
transition:all .2s ease;
position:relative;
display:flex;
flex-direction:column;
justify-content:center;
min-height:80px;
text-decoration:none;
color:inherit;
}

.vq-card:hover{
border-color:#17a589;
box-shadow:0 6px 16px rgba(0,0,0,0.06);
transform:translateY(-2px);
}

.vq-card-title{
font-size:16px;
font-weight:600;
margin-bottom:6px;
color:#111;
padding-right:30px;
}

.vq-card-meta{
font-size:13px;
color:#6b7280;
}

.vq-card::after{
content:"→";
position:absolute;
right:20px;
top:50%;
transform:translateY(-50%);
font-size:18px;
color:#c7c7c7;
}

/* =====================================
QUESTION LIST VIEW
===================================== */

.vq-question-item{
background:#ffffff;
border:1px solid #e5e7eb;
border-radius:10px;
padding:16px;
transition:border-color .2s;
text-decoration:none;
color:#333;
display:block;
}

.vq-question-item:hover{
border-color:#17a589;
background:#f9fbfc;
}

.vq-qtext{
font-size:15px;
font-weight:600;
line-height:1.5;
}

/* =====================================
PAGINATION
===================================== */

.vq-pagination{
display:flex;
gap:8px;
margin-top:30px;
flex-wrap:wrap;
}

.vq-pagination a,
.vq-pagination span{
padding:8px 14px;
border-radius:8px;
border:1px solid #e5e7eb;
text-decoration:none;
background:#fff;
color:#333;
}

.vq-pagination .current{
background:#17a589;
color:#fff;
border-color:#17a589;
}

/* =====================================
CHAPTER NAVIGATION
===================================== */

.mcq-chapter-navigation{
display:flex;
justify-content:center;
gap:20px;
margin-top:25px;
padding-top:15px;
border-top:1px solid #eee;
}

.mcq-chapter-navigation a{
padding:10px 14px;
border:1px solid #e5e7eb;
border-radius:10px;
text-decoration:none;
font-weight:600;
background:#fff;
}

.mcq-chapter-navigation a:hover{
background:#f8fafc;
}

/* =====================================
CHAPTER GRID
===================================== */

.mcq-chapter-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:18px;
margin-top:20px;
}

.mcq-chapter-card{
display:block;
padding:18px;
border:1px solid #e5e7eb;
border-radius:12px;
background:#ffffff;
text-decoration:none;
transition:all .2s ease;
}

.mcq-chapter-card:hover{
transform:translateY(-3px);
box-shadow:0 6px 16px rgba(0,0,0,0.08);
}

.chapter-name{
font-size:17px;
font-weight:700;
color:#111;
}

.chapter-count{
font-size:13px;
color:#777;
margin-top:6px;
}

/* =====================================
MOBILE
===================================== */

@media (max-width:600px){

.vq-grid{
grid-template-columns:1fr;
gap:16px;
}
}
