/* patterns/styles/components.css */
/* Pattern-level styling for math displays, inline expressions, and MCQ previews */
/* force redeploy */
/* ---------------------------------------------
   INLINE MATH DISPLAY
--------------------------------------------- */
.pattern-inline {
  display: inline-block;
  padding: 2px 6px;
  background: #f3f4f7;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
}

/* ---------------------------------------------
   EXPRESSION BLOCKS
--------------------------------------------- */
.pattern-expression {
  padding: 8px 12px;
  background: #fafbfc;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* ---------------------------------------------
   PATTERN PREVIEW BOXES
--------------------------------------------- */
.pattern-preview {
  padding: 12px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e3e3e8;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-bottom: 16px;
}

/* ---------------------------------------------
   CHOICE LISTS (used in pattern previews)
--------------------------------------------- */
.pattern-choices {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
}

.pattern-choices li {
  padding: 6px 10px;
  margin-bottom: 6px;
  background: #f3f4f7;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* ---------------------------------------------
   STEP LISTS
--------------------------------------------- */
.pattern-steps {
  margin-top: 10px;
  background: #f9fafc;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.pattern-steps ul {
  padding-left: 18px;
}

.pattern-steps li {
  margin-bottom: 4px;
}

/* ---------------------------------------------
   RESPONSIVE
--------------------------------------------- */
@media (max-width: 900px) {
  .pattern-preview {
    padding: 10px;
  }
}