/* Custom styles for MantisBT */

/* Fix for lists in issue view */
.bug-steps-to-reproduce ul,
.bug-steps-to-reproduce ol,
.bug-description ul,
.bug-description ol,
.bug-additional-information ul,
.bug-additional-information ol {
    margin: 0.5em 0 0.5em 1.5em;
    padding: 0 0 0 1em;
    width: calc(100% - 2.5em);
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Ensure list items wrap properly */
.bug-steps-to-reproduce li,
.bug-description li,
.bug-additional-information li {
    position: relative;
    margin: 0.25em 0;
    padding-left: 1.5em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-indent: -1em;
    list-style: none;
}

/* Style for the marker */
.bug-steps-to-reproduce li::before,
.bug-description li::before,
.bug-additional-information li::before {
    content: "•";
    /* position: absolute; */
    /* left: 0.5em; */
    color: #666;
    padding-right: 1em;
}

/* Make sure the container has proper padding */
.bug-steps-to-reproduce,
.bug-description,
.bug-additional-information {
    padding: 0.75em;
    word-wrap: break-word;
    overflow: hidden;
    box-sizing: border-box;
    padding-left: 1.5em;
}

/* Ensure tables respect their container */
.bug-steps-to-reproduce table,
.bug-description table,
.bug-additional-information table {
    max-width: 100%;
    margin: 0.5em 0;
    border-collapse: collapse;
}

.bug-steps-to-reproduce table td,
.bug-description table td,
.bug-additional-information table td {
    padding: 0.25em 0.5em;
    border: 1px solid #ddd;
}
