/* ══════════════════════════════════════════════════════════════════
   CRM Rich Text Editor (Quill.js) Custom Styles
   ══════════════════════════════════════════════════════════════════ */
.crm-quill-field-wrapper {
    display: block !important;
    clear: both !important;
    margin-top: 0.35rem !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
}

.crm-quill-field-wrapper .ql-toolbar.ql-snow {
    border: 1px solid #cbd5e1 !important;
    border-bottom: none !important;
    background-color: #f8fafc !important;
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
    padding: 6px 10px !important;
}

.crm-quill-field-wrapper .ql-container.ql-snow {
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    border-bottom-left-radius: 0.5rem !important;
    border-bottom-right-radius: 0.5rem !important;
    font-family: inherit !important;
}

.crm-quill-field-wrapper .ql-editor {
    overflow-y: auto !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: #1e293b !important;
    padding: 12px 15px !important;
}

.crm-quill-field-wrapper .ql-editor.ql-blank::before {
    color: #94a3b8 !important;
    font-style: italic !important;
    left: 15px !important;
    right: 15px !important;
}

.crm-quill-field-wrapper:focus-within .ql-toolbar.ql-snow,
.crm-quill-field-wrapper:focus-within .ql-container.ql-snow {
    border-color: #1e40af !important;
}

.crm-quill-field-wrapper:focus-within .ql-container.ql-snow {
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.08) !important;
}
