/* Question preview in accordion lists */
.question-preview {
    font-size: 0.95rem;
    color: #444;
}

/* Full question content */
.question-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Enumerate list styling by depth (matching step_problems) */
ol.latex-enumerate {
    list-style-type: lower-alpha;
}
ol.latex-enumerate ol.latex-enumerate {
    list-style-type: lower-roman;
}
ol.latex-enumerate ol.latex-enumerate ol.latex-enumerate {
    list-style-type: decimal;
}

/* Question sub-parts */
ol.parts, ol.subparts {
    padding-left: 2em;
    margin: 0.5em 0;
}
ol.parts > li, ol.subparts > li {
    margin-bottom: 0.5em;
}

/* Accordion badge */
.accordion-button .badge {
    font-size: 0.75rem;
}

/* Card hover effect */
.card {
    transition: box-shadow 0.2s;
}
.card:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
}

/* Paper navigation sidebar */
.paper-nav {
    position: sticky;
    top: 1rem;
}

/* Paper browse cards */
.paper-card {
    color: inherit;
}
.paper-card:hover {
    background-color: #f8f9fa;
}

/* LaTeX tables */
table.latex-table {
    border-collapse: collapse;
    margin: 0.5em 0;
}
table.latex-table td {
    border: 1px solid #ccc;
    padding: 0.3em 0.8em;
    text-align: center;
}

/* MathJax overflow */
.MathJax {
    overflow-x: auto;
}
