/* Customizações para o menu do Trix Editor */
trix-toolbar {
    background: #f0f1f5;
    border-radius: 12px;
    border: none;
    box-shadow: none;
    padding: 8px 16px;
}

trix-toolbar .trix-button-group {
    gap: 6px;
}

trix-toolbar .trix-button {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 6px 10px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

trix-toolbar .trix-button:hover,
trix-toolbar .trix-button:focus {
    background: #e0e7ff;
    color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

trix-toolbar .trix-button--icon {
    opacity: 0.85;
}

trix-toolbar .trix-button--icon:hover {
    opacity: 1;
}

.trix-button-group--file-tools {
    display: none !important;
}

/* Estilização visual para listas dentro do Trix Editor */
trix-editor ul,
.trix-content ul {
    list-style-type: disc;
    margin-left: 2em;
    padding-left: 0.5em;
}

trix-editor ol,
.trix-content ol {
    list-style-type: decimal;
    margin-left: 2em;
    padding-left: 0.5em;
}

trix-editor li,
.trix-content li {
    margin-bottom: 0.4em;
    font-size: 1em;
    line-height: 1.6;
}

trix-editor h1,
.trix-content h1 {
    font-size: 1.5em;
    font-weight: 700;
    margin: 1em 0 0.5em 0;
    padding-bottom: 0.2em;
}

trix-editor h2,
.trix-content h2 {
    font-size: 1.25em;
    font-weight: 600;
    margin: 1em 0 0.5em 0;
    padding-bottom: 0.15em;
}

trix-editor h3,
.trix-content h3 {
    font-size: 1.1em;
    font-weight: 500;
    margin: 1em 0 0.5em 0;
    color: #6366f1;
}

trix-editor blockquote,
.trix-content blockquote {
    border-left: 4px solid #6366f1;
    background: #f3f4f6;
    margin: 1em 0 1em 0;
    padding: 0.7em 1em;
    font-style: italic;
    border-radius: 6px;

}