.editor-descricao {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    background: var(--bs-tertiary-bg);
}

.editor-descricao__ajuda {
    margin-bottom: 0.6rem;
    font-size: 0.875rem;
}

.editor-descricao__toolbar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.editor-descricao__tamanho {
    min-width: 9.5rem;
}

.editor-descricao__cores {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.editor-descricao__cor {
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    border: 2px solid var(--bs-border-color);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.editor-descricao__cor:hover,
.editor-descricao__cor:focus-visible {
    transform: scale(1.08);
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.editor-descricao__cor--vermelho {
    background: #dc3545;
}

.editor-descricao__cor--verde {
    background: #198754;
}

.editor-descricao__cor--azul {
    background: #0d6efd;
}

.editor-descricao__cor--amarelo {
    background: #ffc107;
}

.editor-descricao__exemplo {
    margin-top: 0.65rem;
    color: var(--bs-secondary-color);
    font-size: 0.8rem;
}

@media (max-width: 575.98px) {
    .editor-descricao__toolbar {
        align-items: stretch;
    }

    .editor-descricao__tamanho {
        flex: 1 1 100%;
    }

    .editor-descricao__tamanho .form-select {
        width: 100%;
    }
}
