/* List Fixes - This file should be loaded LAST to ensure ordered lists always show numbers */

/* Reset padding from universal selector for lists */
ol, ul {
    padding-left: initial;
}

/* Ensure ALL ordered lists show numbers, regardless of style */
ol,
.document-content ol,
.formal-style ol,
.gartner-style ol,
.mckinsey-style ol,
.executive-style ol,
.study-style ol,
.notion-light ol,
.notion-dark ol,
.github-light ol,
.github-dark ol,
.dracula-style ol {
    list-style-type: decimal !important;
    list-style: decimal !important;
    list-style-position: outside !important;
    padding-left: 2.5rem !important;
}

/* Ensure ordered list items display properly */
ol li,
.document-content ol li,
.formal-style ol li,
.gartner-style ol li,
.mckinsey-style ol li,
.executive-style ol li,
.study-style ol li,
.notion-light ol li,
.notion-dark ol li,
.github-light ol li,
.github-dark ol li,
.dracula-style ol li {
    display: list-item !important;
    list-style-type: decimal !important;
    list-style: decimal !important;
}

/* Remove any ::before pseudo-elements that might interfere with ordered lists */
ol > li::before,
.document-content ol > li::before,
.formal-style ol > li::before,
.gartner-style ol > li::before,
.mckinsey-style ol > li::before,
.executive-style ol > li::before,
.study-style ol > li::before,
.notion-light ol > li::before,
.notion-dark ol > li::before,
.github-light ol > li::before,
.github-dark ol > li::before,
.dracula-style ol > li::before {
    content: none !important;
    display: none !important;
}

/* Nested ordered lists */
ol ol {
    list-style-type: lower-alpha !important;
}

ol ol ol {
    list-style-type: lower-roman !important;
}

/* Ensure list item markers are visible and properly styled */
ol li::marker {
    font-weight: 600;
    color: inherit;
}

/* Debug: Force visibility of list markers */
ol {
    margin-left: 0 !important;
}

ol li {
    margin-left: 0 !important;
    padding-left: 0.5rem !important;
    text-indent: 0 !important;
}