.ql-editor {
    height: 150px;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    color: #5e6278!important;
    background-color: #f5f8fa!important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0.475rem;
    border-bottom-right-radius: 0.475rem;
}

.ql-editor ol li {
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.text-quill ol li {
    font-size: 1rem !important;
    padding: 10px 0px !important;
    color: #78829D!important;
    background-color: var(--bs-list-group-bg) !important;
}

.text-quill ol li:not(:last-child):not(:only-child) {
    border-bottom: 1px dashed #78829D !important;
}

/* Read-only rich text (confirmación transportista, modales públicos) */
.text-quill.ql-editor {
    height: auto;
    min-height: 0;
    padding: 0;
    background-color: transparent !important;
    border: none;
    font-weight: inherit !important;
    color: inherit !important;
}

.text-quill.ql-editor p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.text-quill.ql-editor p:last-child {
    margin-bottom: 0;
}

.text-quill.ql-editor strong,
.text-quill.ql-editor b {
    font-weight: 700 !important;
}

.text-quill.ql-editor em,
.text-quill.ql-editor i {
    font-style: italic;
}

.text-quill.ql-editor u {
    text-decoration: underline;
}

.text-quill.ql-editor ol,
.text-quill.ql-editor ul {
    margin-bottom: 0.75rem;
    padding-left: 0;
}

.text-quill.ql-editor ol li,
.text-quill.ql-editor ul li {
    font-size: inherit !important;
    padding: 0.15rem 0 !important;
    color: inherit !important;
    background-color: transparent !important;
    border-bottom: none !important;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}
