/* MCQ Grid Layout */
.mcq-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Mobile: 1 col */
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .mcq-grid {
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 cols */
  }
}

/* MCQ Card */
.mcq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mcq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* Card Content */
.mcq-meta {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mcq-title {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  flex-grow: 1; /* Pushes footer down */
}

.mcq-title a { text-decoration: none; color: inherit; }

.mcq-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
}

/* Card Footer */
.mcq-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.q-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-start {
  background: #0f172a;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-start:hover { background: #ea580c; color: white; }

/* Sidebar Range Slider Customization */
.range-slider-container {
  padding: 0.5rem 0;
}
input[type=range] {
  width: 100%;
  accent-color: #0f172a;
  cursor: pointer;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 5px;
}
.current-range-val {
  font-weight: 700;
  color: #0f172a;
}