/* Base ordered list styling */
ol {
    counter-reset: item; /* Initialize the list counter */
    padding-left: 20px; /* Optional: Indent list items for better readability */
}

ol li {
    display: block;
    margin-bottom: 5px; /* Optional: Add spacing between list items */
}

/* Style for numbered list items */
ol li:before {
    content: counters(item, ".") ". "; /* Generate hierarchical numbers like 1.1, 2.1 */
    counter-increment: item; /* Increment the counter */
}

/* Reset the counter for each nested list, but only for direct child ols */
ol > li > ol {
    counter-reset: item; /* Reset counter for each direct child nested list */
}

/* Styling for the loading spinner */
.loading-spinner {
    display: none; /* Hidden initially */
    font-size: 12px;
    color: #007bff;
    margin-top: 10px;
}

.format-switch-container .file-upload-container {
    display: flex;
    align-items: center;
    gap: 5px;
}