/* MCQ Card Styles - scoped to .mcq-card */

.mcq-card {
  background: #ffffff !important; /* removed pastel blue */
  padding: 20px;
  margin: 20px 0;
  border-radius: 12px; /* smooth corners */
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.mcq-card h1.question {
  font-size: 20px;
  margin-top: 10px; /* added spacing above question */
  margin-bottom: 15px;
  font-weight: bold;
}

.mcq-card .option {
  background: #ffffff;
  border: 1.5px solid #ccc; /* light border around each option */
  padding: 12px;
  margin: 8px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  position: relative;
}

/* Optional hover effect to make it more interactive */
.mcq-card .option:hover {
  border-color: #1e88e5; /* soft blue highlight */
  background: #f9f9f9;
}

.mcq-card .option.correct {
  border-color: #2e7d32;
  background: #e8f5e9;
}
.mcq-card .option.correct::after {
  content: "✓";
  position: absolute;
  right: 15px;
  color: #2e7d32;
  font-weight: bold;
}

.mcq-card .option.wrong {
  border-color: #b71c1c;
  background: #ffebee;
}
.mcq-card .option.wrong::after {
  content: "✗";
  position: absolute;
  right: 15px;
  color: #b71c1c;
  font-weight: bold;
}

.mcq-card .explain-btn {
  margin-top: 0;
  padding: 8px 12px;
  border: none !important;
  background: #1e88e5 !important;
  color: #ffffff !important;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: none !important;
}
.mcq-card .explain-btn:hover {
  opacity: 0.95;
}

.mcq-card .explanation {
  display: none;
  margin-top: 10px;
  padding: 12px;
  background: #ffffff;
  border-left: 4px solid #64b5f6;
  border-radius: 4px;
}

/* Heading & shortcode wrappers */
.mcq-heading-wrapper { margin-top: 12px; }
.mcq-heading { font-size: 18px; margin: 8px 0; }
.mcq-shortcode-wrapper { margin-bottom: 20px; }

/* Visit button - same visual style as explain button */
.mcq-card .visit-btn, .mcq-card-shortcode .visit-btn {
  background: #1e88e5 !important;
  color: #ffffff !important;
  padding: 8px 12px;
  border-radius: 6px;
  border: none !important;
  cursor: pointer;
}
.mcq-card .visit-btn:hover, .mcq-card-shortcode .visit-btn:hover {
  opacity: 0.95;
}
/* ============================= */
/* Author + Read More text style */
/* ============================= */

.mcq-card .submitted-by {
  margin: 10px 0;
  font-size: 14px;
  color: #555;
  font-weight: bold;
}

.mcq-card .author-name {
  color:#006400;
  font-weight: bold;
}

.mcq-card .read-more {
  color: #0b8043; /* dark green */
  font-weight: bold;
  cursor: pointer;
}
.mcq-card .read-more:hover {
  text-decoration: underline;
}
/* ============================= */
/* Category Pill (slim, half inside half outside card border) */
/* ============================= */

.mcq-card {
  position: relative; /* enables absolute pill placement */
}

.mcq-category-pill {
  position: absolute;
  top: -10px; /* half outside border */
  left: 20px;
  background-color: #0b8043; /* same dark green as Read More */
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px 3px 9px; /* slimmer height */
  border-radius: 999px; /* perfect capsule shape */
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  border: 1px solid #ffffff; /* crisp edge */
  transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover effect – same tone, slightly lighter */
.mcq-category-pill:hover {
  background-color: #0d944e;
  transform: scale(1.02);
}

/* Prevent click flicker or layout shift */
.mcq-category-pill:active {
  transform: scale(1.02);
  background-color: #0b8043;
}